public static void StaticClose() { if (_sTheOneAccessibilityCheckerWindow != null) { _sTheOneAccessibilityCheckerWindow.Close(); _sTheOneAccessibilityCheckerWindow = null; } }
public static void StaticShow(Action onWindowActivated) { if (_sTheOneAccessibilityCheckerWindow == null) { _sTheOneAccessibilityCheckerWindow = new AccessibilityCheckWindow(onWindowActivated); _sTheOneAccessibilityCheckerWindow.Show(); } else { _sTheOneAccessibilityCheckerWindow.BringToFront(); } }
private void AccessibilityCheckWindow_FormClosed(object sender, FormClosedEventArgs e) { _sTheOneAccessibilityCheckerWindow = null; }