コード例 #1
0
 protected override void OnCreateMainForm()
 {
     if (mainForm == null)
     {
         mainForm = new TabbedUI();
     }
     this.MainForm = mainForm;
 }
コード例 #2
0
        public SingleInstanceController(string[] filesToOpen)
        {
            this.IsSingleInstance = true;

            this.StartupNextInstance += new
                                        StartupNextInstanceEventHandler(this_StartupNextInstance);

            mainForm = new TabbedUI(filesToOpen);
        }