Пример #1
0
    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();
    }
Пример #2
0
Файл: s17.cs Проект: Fun33/code
 public s17()
 {
     try
     {
         SubMain.LoadXML("17.xml");
     }
     catch (Exception ex)
     {
         SubMain.MessageBox(ex.Message);
     }
 }
Пример #3
0
    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);
        }
    }
Пример #4
0
Файл: f2.cs Проект: Fun33/code
 public f2()
 {
     SubMain.LoadXML("f2.xml");
 }
Пример #5
0
Файл: fdoc.cs Проект: Fun33/code
 public fdoc()
 {
     SubMain.LoadXML("doc.xml");
 }