private void ViewPluginBtn_Click(object sender, EventArgs e) { PluginForm dlg = new PluginForm(); dlg.PluginContext = SelectedPluginContext; dlg.ShowDialog(this); }