| | |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | ribPageGroupForMore = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colType = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | 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(); |
| | | colType = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | ColPermission = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | menuViewModelBindingSource = new BindingSource(components); |
| | | behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); |
| | | dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); |
| | | colWeight = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImgC32).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); |
| | |
| | | // treeList1 |
| | | // |
| | | behaviorManager1.SetBehaviors(treeList1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraTreeList.TreeListDragDropSource), true, true, true, false, dragDropEvents1) }); |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colType, colName, colPermission, colIsIframe, colIsHide, colWeight, colDescription }); |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colDescription, colType, ColPermission }); |
| | | treeList1.DataSource = menuViewModelBindingSource; |
| | | treeList1.Dock = DockStyle.Fill; |
| | | treeList1.Location = new Point(0, 101); |
| | | treeList1.MenuManager = ribbonControl1; |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.OptionsBehavior.PopulateServiceColumns = true; |
| | | treeList1.OptionsView.ShowTreeLines = DevExpress.Utils.DefaultBoolean.True; |
| | | treeList1.Size = new Size(932, 372); |
| | | treeList1.TabIndex = 2; |
| | | // |
| | | // colType |
| | | // |
| | | colType.FieldName = "Type"; |
| | | colType.Name = "colType"; |
| | | colType.Visible = true; |
| | | colType.VisibleIndex = 0; |
| | | // |
| | | // colName |
| | | // |
| | | colName.AppearanceCell.Options.UseTextOptions = true; |
| | | colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 1; |
| | | // |
| | | // colPermission |
| | | // |
| | | colPermission.FieldName = "Permission"; |
| | | colPermission.Name = "colPermission"; |
| | | colPermission.Visible = true; |
| | | colPermission.VisibleIndex = 2; |
| | | // |
| | | // colIsIframe |
| | | // |
| | | colIsIframe.FieldName = "IsIframe"; |
| | | colIsIframe.Name = "colIsIframe"; |
| | | colIsIframe.Visible = true; |
| | | colIsIframe.VisibleIndex = 3; |
| | | // |
| | | // colIsHide |
| | | // |
| | | colIsHide.FieldName = "IsHide"; |
| | | colIsHide.Name = "colIsHide"; |
| | | colIsHide.Visible = true; |
| | | colIsHide.VisibleIndex = 4; |
| | | // |
| | | // colWeight |
| | | // |
| | | colWeight.FieldName = "Weight"; |
| | | colWeight.Name = "colWeight"; |
| | | colWeight.Visible = true; |
| | | colWeight.VisibleIndex = 5; |
| | | colName.VisibleIndex = 0; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 6; |
| | | colDescription.VisibleIndex = 3; |
| | | // |
| | | // colType |
| | | // |
| | | colType.Caption = "类型"; |
| | | colType.FieldName = "Type"; |
| | | colType.Name = "colType"; |
| | | colType.Visible = true; |
| | | colType.VisibleIndex = 1; |
| | | // |
| | | // ColPermission |
| | | // |
| | | ColPermission.Caption = "权限标识"; |
| | | ColPermission.FieldName = "Permission"; |
| | | ColPermission.Name = "ColPermission"; |
| | | ColPermission.Visible = true; |
| | | ColPermission.VisibleIndex = 2; |
| | | // |
| | | // menuViewModelBindingSource |
| | | // |
| | |
| | | // dragDropEvents1 |
| | | // |
| | | dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; |
| | | // |
| | | // colWeight |
| | | // |
| | | colWeight.FieldName = "Weight"; |
| | | colWeight.Name = "colWeight"; |
| | | colWeight.Visible = true; |
| | | colWeight.VisibleIndex = 2; |
| | | // |
| | | // MenuMgrPage |
| | | // |
| | |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribPageGroupForMore; |
| | | private DevExpress.XtraTreeList.TreeList treeList1; |
| | | private DevExpress.Utils.Behaviors.BehaviorManager behaviorManager1; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colType; |
| | | 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 BindingSource menuViewModelBindingSource; |
| | | private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colType; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colWeight; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn ColPermission; |
| | | } |
| | | } |