public Menu() { //************************************************************* // set SBO_Application with an initialized application object //************************************************************* //³s½u SetApplication(); //load menu SubMain.LoadXML("delmenu.xml"); //SubMain.LoadXML("addmenu.xml"); //SubMain.LoadXML("addmenu.xml"); //¥ý±¾,¥ý¶] SubMain.SBO_Application.MenuEvent += new SAPbouiCOM._IApplicationEvents_MenuEventEventHandler(SBO_MenuEvent); SubMain.SBO_Application.ItemEvent += new SAPbouiCOM._IApplicationEvents_ItemEventEventHandler(SBO_ItemEvent); SubMain.SBO_Application.AppEvent += new SAPbouiCOM._IApplicationEvents_AppEventEventHandler(SBO_AppEvent); //fdoc fdoc = new fdoc(); select f17 = new select(); //f22 f1 = new f22(); //f2 f2 = new f2(); //f2 f2222 = new f2(); //s22 f22 = new s22(); //frm2 f3 = new frm2(); //fdoc f4 = new fdoc(); //s17 f5 = new s17(); }
public s17() { try { SubMain.LoadXML("17.xml"); } catch (Exception ex) { SubMain.MessageBox(ex.Message); } }
public f17c() { try { SubMain.SBO_Application.ItemEvent += new SAPbouiCOM._IApplicationEvents_ItemEventEventHandler(SBO_ItemEvent); SubMain.LoadXML("f17.xml"); GetControl(); ItemLoad(); } catch (Exception ex) { SubMain.MessageBox(ex.Message); } }
public f2() { SubMain.LoadXML("f2.xml"); }
public fdoc() { SubMain.LoadXML("doc.xml"); }