示例#1
0
 private void taskListView_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == taskListView.Columns["Log"].Index)
     {
         LogDialog log_viewer = new LogDialog(tasks[e.RowIndex].Log);
         log_viewer.ShowDialog();
     }
 }
示例#2
0
 public void ParseDone(object source, TagParser.ParseDoneEventArgs ev)
 {
     writeButton.Enabled  = resultGroup != null;
     exportButton.Enabled = resultGroup != null;
     if (log.HighestSeverity >= MessageLog.Severity.Warning)
     {
         LogDialog dialog = new LogDialog(log);
         dialog.ShowDialog();
     }
 }