private void MissingBooksButton_OnClick(object sender, RoutedEventArgs e) { Task.Factory.StartNew ( () => { BookLogic.ListMissingBooks(); }, TaskCreationOptions.LongRunning ); }
private void Window_Closing(object sender, CancelEventArgs e) { BookLogic.Disconnect(); }
private void Window_Initialized(object sender, EventArgs e) { BookLogic.LogWindow = this; BookLogic.Connect(); }