public frmAltaPlan(frmAbmPlanes abmPlanes, bool agregado, string texto = "", byte estado = 1)
 {
     InitializeComponent();
     this.abmPlanes = abmPlanes;
     this.Agregado  = agregado;
     if (agregado == false)
     {
         this.textBox1.Text = texto;
         if (estado == 1)
         {
             this.chbBaja.Checked = false;
         }
         else
         {
             this.chbBaja.Checked = true;
         }
     }
 }
Esempio n. 2
0
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     this.abmPlanes = new frmAbmPlanes(this);
     this.Enabled   = false;
     this.abmPlanes.Show();
 }