Ejemplo n.º 1
0
 private void Hstry_QuitMsgChanged(object sender, PropertyChangedEventArgs e)
 {
     if (hstry.QuitMsg == true)
     {
         WndContainer.Children.Remove(hstry);
         ActivationBlurEffect(false);
         WndBody.IsEnabled = true;
         LastFocus.Focus();
     }
 }
Ejemplo n.º 2
0
 private void ExitWnd_QuitMsgChanged(object sender, PropertyChangedEventArgs e)
 {
     if (exitWnd.QuitMsg)
     {
         WndContainer.Children.Remove(exitWnd);
         this.Close();
     }
     else
     {
         WndContainer.Children.Remove(exitWnd);
         ActivationBlurEffect(false);
         WndBody.IsEnabled = true;
         LastFocus.Focus();
     }
 }