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