コード例 #1
0
        public void LaunchMenuOptions(object ses, string menuID)
        {
            Session           session = ses as Session;
            LaunchFormOptions lfo     = new LaunchFormOptions();

            lfo.IsModal = false;
            ProcessCaller.LaunchForm(new ILauncher(session), menuID);
        }
コード例 #2
0
        public void LauncWithTracing(object mnuRow, object ses, object lfo, CommandLineParams o, Form me)
        {
            this.o = o;
            MenuDataSet.MenuRow menuRow = mnuRow as MenuDataSet.MenuRow;
            Session             session = ses as Session;
            LaunchFormOptions   opts    = lfo as LaunchFormOptions;

            opts.CallBackToken = "EpicorCustomizatoinCBT";
            opts.IsModal       = false;
            launchedForm       = me;
            CustomizationVerify cm = new CustomizationVerify(session);
            string dll             = cm.getDllName(o.Key2);

            ProcessCaller.ProcessCallBack += new ProcessCallBack(standardCallBackHandler);
            ProcessCaller.LaunchForm(new ILauncher(session), dll.Replace(".dll", ""), opts, true);

            TracingOptions.ShowTracingOptions(new Form(), session);
        }