import fonts.fontAwesome; import win.ui; /*DSG{{*/ mainForm = win.form(right=713;bottom=570;bgcolor=16777215;border="none") mainForm.add( custom={cls="custom";left=0;top=40;right=717;bottom=571;bgcolor=16777215;db=1;dl=1;dr=1;dt=1;z=1}; navFirst={cls="plus";text="主页";left=242;top=2;right=336;bottom=37;align="left";color=16777215;dl=1;dt=1;font=LOGFONT(h=-16);iconStyle={align="left";font=LOGFONT(h=-19;name='FontAwesome');padding={left=12;top=4}};iconText='\uF00A';notify=1;paddingLeft=1;paddingRight=1;paddingTop=3;textPadding={left=39;bottom=1};x=0.5;y=0.2;z=3}; navSetting={cls="plus";text="设置";left=368;top=2;right=462;bottom=37;align="left";color=16777215;dl=1;dt=1;font=LOGFONT(h=-16);iconStyle={align="left";font=LOGFONT(h=-19;name='FontAwesome');padding={left=12;top=4}};iconText='\uF0AD';notify=1;paddingLeft=1;paddingRight=1;paddingTop=3;textPadding={left=39;bottom=1};x=0.5;y=0.2;z=4}; titleBar={cls="bkplus";left=-326;top=-1;right=716;bottom=40;bgcolor=6318930;dl=1;dr=1;dt=1;forecolor=16777215;linearGradient=180;z=2} ) /*}}*/
import win.ui.simpleWindow; win.ui.simpleWindow( mainForm );
import win.ui.tabs; var tbs = win.ui.tabs( mainForm.navFirst, mainForm.navSetting ); tbs.loadForm(1,"\dlg\broadcast.aardio" ); tbs.loadForm(2,"\dlg\setting.aardio" ); tbs.preloadForm(2,true);
mainForm.tbs = tbs;
tbs.selIndex = 1; mainForm.show(); return win.loopMessage();
|