private void MenuSetting_Click(object sender, EventArgs e) { frm_61_Setting frm1 = new frm_61_Setting(); int indexForm = LayVitriForm(this, frm1.GetType()); if (indexForm != -1) { frm1 = this.MdiChildren[indexForm] as frm_61_Setting; frm1.BringToFront(); } else { frm1.MdiParent = this; frm1.WindowState = FormWindowState.Normal; frm1.Show(); } }
private void btnCaiDatThongSo_Click(object sender, EventArgs e) { frm_61_Setting frm1 = new frm_61_Setting(); frm1.ShowDialog(); }