private void ShowTinkerWindow() { if (!confirmedTinkerDisclaimer) { if (MessageBox.Show("Warning: This may have unintended side-effects and may cause harm to your computer, your family, and/or your mental health. PROCEED AT YOUR OWN RISK!", "Samsung Hotkeys", MessageBoxButton.OKCancel, MessageBoxImage.Warning) != MessageBoxResult.OK) return; confirmedTinkerDisclaimer = true; } if (tinkerWindow == null) { tinkerWindow = new BIOSTinkerWindow(biosInterface); tinkerWindow.Closed += TinkerWindow_Closed; tinkerWindow.Show(); } tinkerWindow.Activate(); }
private void ShowTinkerWindow() { if (!confirmedTinkerDisclaimer) { if (MessageBox.Show("Warning: This may have unintended side-effects and may cause harm to your computer, your family, and/or your mental health. PROCEED AT YOUR OWN RISK!", "Samsung Hotkeys", MessageBoxButton.OKCancel, MessageBoxImage.Warning) != MessageBoxResult.OK) { return; } confirmedTinkerDisclaimer = true; } if (tinkerWindow == null) { tinkerWindow = new BIOSTinkerWindow(biosInterface); tinkerWindow.Closed += TinkerWindow_Closed; tinkerWindow.Show(); } tinkerWindow.Activate(); }
private void TinkerWindow_Closed(object sender, EventArgs e) { tinkerWindow = null; }
private void TinkerWindow_Closed(object sender, EventArgs e) { tinkerWindow = null; }