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