private void OnStartFilter_Executed(object sender, System.Windows.Input.ExecutedRoutedEventArgs e) { try { _Model.DoFilter(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void OnStartFilter_Executed(object sender, System.Windows.Input.ExecutedRoutedEventArgs e) { // MessageBox.Show(_Model.Now_CheckStrings); try { _Model.DoFilter();//調用DoFilter()方法,該方法已經在MainModel.cs中實現。 } catch (Exception ex) { MessageBox.Show(ex.Message); } }