public static void showForm(IntPtr mainFormHandle, bool fromToolbar, int tabIndex) { if (mSettingsForm.IsDisposed) { mSettingsForm = new FormSettings(); } mSettingsForm.mMainFormHandle = mainFormHandle; mSettingsForm.isFromToolbar = fromToolbar; mSettingsForm.tabIndex = tabIndex; mSettingsForm.Show(); mSettingsForm.Focus(); }
public override void onSettingsButtonClick(object sender, EventArgs e) { base.onSettingsButtonClick(sender, e); FormSettings.showForm(this.Handle, false, 0); }
private static void HotkeyConflictOKClick(object sender, EventArgs e) { ((Control)sender).FindForm().Close(); FormSettings.showForm(Fixer4Main.MainForm.Handle, true, 1); }