private void DisplayAddinSettings(object sender, EventArgs e) { AddInSettingsForm addInSettingsForm = new AddInSettingsForm(); WinWrapper owner = new WinWrapper(this); addInSettingsForm.Connect = this; addInSettingsForm.ShowDialog(owner); }
/// <summary> /// Displays the addin settings. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void DisplayAddinSettings(object sender, EventArgs e) { AddInSettingsForm dlg = new AddInSettingsForm(); WinWrapper w = new WinWrapper(this); dlg.Connect = this; dlg.ShowDialog(w); }