|
|
|
|
namespace Kingo.Plugin.MapView.Views.DataCalalog
|
|
|
|
|
{
|
|
|
|
|
partial class UCLayerTree
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 必需的设计器变量。
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 清理所有正在使用的资源。
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
|
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCLayerTree));
|
|
|
|
|
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
|
|
|
|
this.LayerName = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.btnLayerName = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
|
|
|
|
|
this.colLayerName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
|
|
|
|
|
this.txtLayerName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
|
|
|
|
|
this.Id = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.ParentId = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.LayerVisible = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.chkLayerVisible = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
|
|
this.LayerSelectable = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.chkLayerSelectable = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
|
|
this.LayerEditable = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.chkLayerEditable = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
|
|
this.imageCollection = new DevExpress.Utils.ImageCollection(this.components);
|
|
|
|
|
this.LayerType = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.trlProject = new DevExpress.XtraTreeList.TreeList();
|
|
|
|
|
this.colSymbol = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.repositoryItemPictureEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();
|
|
|
|
|
this.LayerTransparency = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit();
|
|
|
|
|
this.NodeExpanded = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
|
|
|
this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
|
|
this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
|
|
|
|
|
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
this.popMapMenu = new DevExpress.XtraBars.PopupMenu(this.components);
|
|
|
|
|
this.popGroupMenu = new DevExpress.XtraBars.PopupMenu(this.components);
|
|
|
|
|
this.popLayerMenu = new DevExpress.XtraBars.PopupMenu(this.components);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.btnLayerName)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.colLayerName)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtLayerName)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.chkLayerVisible)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.chkLayerSelectable)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.chkLayerEditable)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.imageCollection)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.trlProject)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.popMapMenu)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.popGroupMenu)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.popLayerMenu)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// LayerName
|
|
|
|
|
//
|
|
|
|
|
this.LayerName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 8F);
|
|
|
|
|
this.LayerName.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.LayerName.AppearanceCell.Options.UseTextOptions = true;
|
|
|
|
|
this.LayerName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
|
|
|
|
|
this.LayerName.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
|
|
|
|
this.LayerName.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
|
|
|
|
|
this.LayerName.AppearanceHeader.Options.UseTextOptions = true;
|
|
|
|
|
this.LayerName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
|
|
|
this.LayerName.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
|
|
|
|
|
this.LayerName.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
|
|
|
|
|
this.LayerName.Caption = "图层";
|
|
|
|
|
this.LayerName.ColumnEdit = this.btnLayerName;
|
|
|
|
|
this.LayerName.FieldName = "LayerName";
|
|
|
|
|
this.LayerName.MinWidth = 54;
|
|
|
|
|
this.LayerName.Name = "LayerName";
|
|
|
|
|
this.LayerName.OptionsColumn.ReadOnly = true;
|
|
|
|
|
this.LayerName.UnboundType = DevExpress.XtraTreeList.Data.UnboundColumnType.String;
|
|
|
|
|
this.LayerName.Visible = true;
|
|
|
|
|
this.LayerName.VisibleIndex = 0;
|
|
|
|
|
this.LayerName.Width = 210;
|
|
|
|
|
//
|
|
|
|
|
// btnLayerName
|
|
|
|
|
//
|
|
|
|
|
this.btnLayerName.AutoHeight = false;
|
|
|
|
|
this.btnLayerName.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
|
|
|
this.btnLayerName.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
|
|
this.btnLayerName.Name = "btnLayerName";
|
|
|
|
|
this.btnLayerName.ReadOnly = true;
|
|
|
|
|
this.btnLayerName.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
|
|
|
|
|
this.btnLayerName.Click += new System.EventHandler(this.btnLayerName_Click);
|
|
|
|
|
this.btnLayerName.DoubleClick += new System.EventHandler(this.btnLayerName_DoubleClick);
|
|
|
|
|
//
|
|
|
|
|
// colLayerName
|
|
|
|
|
//
|
|
|
|
|
this.colLayerName.AllowFocused = false;
|
|
|
|
|
this.colLayerName.AllowMouseWheel = false;
|
|
|
|
|
this.colLayerName.AutoHeight = false;
|
|
|
|
|
this.colLayerName.Name = "colLayerName";
|
|
|
|
|
this.colLayerName.ReadOnly = true;
|
|
|
|
|
this.colLayerName.DoubleClick += new System.EventHandler(this.colLayerName_DoubleClick);
|
|
|
|
|
//
|
|
|
|
|
// txtLayerName
|
|
|
|
|
//
|
|
|
|
|
this.txtLayerName.Name = "txtLayerName";
|
|
|
|
|
//
|
|
|
|
|
// Id
|
|
|
|
|
//
|
|
|
|
|
this.Id.Caption = "节点编号";
|
|
|
|
|
this.Id.FieldName = "NodeID";
|
|
|
|
|
this.Id.MinWidth = 245;
|
|
|
|
|
this.Id.Name = "Id";
|
|
|
|
|
this.Id.Width = 245;
|
|
|
|
|
//
|
|
|
|
|
// ParentId
|
|
|
|
|
//
|
|
|
|
|
this.ParentId.Caption = "父节点编号";
|
|
|
|
|
this.ParentId.FieldName = "NodePID";
|
|
|
|
|
this.ParentId.MinWidth = 245;
|
|
|
|
|
this.ParentId.Name = "ParentId";
|
|
|
|
|
this.ParentId.Width = 245;
|
|
|
|
|
//
|
|
|
|
|
// LayerVisible
|
|
|
|
|
//
|
|
|
|
|
this.LayerVisible.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 8F);
|
|
|
|
|
this.LayerVisible.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.LayerVisible.Caption = " ";
|
|
|
|
|
this.LayerVisible.ColumnEdit = this.chkLayerVisible;
|
|
|
|
|
this.LayerVisible.FieldName = "Visible";
|
|
|
|
|
this.LayerVisible.Image = ((System.Drawing.Image)(resources.GetObject("LayerVisible.Image")));
|
|
|
|
|
this.LayerVisible.ImageAlignment = System.Drawing.StringAlignment.Center;
|
|
|
|
|
this.LayerVisible.MinWidth = 30;
|
|
|
|
|
this.LayerVisible.Name = "LayerVisible";
|
|
|
|
|
this.LayerVisible.ToolTip = "显示/隐藏图层";
|
|
|
|
|
this.LayerVisible.UnboundType = DevExpress.XtraTreeList.Data.UnboundColumnType.Boolean;
|
|
|
|
|
this.LayerVisible.Width = 32;
|
|
|
|
|
//
|
|
|
|
|
// chkLayerVisible
|
|
|
|
|
//
|
|
|
|
|
this.chkLayerVisible.Appearance.Options.UseImage = true;
|
|
|
|
|
this.chkLayerVisible.AutoHeight = false;
|
|
|
|
|
this.chkLayerVisible.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.UserDefined;
|
|
|
|
|
this.chkLayerVisible.Name = "chkLayerVisible";
|
|
|
|
|
this.chkLayerVisible.PictureChecked = ((System.Drawing.Image)(resources.GetObject("chkLayerVisible.PictureChecked")));
|
|
|
|
|
this.chkLayerVisible.PictureGrayed = ((System.Drawing.Image)(resources.GetObject("chkLayerVisible.PictureGrayed")));
|
|
|
|
|
this.chkLayerVisible.PictureUnchecked = ((System.Drawing.Image)(resources.GetObject("chkLayerVisible.PictureUnchecked")));
|
|
|
|
|
this.chkLayerVisible.CheckedChanged += new System.EventHandler(this.chkLayerVisible_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// LayerSelectable
|
|
|
|
|
//
|
|
|
|
|
this.LayerSelectable.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 8F);
|
|
|
|
|
this.LayerSelectable.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.LayerSelectable.AppearanceHeader.Image = ((System.Drawing.Image)(resources.GetObject("LayerSelectable.AppearanceHeader.Image")));
|
|
|
|
|
this.LayerSelectable.AppearanceHeader.Options.UseImage = true;
|
|
|
|
|
this.LayerSelectable.Caption = " ";
|
|
|
|
|
this.LayerSelectable.ColumnEdit = this.chkLayerSelectable;
|
|
|
|
|
this.LayerSelectable.FieldName = "Selectable";
|
|
|
|
|
this.LayerSelectable.Image = ((System.Drawing.Image)(resources.GetObject("LayerSelectable.Image")));
|
|
|
|
|
this.LayerSelectable.ImageAlignment = System.Drawing.StringAlignment.Center;
|
|
|
|
|
this.LayerSelectable.MinWidth = 30;
|
|
|
|
|
this.LayerSelectable.Name = "LayerSelectable";
|
|
|
|
|
this.LayerSelectable.OptionsColumn.AllowMove = false;
|
|
|
|
|
this.LayerSelectable.OptionsColumn.AllowMoveToCustomizationForm = false;
|
|
|
|
|
this.LayerSelectable.OptionsColumn.AllowSort = false;
|
|
|
|
|
this.LayerSelectable.OptionsFilter.AllowAutoFilter = false;
|
|
|
|
|
this.LayerSelectable.OptionsFilter.AllowFilter = false;
|
|
|
|
|
this.LayerSelectable.OptionsFilter.ShowEmptyDateFilter = false;
|
|
|
|
|
this.LayerSelectable.ToolTip = "图层是否可选择";
|
|
|
|
|
this.LayerSelectable.UnboundType = DevExpress.XtraTreeList.Data.UnboundColumnType.Boolean;
|
|
|
|
|
this.LayerSelectable.Visible = true;
|
|
|
|
|
this.LayerSelectable.VisibleIndex = 2;
|
|
|
|
|
this.LayerSelectable.Width = 32;
|
|
|
|
|
//
|
|
|
|
|
// chkLayerSelectable
|
|
|
|
|
//
|
|
|
|
|
this.chkLayerSelectable.Appearance.Options.UseImage = true;
|
|
|
|
|
this.chkLayerSelectable.AutoHeight = false;
|
|
|
|
|
this.chkLayerSelectable.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.UserDefined;
|
|
|
|
|
this.chkLayerSelectable.Name = "chkLayerSelectable";
|
|
|
|
|
this.chkLayerSelectable.PictureChecked = ((System.Drawing.Image)(resources.GetObject("chkLayerSelectable.PictureChecked")));
|
|
|
|
|
this.chkLayerSelectable.PictureGrayed = ((System.Drawing.Image)(resources.GetObject("chkLayerSelectable.PictureGrayed")));
|
|
|
|
|
this.chkLayerSelectable.PictureUnchecked = ((System.Drawing.Image)(resources.GetObject("chkLayerSelectable.PictureUnchecked")));
|
|
|
|
|
this.chkLayerSelectable.CheckedChanged += new System.EventHandler(this.chkLayerSelectable_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// LayerEditable
|
|
|
|
|
//
|
|
|
|
|
this.LayerEditable.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 8F);
|
|
|
|
|
this.LayerEditable.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.LayerEditable.Caption = " ";
|
|
|
|
|
this.LayerEditable.ColumnEdit = this.chkLayerEditable;
|
|
|
|
|
this.LayerEditable.FieldName = "AllowEdit";
|
|
|
|
|
this.LayerEditable.Image = ((System.Drawing.Image)(resources.GetObject("LayerEditable.Image")));
|
|
|
|
|
this.LayerEditable.ImageAlignment = System.Drawing.StringAlignment.Center;
|
|
|
|
|
this.LayerEditable.MinWidth = 30;
|
|
|
|
|
this.LayerEditable.Name = "LayerEditable";
|
|
|
|
|
this.LayerEditable.OptionsColumn.AllowMove = false;
|
|
|
|
|
this.LayerEditable.OptionsColumn.AllowMoveToCustomizationForm = false;
|
|
|
|
|
this.LayerEditable.OptionsColumn.AllowSort = false;
|
|
|
|
|
this.LayerEditable.OptionsFilter.AllowAutoFilter = false;
|
|
|
|
|
this.LayerEditable.OptionsFilter.AllowFilter = false;
|
|
|
|
|
this.LayerEditable.ToolTip = "图层是否可编辑";
|
|
|
|
|
this.LayerEditable.UnboundType = DevExpress.XtraTreeList.Data.UnboundColumnType.Boolean;
|
|
|
|
|
this.LayerEditable.Width = 32;
|
|
|
|
|
//
|
|
|
|
|
// chkLayerEditable
|
|
|
|
|
//
|
|
|
|
|
this.chkLayerEditable.AllowGrayed = true;
|
|
|
|
|
this.chkLayerEditable.Appearance.Options.UseImage = true;
|
|
|
|
|
this.chkLayerEditable.AutoHeight = false;
|
|
|
|
|
this.chkLayerEditable.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.UserDefined;
|
|
|
|
|
this.chkLayerEditable.Name = "chkLayerEditable";
|
|
|
|
|
this.chkLayerEditable.PictureChecked = ((System.Drawing.Image)(resources.GetObject("chkLayerEditable.PictureChecked")));
|
|
|
|
|
this.chkLayerEditable.ReadOnly = true;
|
|
|
|
|
this.chkLayerEditable.ValueGrayed = "Editing";
|
|
|
|
|
this.chkLayerEditable.Click += new System.EventHandler(this.chkLayerEditable_Click);
|
|
|
|
|
this.chkLayerEditable.DoubleClick += new System.EventHandler(this.chkLayerEditable_DoubleClick);
|
|
|
|
|
//
|
|
|
|
|
// imageCollection
|
|
|
|
|
//
|
|
|
|
|
this.imageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection.ImageStream")));
|
|
|
|
|
this.imageCollection.Images.SetKeyName(0, "Show.png");
|
|
|
|
|
this.imageCollection.Images.SetKeyName(1, "Edit.png");
|
|
|
|
|
this.imageCollection.Images.SetKeyName(2, "SymbolImgs.png");
|
|
|
|
|
//
|
|
|
|
|
// LayerType
|
|
|
|
|
//
|
|
|
|
|
this.LayerType.Caption = "图层类型";
|
|
|
|
|
this.LayerType.FieldName = "NodeType";
|
|
|
|
|
this.LayerType.MinWidth = 245;
|
|
|
|
|
this.LayerType.Name = "LayerType";
|
|
|
|
|
this.LayerType.OptionsColumn.AllowSize = false;
|
|
|
|
|
this.LayerType.OptionsColumn.FixedWidth = true;
|
|
|
|
|
this.LayerType.UnboundType = DevExpress.XtraTreeList.Data.UnboundColumnType.Integer;
|
|
|
|
|
this.LayerType.Width = 21;
|
|
|
|
|
//
|
|
|
|
|
// trlProject
|
|
|
|
|
//
|
|
|
|
|
this.trlProject.AllowDrop = true;
|
|
|
|
|
this.trlProject.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
|
|
|
|
|
this.Id,
|
|
|
|
|
this.ParentId,
|
|
|
|
|
this.LayerName,
|
|
|
|
|
this.LayerVisible,
|
|
|
|
|
this.colSymbol,
|
|
|
|
|
this.LayerSelectable,
|
|
|
|
|
this.LayerEditable,
|
|
|
|
|
this.LayerTransparency,
|
|
|
|
|
this.LayerType,
|
|
|
|
|
this.NodeExpanded});
|
|
|
|
|
this.trlProject.Cursor = System.Windows.Forms.Cursors.Default;
|
|
|
|
|
this.trlProject.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.trlProject.FixedLineWidth = 1;
|
|
|
|
|
this.trlProject.HorzScrollStep = 2;
|
|
|
|
|
this.trlProject.KeyFieldName = "";
|
|
|
|
|
this.trlProject.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.trlProject.LookAndFeel.UseDefaultLookAndFeel = false;
|
|
|
|
|
this.trlProject.LookAndFeel.UseWindowsXPTheme = true;
|
|
|
|
|
this.trlProject.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.trlProject.Name = "trlProject";
|
|
|
|
|
this.trlProject.OptionsCustomization.AllowColumnMoving = false;
|
|
|
|
|
this.trlProject.OptionsCustomization.AllowFilter = false;
|
|
|
|
|
this.trlProject.OptionsCustomization.AllowQuickHideColumns = false;
|
|
|
|
|
this.trlProject.OptionsCustomization.AllowSort = false;
|
|
|
|
|
this.trlProject.OptionsDragAndDrop.DragNodesMode = DevExpress.XtraTreeList.DragNodesMode.Multiple;
|
|
|
|
|
this.trlProject.OptionsMenu.EnableColumnMenu = false;
|
|
|
|
|
this.trlProject.OptionsMenu.EnableFooterMenu = false;
|
|
|
|
|
this.trlProject.OptionsMenu.ShowAutoFilterRowItem = false;
|
|
|
|
|
this.trlProject.OptionsNavigation.AutoMoveRowFocus = true;
|
|
|
|
|
this.trlProject.OptionsSelection.SelectNodesOnRightClick = true;
|
|
|
|
|
this.trlProject.OptionsView.AutoWidth = false;
|
|
|
|
|
this.trlProject.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.RowFocus;
|
|
|
|
|
this.trlProject.OptionsView.ShowCheckBoxes = true;
|
|
|
|
|
this.trlProject.OptionsView.ShowFilterPanelMode = DevExpress.XtraTreeList.ShowFilterPanelMode.Never;
|
|
|
|
|
this.trlProject.OptionsView.ShowHorzLines = false;
|
|
|
|
|
this.trlProject.OptionsView.ShowIndicator = false;
|
|
|
|
|
this.trlProject.OptionsView.ShowVertLines = false;
|
|
|
|
|
this.trlProject.ParentFieldName = "";
|
|
|
|
|
this.trlProject.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
|
|
this.txtLayerName,
|
|
|
|
|
this.chkLayerVisible,
|
|
|
|
|
this.chkLayerEditable,
|
|
|
|
|
this.chkLayerSelectable,
|
|
|
|
|
this.repositoryItemSpinEdit1,
|
|
|
|
|
this.repositoryItemPictureEdit1,
|
|
|
|
|
this.repositoryItemCheckEdit1,
|
|
|
|
|
this.colLayerName,
|
|
|
|
|
this.btnLayerName});
|
|
|
|
|
this.trlProject.RowHeight = 21;
|
|
|
|
|
this.trlProject.SelectImageList = this.imageCollection;
|
|
|
|
|
this.trlProject.Size = new System.Drawing.Size(468, 699);
|
|
|
|
|
this.trlProject.TabIndex = 1;
|
|
|
|
|
this.trlProject.TreeLevelWidth = 19;
|
|
|
|
|
this.trlProject.GetStateImage += new DevExpress.XtraTreeList.GetStateImageEventHandler(this.trlProject_GetStateImage);
|
|
|
|
|
this.trlProject.BeforeDragNode += new DevExpress.XtraTreeList.BeforeDragNodeEventHandler(this.trlProject_BeforeDragNode);
|
|
|
|
|
this.trlProject.AfterCheckNode += new DevExpress.XtraTreeList.NodeEventHandler(this.trlProject_AfterCheckNode);
|
|
|
|
|
this.trlProject.SelectionChanged += new System.EventHandler(this.trlProject_SelectionChanged);
|
|
|
|
|
this.trlProject.DragDrop += new System.Windows.Forms.DragEventHandler(this.trlProject_DragDrop);
|
|
|
|
|
this.trlProject.DragOver += new System.Windows.Forms.DragEventHandler(this.trlProject_DragOver);
|
|
|
|
|
this.trlProject.MouseUp += new System.Windows.Forms.MouseEventHandler(this.trlProject_MouseUp);
|
|
|
|
|
//
|
|
|
|
|
// colSymbol
|
|
|
|
|
//
|
|
|
|
|
this.colSymbol.Caption = "图层样式";
|
|
|
|
|
this.colSymbol.ColumnEdit = this.repositoryItemPictureEdit1;
|
|
|
|
|
this.colSymbol.FieldName = "SymbolImg";
|
|
|
|
|
this.colSymbol.Name = "colSymbol";
|
|
|
|
|
this.colSymbol.ToolTip = "图层样式";
|
|
|
|
|
this.colSymbol.Visible = true;
|
|
|
|
|
this.colSymbol.VisibleIndex = 1;
|
|
|
|
|
this.colSymbol.Width = 32;
|
|
|
|
|
//
|
|
|
|
|
// repositoryItemPictureEdit1
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemPictureEdit1.Appearance.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.repositoryItemPictureEdit1.Appearance.Options.UseBackColor = true;
|
|
|
|
|
this.repositoryItemPictureEdit1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
|
|
this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1";
|
|
|
|
|
this.repositoryItemPictureEdit1.ShowMenu = false;
|
|
|
|
|
this.repositoryItemPictureEdit1.DoubleClick += new System.EventHandler(this.repositoryItemPictureEdit1_DoubleClick);
|
|
|
|
|
//
|
|
|
|
|
// LayerTransparency
|
|
|
|
|
//
|
|
|
|
|
this.LayerTransparency.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 8F);
|
|
|
|
|
this.LayerTransparency.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.LayerTransparency.Caption = " ";
|
|
|
|
|
this.LayerTransparency.ColumnEdit = this.repositoryItemSpinEdit1;
|
|
|
|
|
this.LayerTransparency.FieldName = "Transparency";
|
|
|
|
|
this.LayerTransparency.Image = ((System.Drawing.Image)(resources.GetObject("LayerTransparency.Image")));
|
|
|
|
|
this.LayerTransparency.ImageAlignment = System.Drawing.StringAlignment.Center;
|
|
|
|
|
this.LayerTransparency.MinWidth = 30;
|
|
|
|
|
this.LayerTransparency.Name = "LayerTransparency";
|
|
|
|
|
this.LayerTransparency.OptionsColumn.AllowMove = false;
|
|
|
|
|
this.LayerTransparency.OptionsColumn.AllowMoveToCustomizationForm = false;
|
|
|
|
|
this.LayerTransparency.OptionsColumn.AllowSort = false;
|
|
|
|
|
this.LayerTransparency.OptionsFilter.AllowAutoFilter = false;
|
|
|
|
|
this.LayerTransparency.OptionsFilter.AllowFilter = false;
|
|
|
|
|
this.LayerTransparency.ToolTip = "图层透明度";
|
|
|
|
|
this.LayerTransparency.UnboundType = DevExpress.XtraTreeList.Data.UnboundColumnType.Integer;
|
|
|
|
|
this.LayerTransparency.Visible = true;
|
|
|
|
|
this.LayerTransparency.VisibleIndex = 3;
|
|
|
|
|
this.LayerTransparency.Width = 32;
|
|
|
|
|
//
|
|
|
|
|
// repositoryItemSpinEdit1
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemSpinEdit1.AutoHeight = false;
|
|
|
|
|
this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, false, false, editorButtonImageOptions1)});
|
|
|
|
|
this.repositoryItemSpinEdit1.Increment = new decimal(new int[] {
|
|
|
|
|
10,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.repositoryItemSpinEdit1.Mask.EditMask = "\\d{0,3}%";
|
|
|
|
|
this.repositoryItemSpinEdit1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
|
|
|
|
|
this.repositoryItemSpinEdit1.Mask.UseMaskAsDisplayFormat = true;
|
|
|
|
|
this.repositoryItemSpinEdit1.MaxValue = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1";
|
|
|
|
|
this.repositoryItemSpinEdit1.EditValueChanged += new System.EventHandler(this.RepositoryItemSpinEdit1_EditValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// NodeExpanded
|
|
|
|
|
//
|
|
|
|
|
this.NodeExpanded.Caption = "treeListColumn1";
|
|
|
|
|
this.NodeExpanded.ColumnEdit = this.repositoryItemCheckEdit1;
|
|
|
|
|
this.NodeExpanded.FieldName = "Expanded";
|
|
|
|
|
this.NodeExpanded.Name = "NodeExpanded";
|
|
|
|
|
//
|
|
|
|
|
// repositoryItemCheckEdit1
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemCheckEdit1.AutoHeight = false;
|
|
|
|
|
this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
|
|
|
|
|
//
|
|
|
|
|
// barManager1
|
|
|
|
|
//
|
|
|
|
|
this.barManager1.DockControls.Add(this.barDockControlTop);
|
|
|
|
|
this.barManager1.DockControls.Add(this.barDockControlBottom);
|
|
|
|
|
this.barManager1.DockControls.Add(this.barDockControlLeft);
|
|
|
|
|
this.barManager1.DockControls.Add(this.barDockControlRight);
|
|
|
|
|
this.barManager1.Form = this;
|
|
|
|
|
this.barManager1.MaxItemId = 4;
|
|
|
|
|
//
|
|
|
|
|
// barDockControlTop
|
|
|
|
|
//
|
|
|
|
|
this.barDockControlTop.CausesValidation = false;
|
|
|
|
|
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.barDockControlTop.Manager = this.barManager1;
|
|
|
|
|
this.barDockControlTop.Size = new System.Drawing.Size(468, 0);
|
|
|
|
|
//
|
|
|
|
|
// barDockControlBottom
|
|
|
|
|
//
|
|
|
|
|
this.barDockControlBottom.CausesValidation = false;
|
|
|
|
|
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
this.barDockControlBottom.Location = new System.Drawing.Point(0, 699);
|
|
|
|
|
this.barDockControlBottom.Manager = this.barManager1;
|
|
|
|
|
this.barDockControlBottom.Size = new System.Drawing.Size(468, 0);
|
|
|
|
|
//
|
|
|
|
|
// barDockControlLeft
|
|
|
|
|
//
|
|
|
|
|
this.barDockControlLeft.CausesValidation = false;
|
|
|
|
|
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
|
|
this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.barDockControlLeft.Manager = this.barManager1;
|
|
|
|
|
this.barDockControlLeft.Size = new System.Drawing.Size(0, 699);
|
|
|
|
|
//
|
|
|
|
|
// barDockControlRight
|
|
|
|
|
//
|
|
|
|
|
this.barDockControlRight.CausesValidation = false;
|
|
|
|
|
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
|
|
this.barDockControlRight.Location = new System.Drawing.Point(468, 0);
|
|
|
|
|
this.barDockControlRight.Manager = this.barManager1;
|
|
|
|
|
this.barDockControlRight.Size = new System.Drawing.Size(0, 699);
|
|
|
|
|
//
|
|
|
|
|
// popMapMenu
|
|
|
|
|
//
|
|
|
|
|
this.popMapMenu.Manager = this.barManager1;
|
|
|
|
|
this.popMapMenu.Name = "popMapMenu";
|
|
|
|
|
//
|
|
|
|
|
// popGroupMenu
|
|
|
|
|
//
|
|
|
|
|
this.popGroupMenu.Manager = this.barManager1;
|
|
|
|
|
this.popGroupMenu.Name = "popGroupMenu";
|
|
|
|
|
//
|
|
|
|
|
// popLayerMenu
|
|
|
|
|
//
|
|
|
|
|
this.popLayerMenu.Manager = this.barManager1;
|
|
|
|
|
this.popLayerMenu.Name = "popLayerMenu";
|
|
|
|
|
//
|
|
|
|
|
// UCLayerTree
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.Controls.Add(this.trlProject);
|
|
|
|
|
this.Controls.Add(this.barDockControlLeft);
|
|
|
|
|
this.Controls.Add(this.barDockControlRight);
|
|
|
|
|
this.Controls.Add(this.barDockControlBottom);
|
|
|
|
|
this.Controls.Add(this.barDockControlTop);
|
|
|
|
|
this.Name = "UCLayerTree";
|
|
|
|
|
this.Size = new System.Drawing.Size(468, 699);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.btnLayerName)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.colLayerName)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtLayerName)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.chkLayerVisible)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.chkLayerSelectable)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.chkLayerEditable)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.imageCollection)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.trlProject)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.popMapMenu)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.popGroupMenu)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.popLayerMenu)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn LayerName;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn LayerVisible;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn LayerEditable;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn LayerSelectable;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit txtLayerName;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit chkLayerVisible;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit chkLayerEditable;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn LayerType;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn Id;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn ParentId;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit chkLayerSelectable;
|
|
|
|
|
private DevExpress.XtraTreeList.TreeList trlProject;
|
|
|
|
|
private DevExpress.Utils.ImageCollection imageCollection;
|
|
|
|
|
private DevExpress.XtraBars.BarManager barManager1;
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControlTop;
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControlRight;
|
|
|
|
|
private DevExpress.XtraBars.PopupMenu popMapMenu;
|
|
|
|
|
private DevExpress.XtraBars.PopupMenu popGroupMenu;
|
|
|
|
|
private DevExpress.XtraBars.PopupMenu popLayerMenu;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn LayerTransparency;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit repositoryItemSpinEdit1;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn colSymbol;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit repositoryItemPictureEdit1;
|
|
|
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn NodeExpanded;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit repositoryItemCheckEdit1;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit colLayerName;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnLayerName;
|
|
|
|
|
}
|
|
|
|
|
}
|