private void button3_Click(object sender, EventArgs e) { Form_BAOCAOTONGHOP frm = new Form_BAOCAOTONGHOP(field_id.Text); frm.Show(); this.Hide(); }
private void button7_Click(object sender, EventArgs e) { if (a == "admin") { Form_BAOCAOTONGHOP frm = new Form_BAOCAOTONGHOP(chao.Text); frm.Show(this); this.Hide(); } else { Form_BAOCAOTONGHOP frm = new Form_BAOCAOTONGHOP(); frm.Show(); this.Hide(); } }