private void btnOrder_Click(object sender, EventArgs e) { if (dataGridView1.CurrentRow.Index > 0) { Form_KhachHang.classroomid = dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells[0].Value.ToString(); Form_KhachHang frm_kh = new Form_KhachHang(); frm_kh.ShowDialog(); } }
private void kháchHàngToolStripMenuItem_Click(object sender, EventArgs e) { Form_KhachHang kh = new Form_KhachHang(); kh.Show(); }