Exemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Hide();
            FormCashier frmCashier = new FormCashier();

            frmCashier.ShowDialog();
            Close();
        }
Exemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (radioButton1.Checked)
     {
         Hide();
         FormAdminOption formAdmin = new FormAdminOption();
         formAdmin.ShowDialog();
         Close();
     }
     else if (radioButton2.Checked)
     {
         Hide();
         FormCashier formStat = new FormCashier();
         formStat.ShowDialog();
         Close();
     }
     else
     {
         message.MessageOk("Необходимо выбрать хотя бы 1 из пунктов", "Error 1");
     }
 }