void this_StartupNextInstance(object sender, StartupNextInstanceEventArgs e) { mEditor form = MainForm as mEditor; //My derived form type form.Activate(); form.CreateTab(e.CommandLine[1]); }
protected override void OnCreateMainForm() { MainForm = new mEditor(fname); }