private void mnuBrand_Click(object sender, EventArgs e) { if (CheckMdiClientDuplicates("FrmBrand")) { return; } var objform = new FrmBrand { MdiParent = this, UserDetailModel = _UserDetailModel }; objform.Show(); _UserDetailModel.MenuName = "FrmBrand"; // objform.UserDetailModel = _UserDetailModel; objform.UserAuthentication(_UserDetailModel.ProfileId, _UserDetailModel.MenuName); radDock1.ActivateMdiChild(objform); }
private void mnuBrand_Click(object sender, EventArgs e) { if (CheckMdiClientDuplicates("FrmBrand")) return; var objform = new FrmBrand { MdiParent = this, UserDetailModel = _UserDetailModel }; objform.Show(); _UserDetailModel .MenuName = "FrmBrand"; // objform.UserDetailModel = _UserDetailModel; objform.UserAuthentication(_UserDetailModel.ProfileId, _UserDetailModel.MenuName); radDock1.ActivateMdiChild(objform); }