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