Inheritance: ReportEventArgs
Beispiel #1
0
        protected virtual void OnReportAdded(ReportAddedEventArgs e)
        {
            var handler = ReportAdded;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 private void ReportRepository_ReportAdded (object sender, ReportAddedEventArgs e)
 {
   AddReportViewModel (e.ReportName, e.Report);
 }
 protected virtual void OnReportAdded (ReportAddedEventArgs e)
 {
   var handler = ReportAdded;
   if (handler != null)
     handler (this, e);
 }