Beispiel #1
0
 private void CreateNew(object sender, RoutedEventArgs e)
 {
     if (file.SaveCheck())
     {
         file             = new TxtFile();
         this.DataContext = file;
     }
 }
Beispiel #2
0
 private void Application_Exit(object sender, ExitEventArgs e)
 {
     file.SaveCheck();
 }