import fonts.fontAwesome;
import win.ui;
/*DSG{{*/
mainForm = win.form(text="${PROJECTNAME}";right=1019;bottom=679;bgcolor=16777215;border="none")
mainForm.add(
caption={cls="bkplus";text="${PROJECTNAME}";left=67;top=9;right=185;bottom=27;color=6052956;dl=1;dt=1;font=LOGFONT(h=-14);z=7};
custom={cls="custom";left=83;top=40;right=1022;bottom=679;bgcolor=16777215;db=1;dl=1;dr=1;dt=1;z=4};
logo={cls="bkplus";text='\uF0D1';left=35;top=7;right=64;bottom=32;color=${templateColor_logo_color};dl=1;dt=1;font=LOGFONT(h=-18;name='FontAwesome');z=6};
nav1={cls="plus";text="首页";left=0;top=48;right=85;bottom=128;bkBottom=3;bkLeft=7;bkRight=8;bkTop=2;border={color=-65536};color=16777215;dl=1;dt=1;font=LOGFONT(h=-13);iconStyle={font=LOGFONT(h=-37;name='FontAwesome');padding={bottom=20}};iconText='\uF007';notify=1;textPadding={bottom=10};valign="bottom";x=0.5;y=0.20000000298023;z=3};
nav2={cls="plus";text="关于";left=0;top=129;right=85;bottom=209;bkBottom=3;bkLeft=7;bkRight=8;bkTop=2;border={color=-65536};color=16777215;dl=1;dt=1;font=LOGFONT(h=-13);iconStyle={font=LOGFONT(h=-37;name='FontAwesome');padding={bottom=20}};iconText='\uF086';notify=1;textPadding={bottom=10};valign="bottom";x=0.5;y=0.20000000298023;z=5};
navBar={cls="bkplus";left=0;top=37;right=83;bottom=681;bgcolor=${templateColor_navBar_bgcolor};db=1;dl=1;dt=1;z=1};
titleBar={cls="bkplus";left=0;top=0;right=1022;bottom=38;bgcolor=${templateColor_titleBar_bgcolor};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.nav1,
	mainForm.nav2,
);

tbs.skin({
	background={
		active=0xFFFFFFFF;
		default=0x00FFFFFF;
		hover=0x38FFFFFF
	};
	color={
		default=0xFFFFFFFF; 
	};
	checked={
		background={default=0xFFFFFFFF;};
		color={default=${templateColor_navButton_color};};
	}
})

tbs.add({
	text="反馈";
	iconText='\uF0E0';
})

tbs.loadForm(1,"\forms\main\frmPage1.aardio" );
tbs.loadForm(2,"\forms\main\frmPage2.aardio" );
tbs.loadForm(3,"\forms\main\frmPage3.aardio" );

tbs.selIndex = 1;

mainForm.show();
return win.loopMessage(); 
