private void LoadDataBases() { try { cbDbs.ItemsSource = DBEngine.All(); } catch (Exception ex) { MessageBox.Show(ex.Message, "错误", MessageBoxButton.OK, MessageBoxImage.Error); } }