コード例 #1
0
 private void OnErrorOccurred(ErrorEventArgs e)
 {
     EventHandler<ErrorEventArgs> handler = ErrorOccurred;
     if (handler != null) handler(this, e);
 }
コード例 #2
0
 private void ErrorOccurredHandler(object sender, ErrorEventArgs e)
 {
     _model.AbortTreeBuilding();
     _view.ShowError(e.ErrorMessage, e.Exception != null ? e.Exception.Message : null, Thread.CurrentThread.Name);
     _view.ResetFilesTree();
 }
コード例 #3
0
 private void ErrorOccurredHandler(object sender, ErrorEventArgs e)
 {
     OnErrorOccurred(e);
 }