| | |
| | | btnImportProject.ImageOptions.ImageToTextAlignment = ImageAlignToText.LeftCenter; |
| | | btnImportProject.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnImportProject.ImageOptions.SvgImage"); |
| | | btnImportProject.ImageOptions.SvgImageSize = new Size(24, 24); |
| | | btnImportProject.Location = new Point(0, 607); |
| | | btnImportProject.Location = new Point(0, 612); |
| | | btnImportProject.Name = "btnImportProject"; |
| | | btnImportProject.Size = new Size(235, 28); |
| | | btnImportProject.Size = new Size(235, 23); |
| | | btnImportProject.StyleController = layoutControl1; |
| | | btnImportProject.TabIndex = 6; |
| | | btnImportProject.Text = "导入项目"; |
| | |
| | | treeList1.OptionsMenu.EnableNodeMenu = false; |
| | | treeList1.OptionsSelection.EnableAppearanceFocusedCell = false; |
| | | treeList1.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None; |
| | | treeList1.OptionsView.RowImagesShowMode = DevExpress.XtraTreeList.RowImagesShowMode.InIndent; |
| | | treeList1.OptionsView.ShowIndentAsRowStyle = true; |
| | | treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); |
| | | treeList1.Size = new Size(235, 581); |
| | | treeList1.StateImageList = imageCollection1; |
| | | treeList1.SelectImageList = imageCollection1; |
| | | treeList1.Size = new Size(235, 586); |
| | | treeList1.TabIndex = 5; |
| | | treeList1.TreeViewFieldName = "Name"; |
| | | treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; |
| | | treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; |
| | | treeList1.DoubleClick += treeList1_DoubleClick; |
| | |
| | | // colName |
| | | // |
| | | colName.AppearanceCell.Options.UseTextOptions = true; |
| | | colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; |
| | | colName.Caption = "名称"; |
| | | colName.FieldName = "Name"; |
| | | colName.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colName.ImageOptions.SvgImage"); |
| | |
| | | layoutControlItem2.Location = new Point(0, 23); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 1, 1); |
| | | layoutControlItem2.Size = new Size(235, 583); |
| | | layoutControlItem2.Size = new Size(235, 588); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = btnImportProject; |
| | | layoutControlItem3.Location = new Point(0, 606); |
| | | layoutControlItem3.MaxSize = new Size(0, 30); |
| | | layoutControlItem3.MinSize = new Size(100, 30); |
| | | layoutControlItem3.Location = new Point(0, 611); |
| | | layoutControlItem3.MaxSize = new Size(0, 25); |
| | | layoutControlItem3.MinSize = new Size(82, 25); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 1, 1); |
| | | layoutControlItem3.Size = new Size(235, 30); |
| | | layoutControlItem3.Size = new Size(235, 25); |
| | | layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem3.TextSize = new Size(0, 0); |
| | | layoutControlItem3.TextVisible = false; |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnRefresh; |
| | | private DevExpress.Utils.ImageCollection imageCollection1; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | } |
| | | } |