private void btn_picking_Click(object sender, EventArgs e)
 {
     if (login == false)
     {
         string res = MessageBox.Show("Desea Cambiar de PICKING ?", "Aviso", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2).ToString();
         if (res == "Yes")
         {
             frm_supervisor f1 = new frm_supervisor();
             this.Visible = false;
             f1.ShowDialog();
             if (f1.ok == true)
             {
                 frm_seleccionar_picking f = new frm_seleccionar_picking();
                 this.Close();
                 f.Show();
             }
             else
             {
                 this.Visible = true;
             }
         }
     }
     else
     {
         frm_seleccionar_picking f = new frm_seleccionar_picking();
         f.login = true;
         this.Close();
         f.Show();
     }
 }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            frm_seleccionar_picking f = new frm_seleccionar_picking();

            f.login = true;
            this.Close();
            f.Show();
        }