Пример #1
0
        private void buttonOk_Click(object sender, EventArgs e)
        {
            Form_CONGVIEC frm = new Form_CONGVIEC(field_id.Text);

            frm.Show();
            this.Hide();
        }
Пример #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     if (a == "admin")
     {
         Form_CONGVIEC frm = new Form_CONGVIEC(chao.Text);
         frm.Show(this);
         this.Hide();
     }
     else
     {
         Form_CONGVIEC frm = new Form_CONGVIEC();
         frm.Show(this);
         this.Hide();
     }
 }