private void btnXemDiem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { Form frm = this.CheckExists(typeof(frmXemDiem)); if (frm != null) { frm.Activate(); } else { frmXemDiem f = new frmXemDiem(); f.MdiParent = this; f.Show(); } }
private void xemDiemToolStripMenuItem_Click(object sender, EventArgs e) { frmXemDiem frm = new frmXemDiem(); frm.Show(); }