| | |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colPermission = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colIsIframe = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colIsHide = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colWeight = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colDescription = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | roleProjcetMenuViewModelBindingSource = new BindingSource(components); |
| | |
| | | // treeList1 |
| | | // |
| | | treeList1.CheckBoxFieldName = "Have"; |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colPermission, colIsIframe, colIsHide, colWeight, colDescription }); |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colPermission, colWeight, colDescription }); |
| | | treeList1.DataSource = roleProjcetMenuViewModelBindingSource; |
| | | treeList1.Dock = DockStyle.Fill; |
| | | treeList1.Location = new Point(0, 101); |
| | |
| | | colPermission.Visible = true; |
| | | colPermission.VisibleIndex = 1; |
| | | // |
| | | // colIsIframe |
| | | // |
| | | colIsIframe.FieldName = "IsIframe"; |
| | | colIsIframe.Name = "colIsIframe"; |
| | | colIsIframe.Visible = true; |
| | | colIsIframe.VisibleIndex = 2; |
| | | // |
| | | // colIsHide |
| | | // |
| | | colIsHide.FieldName = "IsHide"; |
| | | colIsHide.Name = "colIsHide"; |
| | | colIsHide.Visible = true; |
| | | colIsHide.VisibleIndex = 3; |
| | | // |
| | | // colWeight |
| | | // |
| | | colWeight.FieldName = "Weight"; |
| | | colWeight.Name = "colWeight"; |
| | | colWeight.Visible = true; |
| | | colWeight.VisibleIndex = 4; |
| | | colWeight.VisibleIndex = 2; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 5; |
| | | colDescription.VisibleIndex = 3; |
| | | // |
| | | // roleProjcetMenuViewModelBindingSource |
| | | // |
| | |
| | | barBtnRefresh.Id = 13; |
| | | barBtnRefresh.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnRefresh.ImageOptions.SvgImage"); |
| | | barBtnRefresh.Name = "barBtnRefresh"; |
| | | barBtnRefresh.ItemClick += barBtnRefresh_ItemClick; |
| | | // |
| | | // barBtnUp |
| | | // |
| | |
| | | private DevExpress.XtraTreeList.TreeList treeList1; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colName; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colPermission; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colIsIframe; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colIsHide; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colWeight; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colDescription; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit repositoryItemCheckedComboBoxEdit1; |