forward
global type w_main from window
end type
type mdi_1 from mdiclient within w_main
end type
type dw_status_bar from datawindow within w_main
end type
end forward
global type w_main from window
integer width = 3328
integer height = 2048
boolean titlebar = true
string title = "油品管理信息系统--防伪税控接口软件"
string menuname = "main_menu"
boolean controlmenu = true
boolean minbox = true
boolean maxbox = true
boolean resizable = true
windowtype windowtype = mdi!
windowstate windowstate = maximized!
long backcolor = 67108864
string icon = "AppIcon!"
boolean center = true
mdi_1 mdi_1
dw_status_bar dw_status_bar
end type
global w_main w_main
on w_main.create
if this.MenuName = "main_menu" then this.MenuID = create main_menu
this.mdi_1=create mdi_1
this.dw_status_bar=create dw_status_bar
this.Control[]={this.mdi_1,&
this.dw_status_bar}
end on
on w_main.destroy
if IsValid(MenuID) then destroy(MenuID)
destroy(this.mdi_1)
destroy(this.dw_status_bar)
end on