private void buttonCancel_Click(object sender, EventArgs e) { this.Close(); if (agv != null) { agv.Close(); agv = null; } }
private void buttonAdd_Click(object sender, EventArgs e) { if (agv == null) { agv = new AddGiangVien(a); agv.Show(); agv = null; } }