Esempio n. 1
0
 private void estratosTsm_Click(object sender, EventArgs e)
 {
     try
     {
         Estratos_Form childForm = new Estratos_Form();
         childForm.MdiParent = this;
         childForm.Show();
     }
     catch (Exception ex)
     {
         Error_Form er = new Error_Form(ex.Message);
         er.MdiParent = this;
         er.Show();
     }
 }
Esempio n. 2
0
 private void crearEstratoBtn_Click(object sender, EventArgs e)
 {
     try
      {
          Estratos_Form childForm = new Estratos_Form();
          childForm.Btn_nuevoEstratoForm_Click(sender, e, "proyecto");
          childForm.ShowDialog(this);
          estratoBS.DataSource = stratum.GetStratums();
          estratoDGW.DataSource = estratoBS;
          especiesDGW.Refresh();
      }
      catch (Exception ex)
      {
          Error_Form er = new Error_Form(ex.Message);
          er.Show();
      }
 }