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