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