コード例 #1
0
ファイル: ActivityReporter.cs プロジェクト: ewcasas/DVTK
 public void ReportActivity(
     Wrappers.WrappedValidationMessageLevel activityReportLevel,
     System.String message)
 {
     ActivityReportEventArgs e =
         new ActivityReportEventArgs(_Convert(activityReportLevel), message);
     this.m_parentSession._OnActivityReport(e);
 }
コード例 #2
0
ファイル: Session.cs プロジェクト: ewcasas/DVTK
 //
 // The protected OnProgress method raises the event by invoking
 // the delegates. The sender is always this, the current instance
 // of the class.
 //
 internal void _OnActivityReport(ActivityReportEventArgs e)
 {
     // Invoke the delegates
     if (ActivityReportEvent != null)
         ActivityReportEvent(this, e);
 }