| | |
| | | /// </summary> |
| | | public async void SetBindingData(long parentId) |
| | | { |
| | | var allList = await new Yw.BLL.ProjectMenu().GetByProjectID(GlobalParas._GlobalParas.ProjectID); |
| | | var allList = await new Yw.BLL.ProjectMenu().GetByProjectID(LoginUserInfo.ProjectID); |
| | | this.treeListLookUpEdit1TreeList.DataSource = allList; |
| | | this.imageComboBoxMenuType.Properties.AddEnum(typeof(eMenuType)); |
| | | this.imageComboBoxMenuType.SelectedIndex = 0; |
| | |
| | | AddProject.ParentID = this.ComboBoxEditParentsChoice.EditValue == null ? 0 : Convert.ToInt64(this.ComboBoxEditParentsChoice.EditValue); |
| | | AddProject.Type = (int)(eMenuType)this.imageComboBoxMenuType.EditValue; |
| | | AddProject.Permission = this.TxtEditPermission.Text.Trim(); |
| | | AddProject.ProjectID = GlobalParas._GlobalParas.ProjectID; |
| | | AddProject.SoftwareIds = new List<long> { GlobalParas._GlobalParas.SoftwareID }; |
| | | AddProject.ProjectID = LoginUserInfo.ProjectID; |
| | | AddProject.SoftwareIds = new List<long> { LoginUserInfo.SoftwareID }; |
| | | if (await this.ReloadDataEvent.Invoke(AddProject)) |
| | | { |
| | | TipFormHelper.ShowSucceed("添加成功!!"); |