private void buttonOk_Click(object sender, EventArgs e) { Form_CONGVIEC frm = new Form_CONGVIEC(field_id.Text); frm.Show(); this.Hide(); }
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(); } }