private void CloseWindow(ICloseable window) { Blocker.TurnOffRepeatAlarm(); closingAllowed = true; if (window != null) { window.Close(); } }
private void pressConfirmBtn(Object obj) { Blocker.TurnOffRepeatAlarm(); CoverVisiblity = Visibility.Collapsed; }