Пример #1
0
 private void MissingBooksButton_OnClick(object sender, RoutedEventArgs e)
 {
     Task.Factory.StartNew
     (
         () =>
     {
         BookLogic.ListMissingBooks();
     },
         TaskCreationOptions.LongRunning
     );
 }
Пример #2
0
 private void Window_Closing(object sender, CancelEventArgs e)
 {
     BookLogic.Disconnect();
 }
Пример #3
0
 private void Window_Initialized(object sender, EventArgs e)
 {
     BookLogic.LogWindow = this;
     BookLogic.Connect();
 }