void PresetContentBtnClick(object sender, System.EventArgs e) { var dlg = new InvestigatedPluginPresetDetailsForm(); dlg.PluginContext = this.PluginContext; dlg.InvestigatedPluginPresetFileFormatList = ((HostCommandStub)PluginContext.HostCommandStub).InvestigatedPluginPresetFileFormatList; //dlg.ShowDialog(this); // modal dlg.Show(); // modeless }
void PresetContentBtnClick(object sender, System.EventArgs e) { InvestigatedPluginPresetDetailsForm dlg = new InvestigatedPluginPresetDetailsForm(); dlg.PluginContext = this.PluginContext; dlg.InvestigatedPluginPresetFileFormatList = ((HostCommandStub) PluginContext.HostCommandStub).InvestigatedPluginPresetFileFormatList; //dlg.ShowDialog(this); // modal dlg.Show(); // modeless }