|
|
|
|
using DevExpress.XtraEditors;
|
|
|
|
|
using DevExpress.XtraEditors.Controls;
|
|
|
|
|
using DevExpress.XtraEditors.Repository;
|
|
|
|
|
using DevExpress.XtraGrid;
|
|
|
|
|
using DevExpress.XtraGrid.Columns;
|
|
|
|
|
using DevExpress.XtraGrid.Views.Base;
|
|
|
|
|
using DevExpress.XtraGrid.Views.Grid;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace KGIS.Plugin.LayerProperty.View.UC_Controls
|
|
|
|
|
{
|
|
|
|
|
partial class UCSymbolMatch
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
components = new System.ComponentModel.Container();
|
|
|
|
|
this.labelControl1 = new LabelControl();
|
|
|
|
|
this.cmbFields = new ComboBoxEdit();
|
|
|
|
|
this.grdSymbolCtrl = new GridControl();
|
|
|
|
|
this.grdSymbolView = new GridView();
|
|
|
|
|
this.colSymbol = new GridColumn();
|
|
|
|
|
this.repositoryItemPictureEdit1 = new RepositoryItemPictureEdit();
|
|
|
|
|
this.colName = new GridColumn();
|
|
|
|
|
this.colLabels = new GridColumn();
|
|
|
|
|
this.labelControl3 = new LabelControl();
|
|
|
|
|
this.txtStyleFile = new TextEdit();
|
|
|
|
|
this.btnSelStyle = new SimpleButton();
|
|
|
|
|
this.btnMatch = new SimpleButton();
|
|
|
|
|
this.btnDelAll = new SimpleButton();
|
|
|
|
|
this.btnDelOne = new SimpleButton();
|
|
|
|
|
this.chkMatched = new CheckEdit();
|
|
|
|
|
this.picDefaultSymbol = new PictureEdit();
|
|
|
|
|
this.chkUseDefaultSymbol = new CheckEdit();
|
|
|
|
|
this.labelControl4 = new LabelControl();
|
|
|
|
|
this.btnRotateSet = new SimpleButton();
|
|
|
|
|
((ISupportInitialize)this.cmbFields.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.grdSymbolCtrl).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.grdSymbolView).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.repositoryItemPictureEdit1).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.txtStyleFile.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.chkMatched.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.picDefaultSymbol.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.chkUseDefaultSymbol.Properties).BeginInit();
|
|
|
|
|
base.SuspendLayout();
|
|
|
|
|
this.labelControl1.AutoSizeMode = LabelAutoSizeMode.Horizontal;
|
|
|
|
|
this.labelControl1.Location = new System.Drawing.Point(8, 12);
|
|
|
|
|
this.labelControl1.Name = "labelControl1";
|
|
|
|
|
this.labelControl1.Size = new Size(60, 14);
|
|
|
|
|
this.labelControl1.TabIndex = 0;
|
|
|
|
|
this.labelControl1.Text = "选择字段:";
|
|
|
|
|
this.cmbFields.Location = new System.Drawing.Point(74, 9);
|
|
|
|
|
this.cmbFields.Name = "cmbFields";
|
|
|
|
|
this.cmbFields.Properties.Buttons.AddRange(new EditorButton[]
|
|
|
|
|
{
|
|
|
|
|
new EditorButton(ButtonPredefines.Combo)
|
|
|
|
|
});
|
|
|
|
|
this.cmbFields.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
|
|
|
|
|
this.cmbFields.Size = new Size(204, 21);
|
|
|
|
|
this.cmbFields.TabIndex = 1;
|
|
|
|
|
this.cmbFields.SelectedIndexChanged += new System.EventHandler(this.cboFieldNames_SelectedIndexChanged);
|
|
|
|
|
this.cmbFields.SelectedValueChanged += new System.EventHandler(this.InvokeEditValueChanged);
|
|
|
|
|
this.grdSymbolCtrl.EmbeddedNavigator.Name = "";
|
|
|
|
|
this.grdSymbolCtrl.Location = new System.Drawing.Point(8, 95);
|
|
|
|
|
this.grdSymbolCtrl.MainView = this.grdSymbolView;
|
|
|
|
|
this.grdSymbolCtrl.Name = "grdSymbolCtrl";
|
|
|
|
|
this.grdSymbolCtrl.RepositoryItems.AddRange(new RepositoryItem[]
|
|
|
|
|
{
|
|
|
|
|
this.repositoryItemPictureEdit1
|
|
|
|
|
});
|
|
|
|
|
this.grdSymbolCtrl.Size = new Size(407, 177);
|
|
|
|
|
this.grdSymbolCtrl.TabIndex = 5;
|
|
|
|
|
this.grdSymbolCtrl.ViewCollection.AddRange(new BaseView[]
|
|
|
|
|
{
|
|
|
|
|
this.grdSymbolView
|
|
|
|
|
});
|
|
|
|
|
this.grdSymbolView.Columns.AddRange(new GridColumn[]
|
|
|
|
|
{
|
|
|
|
|
this.colSymbol,
|
|
|
|
|
this.colName,
|
|
|
|
|
this.colLabels
|
|
|
|
|
});
|
|
|
|
|
this.grdSymbolView.GridControl = this.grdSymbolCtrl;
|
|
|
|
|
this.grdSymbolView.Name = "grdSymbolView";
|
|
|
|
|
this.grdSymbolView.OptionsCustomization.AllowColumnMoving = false;
|
|
|
|
|
this.grdSymbolView.OptionsCustomization.AllowFilter = false;
|
|
|
|
|
this.grdSymbolView.OptionsCustomization.AllowGroup = false;
|
|
|
|
|
this.grdSymbolView.OptionsMenu.EnableColumnMenu = false;
|
|
|
|
|
this.grdSymbolView.OptionsMenu.EnableFooterMenu = false;
|
|
|
|
|
this.grdSymbolView.OptionsMenu.EnableGroupPanelMenu = false;
|
|
|
|
|
this.grdSymbolView.OptionsView.ShowGroupPanel = false;
|
|
|
|
|
this.grdSymbolView.OptionsView.ShowIndicator = false;
|
|
|
|
|
this.grdSymbolView.FocusedRowChanged += new FocusedRowChangedEventHandler(this.grdSymbolView_FocusedRowChanged);
|
|
|
|
|
this.grdSymbolView.DoubleClick += new System.EventHandler(this.grdSymbolView_DoubleClick);
|
|
|
|
|
this.grdSymbolView.RowCountChanged += new System.EventHandler(this.grdSymbolView_RowCountChanged);
|
|
|
|
|
this.grdSymbolView.MouseDown += new MouseEventHandler(this.grdSymbolView_MouseDown);
|
|
|
|
|
this.colSymbol.Caption = "符号";
|
|
|
|
|
this.colSymbol.ColumnEdit = this.repositoryItemPictureEdit1;
|
|
|
|
|
this.colSymbol.Name = "colSymbol";
|
|
|
|
|
this.colSymbol.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.colSymbol.OptionsColumn.ReadOnly = true;
|
|
|
|
|
this.colSymbol.Visible = true;
|
|
|
|
|
this.colSymbol.VisibleIndex = 0;
|
|
|
|
|
this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1";
|
|
|
|
|
this.colName.Caption = "符号名称";
|
|
|
|
|
this.colName.Name = "colName";
|
|
|
|
|
this.colName.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.colName.OptionsColumn.ReadOnly = true;
|
|
|
|
|
this.colName.Visible = true;
|
|
|
|
|
this.colName.VisibleIndex = 1;
|
|
|
|
|
this.colLabels.Caption = "符号标识";
|
|
|
|
|
this.colLabels.Name = "colLabels";
|
|
|
|
|
this.colLabels.Visible = true;
|
|
|
|
|
this.colLabels.VisibleIndex = 2;
|
|
|
|
|
this.labelControl3.Location = new System.Drawing.Point(7, 69);
|
|
|
|
|
this.labelControl3.Name = "labelControl3";
|
|
|
|
|
this.labelControl3.Size = new Size(60, 14);
|
|
|
|
|
this.labelControl3.TabIndex = 6;
|
|
|
|
|
this.labelControl3.Text = "符号文件:";
|
|
|
|
|
this.txtStyleFile.Location = new System.Drawing.Point(74, 66);
|
|
|
|
|
this.txtStyleFile.Name = "txtStyleFile";
|
|
|
|
|
this.txtStyleFile.Properties.ReadOnly = true;
|
|
|
|
|
this.txtStyleFile.Size = new Size(260, 21);
|
|
|
|
|
this.txtStyleFile.TabIndex = 7;
|
|
|
|
|
this.btnSelStyle.Location = new System.Drawing.Point(340, 64);
|
|
|
|
|
this.btnSelStyle.Name = "btnSelStyle";
|
|
|
|
|
this.btnSelStyle.Size = new Size(75, 23);
|
|
|
|
|
this.btnSelStyle.TabIndex = 8;
|
|
|
|
|
this.btnSelStyle.Text = "浏 览";
|
|
|
|
|
this.btnSelStyle.Click += new System.EventHandler(this.btnSelStyle_Click);
|
|
|
|
|
this.btnMatch.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
|
|
|
this.btnMatch.Appearance.Options.UseFont = true;
|
|
|
|
|
this.btnMatch.Location = new System.Drawing.Point(104, 278);
|
|
|
|
|
this.btnMatch.Name = "btnMatch";
|
|
|
|
|
this.btnMatch.Size = new Size(75, 23);
|
|
|
|
|
this.btnMatch.TabIndex = 9;
|
|
|
|
|
this.btnMatch.Text = "匹配";
|
|
|
|
|
this.btnMatch.Click += new System.EventHandler(this.btnMatch_Click);
|
|
|
|
|
this.btnDelAll.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
|
|
|
this.btnDelAll.Appearance.Options.UseFont = true;
|
|
|
|
|
this.btnDelAll.Enabled = false;
|
|
|
|
|
this.btnDelAll.Location = new System.Drawing.Point(259, 278);
|
|
|
|
|
this.btnDelAll.Name = "btnDelAll";
|
|
|
|
|
this.btnDelAll.Size = new Size(75, 23);
|
|
|
|
|
this.btnDelAll.TabIndex = 10;
|
|
|
|
|
this.btnDelAll.Text = "全部删除";
|
|
|
|
|
this.btnDelAll.Click += new System.EventHandler(this.btnDelAll_Click);
|
|
|
|
|
this.btnDelOne.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
|
|
|
this.btnDelOne.Appearance.Options.UseFont = true;
|
|
|
|
|
this.btnDelOne.Enabled = false;
|
|
|
|
|
this.btnDelOne.Location = new System.Drawing.Point(182, 278);
|
|
|
|
|
this.btnDelOne.Name = "btnDelOne";
|
|
|
|
|
this.btnDelOne.Size = new Size(75, 23);
|
|
|
|
|
this.btnDelOne.TabIndex = 11;
|
|
|
|
|
this.btnDelOne.Text = "删除";
|
|
|
|
|
this.btnDelOne.Click += new System.EventHandler(this.btnDelOne_Click);
|
|
|
|
|
this.chkMatched.EditValue = true;
|
|
|
|
|
this.chkMatched.Location = new System.Drawing.Point(283, 39);
|
|
|
|
|
this.chkMatched.Name = "chkMatched";
|
|
|
|
|
this.chkMatched.Properties.Caption = "只显示匹配到的符号";
|
|
|
|
|
this.chkMatched.Size = new Size(132, 19);
|
|
|
|
|
this.chkMatched.TabIndex = 12;
|
|
|
|
|
this.chkMatched.CheckedChanged += new System.EventHandler(this.InvokeEditValueChanged);
|
|
|
|
|
this.picDefaultSymbol.Location = new System.Drawing.Point(74, 36);
|
|
|
|
|
this.picDefaultSymbol.Name = "picDefaultSymbol";
|
|
|
|
|
this.picDefaultSymbol.Size = new Size(87, 25);
|
|
|
|
|
this.picDefaultSymbol.TabIndex = 32;
|
|
|
|
|
this.picDefaultSymbol.EditValueChanged += new System.EventHandler(this.InvokeEditValueChanged);
|
|
|
|
|
this.picDefaultSymbol.Click += new System.EventHandler(this.picDefaultSymbol_Click);
|
|
|
|
|
this.chkUseDefaultSymbol.EditValue = true;
|
|
|
|
|
this.chkUseDefaultSymbol.Location = new System.Drawing.Point(176, 39);
|
|
|
|
|
this.chkUseDefaultSymbol.Name = "chkUseDefaultSymbol";
|
|
|
|
|
this.chkUseDefaultSymbol.Properties.Caption = "使用默认符号";
|
|
|
|
|
this.chkUseDefaultSymbol.Size = new Size(102, 19);
|
|
|
|
|
this.chkUseDefaultSymbol.TabIndex = 33;
|
|
|
|
|
this.chkUseDefaultSymbol.CheckedChanged += new System.EventHandler(this.InvokeEditValueChanged);
|
|
|
|
|
this.labelControl4.Location = new System.Drawing.Point(8, 42);
|
|
|
|
|
this.labelControl4.Name = "labelControl4";
|
|
|
|
|
this.labelControl4.Size = new Size(60, 14);
|
|
|
|
|
this.labelControl4.TabIndex = 35;
|
|
|
|
|
this.labelControl4.Text = "缺省符号:";
|
|
|
|
|
this.btnRotateSet.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
|
|
|
this.btnRotateSet.Appearance.Options.UseFont = true;
|
|
|
|
|
this.btnRotateSet.Location = new System.Drawing.Point(340, 278);
|
|
|
|
|
this.btnRotateSet.Name = "btnRotateSet";
|
|
|
|
|
this.btnRotateSet.Size = new Size(75, 23);
|
|
|
|
|
this.btnRotateSet.TabIndex = 36;
|
|
|
|
|
this.btnRotateSet.Text = "旋转设置";
|
|
|
|
|
this.btnRotateSet.Click += new System.EventHandler(this.btnRotateSet_Click);
|
|
|
|
|
base.Controls.Add(this.btnRotateSet);
|
|
|
|
|
base.Controls.Add(this.labelControl4);
|
|
|
|
|
base.Controls.Add(this.chkUseDefaultSymbol);
|
|
|
|
|
base.Controls.Add(this.picDefaultSymbol);
|
|
|
|
|
base.Controls.Add(this.chkMatched);
|
|
|
|
|
base.Controls.Add(this.btnDelOne);
|
|
|
|
|
base.Controls.Add(this.btnDelAll);
|
|
|
|
|
base.Controls.Add(this.btnMatch);
|
|
|
|
|
base.Controls.Add(this.btnSelStyle);
|
|
|
|
|
base.Controls.Add(this.txtStyleFile);
|
|
|
|
|
base.Controls.Add(this.labelControl3);
|
|
|
|
|
base.Controls.Add(this.grdSymbolCtrl);
|
|
|
|
|
base.Controls.Add(this.cmbFields);
|
|
|
|
|
base.Controls.Add(this.labelControl1);
|
|
|
|
|
base.Name = "UCSymbolMatch";
|
|
|
|
|
base.Size = new Size(424, 311);
|
|
|
|
|
((ISupportInitialize)this.cmbFields.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.grdSymbolCtrl).EndInit();
|
|
|
|
|
((ISupportInitialize)this.grdSymbolView).EndInit();
|
|
|
|
|
((ISupportInitialize)this.repositoryItemPictureEdit1).EndInit();
|
|
|
|
|
((ISupportInitialize)this.txtStyleFile.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.chkMatched.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.picDefaultSymbol.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.chkUseDefaultSymbol.Properties).EndInit();
|
|
|
|
|
base.ResumeLayout(false);
|
|
|
|
|
base.PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private LabelControl labelControl1;
|
|
|
|
|
private ComboBoxEdit cmbFields;
|
|
|
|
|
private GridControl grdSymbolCtrl;
|
|
|
|
|
private GridView grdSymbolView;
|
|
|
|
|
private GridColumn colSymbol;
|
|
|
|
|
private RepositoryItemPictureEdit repositoryItemPictureEdit1;
|
|
|
|
|
private GridColumn colName;
|
|
|
|
|
private GridColumn colLabels;
|
|
|
|
|
private LabelControl labelControl3;
|
|
|
|
|
private TextEdit txtStyleFile;
|
|
|
|
|
private SimpleButton btnSelStyle;
|
|
|
|
|
private SimpleButton btnMatch;
|
|
|
|
|
private SimpleButton btnDelAll;
|
|
|
|
|
private SimpleButton btnDelOne;
|
|
|
|
|
private CheckEdit chkMatched;
|
|
|
|
|
private PictureEdit picDefaultSymbol;
|
|
|
|
|
private CheckEdit chkUseDefaultSymbol;
|
|
|
|
|
private LabelControl labelControl4;
|
|
|
|
|
private SimpleButton btnRotateSet;
|
|
|
|
|
}
|
|
|
|
|
}
|