private void btnInfo_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { Form frm = this.checkExist(typeof(frmShop)); if (frm != null) { frm.Activate(); } else { frmShop f = new frmShop(); f.MdiParent = this; f.Show(); } }