private void tsmiValidationReport_Click(object sender, EventArgs e) { if (this.ActiveView != null) { FormReport fr = new FormReport(this.ActiveView.File); fr.ShowDialog(); } }
/// <summary> /// Finished processing /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void bgwProcess_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { FormMain frmMain = this.MdiParent as FormMain; if (frmMain != null) { frmMain.EnableUI(true); } this.prbProcessing.Visible = false; this.splitMain.Visible = true; FillTree(); this.tabMain.SelectedIndex = 0; FormReport fr = new FormReport(this.m_MXFFile); fr.ShowDialog(frmMain); }