Exemplo n.º 1
0
        void ToolStripMenuItem2Click(object sender, EventArgs e)
        {
            AgregarAdmin Aadmin = new AgregarAdmin();

            Aadmin.Owner = this;
            Aadmin.ShowDialog();
        }
Exemplo n.º 2
0
 void Button3Click(object sender, EventArgs e)
 {
     if (radioButton1.Checked == true)
     {
         if (comboBox1.Text == "Agregar...")
         {
             AgregarCajero Acajero = new AgregarCajero();
             Acajero.Show();
         }
         else if (comboBox1.Text == "")
         {
             MessageBox.Show("Elija una accion a realizar", "ERROR");
         }
     }
     if (radioButton2.Checked == true)
     {
         if (comboBox1.Text == "Agregar...")
         {
             AgregarAdmin Aadmin = new AgregarAdmin();
             Aadmin.Show();
         }
         else if (comboBox1.Text == "")
         {
             MessageBox.Show("Elija una accion a realizar", "ERROR");
         }
         else if (comboBox1.Text == "Editar...")
         {
             EditarCajero Edcajero = new EditarCajero();
             Edcajero.Show();
         }
         else if (comboBox1.Text == "Eliminar...")
         {
         }
     }
 }
Exemplo n.º 3
0
 void ToolStripMenuItem2Click(object sender, EventArgs e)
 {
     AgregarAdmin Aadmin = new AgregarAdmin();
         Aadmin.Owner = this;
         Aadmin.ShowDialog();
 }