Ejemplo n.º 1
0
 public ProgressForm(ForeachForm p, string Name)
 {
     FEParent = p;
     utcStart = DateTime.UtcNow;
     InitializeComponent();
     this.Text = Name;
 }
Ejemplo n.º 2
0
 private void forEachToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         if (LeftDS.isConnected() == true && RightDS.isConnected() == true)
         {
             if (CenterFE == null)
             {
                 CenterFE = new ForeachForm(LeftDS, RightDS);
             }
             else if (CenterFE.Visible == false)
             {
                 CenterFE = new ForeachForm(LeftDS, RightDS);
             }
             CenterFE.MdiParent = this;
             CenterFE.Show();
             CenterFE.Focus();
         }
     } catch (Exception err) {
         errorLog(System.Reflection.MethodBase.GetCurrentMethod().Name, err);
     }
 }