void main() { int gd=DETECT,gm; int sx,sy,ex,ey; initgraph(&gd,&gm,""); sx=15; sy=10; ex=630; ey=470; mainform(sx,sy,ex,ey); windowborder(sx,sy,ex,ey); controls(); getch(); }
void wmain1(int argc, char *argv[]) { WApplication app(argc, argv); app.setTitle("Email Set"); new WText("<SCRIPT language='JavaScript' src='/basic.js'></SCRIPT>", app.root()); new WText("<div id='view_panel' class='panel_view'>", app.root()); CMainForm mainform(app.root()); mainform.appSelf = &app; app.setBodyAttribute(" class='workbody'"); new WText("</div>", app.root()); AddJsParam("uistyle", "viewpanandlist", app.root()); AddJsParam("fullstyle", "true", app.root()); AddJsParam("bGeneral", "false", app.root()); new WText("<SCRIPT language='JavaScript' src='/Script.js'></SCRIPT>", app.root()); app.exec(); }