private void btnDashboard_ItemClick(object sender, ItemClickEventArgs e) { Waiting.ShowWaitForm(); if (!Class.App.IsFocusForm(typeof(Forms.frmHome), this)) { Forms.frmHome frm = new Forms.frmHome(); frm.MdiParent = this; frm.Show(); } Waiting.CloseWaitForm(); }