| | |
| | | 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.SelectImageList = imageCollection1; |
| | | treeList1.Size = new Size(235, 586); |
| | |
| | | // 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"); |
| | |
| | | // |
| | | imageCollection1.ImageStream = (DevExpress.Utils.ImageCollectionStreamer)resources.GetObject("imageCollection1.ImageStream"); |
| | | imageCollection1.Images.SetKeyName(0, "NotImported.png"); |
| | | imageCollection1.Images.SetKeyName(1, "Imported.png"); |
| | | // |
| | | // searchControl1 |
| | | // |