public ProgressForm(ChunkForm p, string Name) { ChkParent = p; utcStart = DateTime.UtcNow; InitializeComponent(); this.Text = Name; }
private void chunkToolStripMenuItem_Click(object sender, EventArgs e) { try { if (LeftDS.isConnected() == true && RightDS.isConnected() == true) { if (CentercHK == null) { CentercHK = new ChunkForm(LeftDS, RightDS); } else if (CenterFE.Visible == false) { CentercHK = new ChunkForm(LeftDS, RightDS); } CentercHK.MdiParent = this; CentercHK.Show(); CentercHK.Focus(); } } catch (Exception err) { errorLog(System.Reflection.MethodBase.GetCurrentMethod().Name, err); } }