Beispiel #1
0
        private void mmFileShowLog_Click(object sender, EventArgs e)
        {
            var service = ServiceContainer.getService <IReportService>();

            if (service.LastRunLog == null)
            {
                return;
            }

            using (var dlg = new RunLogReport()) {
                dlg.AttachLog(service.LastRunLog);
                dlg.ShowDialog(this);
            }
        }
Beispiel #2
0
 private void mmFileShowLog_Click(object sender, EventArgs e)
 {
     var service = ServiceContainer.getService<IReportService>();
     if (service.LastRunLog == null)
     {
         return;
     }
     
     using (var dlg = new RunLogReport()) {
         dlg.AttachLog(service.LastRunLog);
         dlg.ShowDialog(this);
     }
 }