private void barbtnSetting_ItemClick(object sender, ItemClickEventArgs e) { foreach (var x in MdiChildren) { if (x is From_CauHinh.FromCauHinh) { return; } } var frm = new From_CauHinh.FromCauHinh() { MdiParent = this }; frm.Show(); frm.Activate(); }
private void barbtnSetting_ItemClick(object sender, ItemClickEventArgs e) { From_CauHinh.FromCauHinh fsetting = new From_CauHinh.FromCauHinh(); fsetting.Show(); }