public void SaveOrder() { if (SupplyOrder.AddSupplyOrder(_newOrder)) { MessageBox.Show("Successfully Added", "Information", MessageBoxButton.OK, MessageBoxImage.Information); InitializeNewOrder(); SearchComboBox.Focus(); NotifyObservers(); } else { MessageBox.Show("Not Added", "Error", MessageBoxButton.OK, MessageBoxImage.Error); } }
private void FindSymbolControl_Loaded(object sender, System.Windows.RoutedEventArgs e) { SearchComboBox.Focus(); }