|
|
|
|
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 UCUniqueValueManyFieldsRenderer
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
this.cmbValueField1 = new ComboBoxEdit();
|
|
|
|
|
this.labelControl1 = new LabelControl();
|
|
|
|
|
this.btnRotateSet = new SimpleButton();
|
|
|
|
|
this.gridSymCtrl = new GridControl();
|
|
|
|
|
this.gridSymView = new GridView();
|
|
|
|
|
this.grdSymbol = new GridColumn();
|
|
|
|
|
this.repositoryItemPictureEdit1 = new RepositoryItemPictureEdit();
|
|
|
|
|
this.grdSymbolVal = new GridColumn();
|
|
|
|
|
this.grdLabel = new GridColumn();
|
|
|
|
|
this.btnDel = new SimpleButton();
|
|
|
|
|
this.btnDelAll = new SimpleButton();
|
|
|
|
|
this.btnAddVal = new SimpleButton();
|
|
|
|
|
this.btnAddAll = new SimpleButton();
|
|
|
|
|
this.ucCRColors = new UCColorRamps();
|
|
|
|
|
this.picDefaultSymbol = new PictureEdit();
|
|
|
|
|
this.chkUseDefaultSymbol = new CheckEdit();
|
|
|
|
|
this.groupControl1 = new GroupControl();
|
|
|
|
|
this.cmbValueField2 = new ComboBoxEdit();
|
|
|
|
|
this.cmbValueField3 = new ComboBoxEdit();
|
|
|
|
|
((ISupportInitialize)this.cmbValueField1.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.gridSymCtrl).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.gridSymView).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.repositoryItemPictureEdit1).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.picDefaultSymbol.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.chkUseDefaultSymbol.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.groupControl1).BeginInit();
|
|
|
|
|
this.groupControl1.SuspendLayout();
|
|
|
|
|
((ISupportInitialize)this.cmbValueField2.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.cmbValueField3.Properties).BeginInit();
|
|
|
|
|
base.SuspendLayout();
|
|
|
|
|
this.cmbValueField1.Location = new System.Drawing.Point(5, 24);
|
|
|
|
|
this.cmbValueField1.Name = "cmbValueField1";
|
|
|
|
|
this.cmbValueField1.Properties.Buttons.AddRange(new EditorButton[]
|
|
|
|
|
{
|
|
|
|
|
new EditorButton(ButtonPredefines.Combo)
|
|
|
|
|
});
|
|
|
|
|
this.cmbValueField1.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
|
|
|
|
|
this.cmbValueField1.Size = new Size(174, 21);
|
|
|
|
|
this.cmbValueField1.TabIndex = 2;
|
|
|
|
|
this.cmbValueField1.EditValueChanged += new System.EventHandler(this.cmbFields_EditValueChanged);
|
|
|
|
|
this.cmbValueField1.SelectedIndexChanged += new System.EventHandler(this.cmbFields_SelectedIndexChanged);
|
|
|
|
|
this.cmbValueField1.SelectedValueChanged += new System.EventHandler(this.InvokeEditValueChanged);
|
|
|
|
|
this.labelControl1.Location = new System.Drawing.Point(212, 12);
|
|
|
|
|
this.labelControl1.Name = "labelControl1";
|
|
|
|
|
this.labelControl1.Size = new Size(36, 14);
|
|
|
|
|
this.labelControl1.TabIndex = 27;
|
|
|
|
|
this.labelControl1.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(337, 292);
|
|
|
|
|
this.btnRotateSet.Name = "btnRotateSet";
|
|
|
|
|
this.btnRotateSet.Size = new Size(75, 23);
|
|
|
|
|
this.btnRotateSet.TabIndex = 23;
|
|
|
|
|
this.btnRotateSet.Text = "旋转设置";
|
|
|
|
|
this.btnRotateSet.Click += new System.EventHandler(this.btnRotateSet_Click);
|
|
|
|
|
this.gridSymCtrl.EmbeddedNavigator.Name = "";
|
|
|
|
|
this.gridSymCtrl.Location = new System.Drawing.Point(8, 121);
|
|
|
|
|
this.gridSymCtrl.MainView = this.gridSymView;
|
|
|
|
|
this.gridSymCtrl.Name = "gridSymCtrl";
|
|
|
|
|
this.gridSymCtrl.RepositoryItems.AddRange(new RepositoryItem[]
|
|
|
|
|
{
|
|
|
|
|
this.repositoryItemPictureEdit1
|
|
|
|
|
});
|
|
|
|
|
this.gridSymCtrl.Size = new Size(404, 165);
|
|
|
|
|
this.gridSymCtrl.TabIndex = 22;
|
|
|
|
|
this.gridSymCtrl.ViewCollection.AddRange(new BaseView[]
|
|
|
|
|
{
|
|
|
|
|
this.gridSymView
|
|
|
|
|
});
|
|
|
|
|
this.gridSymCtrl.MouseDoubleClick += new MouseEventHandler(this.gridSymCtrl_MouseDoubleClick);
|
|
|
|
|
this.gridSymView.Columns.AddRange(new GridColumn[]
|
|
|
|
|
{
|
|
|
|
|
this.grdSymbol,
|
|
|
|
|
this.grdSymbolVal,
|
|
|
|
|
this.grdLabel
|
|
|
|
|
});
|
|
|
|
|
this.gridSymView.GridControl = this.gridSymCtrl;
|
|
|
|
|
this.gridSymView.Name = "gridSymView";
|
|
|
|
|
this.gridSymView.OptionsFilter.AllowColumnMRUFilterList = false;
|
|
|
|
|
this.gridSymView.OptionsFilter.AllowMRUFilterList = false;
|
|
|
|
|
this.gridSymView.OptionsMenu.EnableColumnMenu = false;
|
|
|
|
|
this.gridSymView.OptionsMenu.EnableFooterMenu = false;
|
|
|
|
|
this.gridSymView.OptionsMenu.EnableGroupPanelMenu = false;
|
|
|
|
|
this.gridSymView.OptionsView.ShowDetailButtons = false;
|
|
|
|
|
this.gridSymView.OptionsView.ShowFilterPanelMode = ShowFilterPanelMode.Never;
|
|
|
|
|
this.gridSymView.OptionsView.ShowGroupPanel = false;
|
|
|
|
|
this.gridSymView.OptionsView.ShowIndicator = false;
|
|
|
|
|
this.gridSymView.FocusedRowChanged += new FocusedRowChangedEventHandler(this.gridSymView_FocusedRowChanged);
|
|
|
|
|
this.gridSymView.MouseDown += new MouseEventHandler(this.gridSymView_MouseDown);
|
|
|
|
|
this.grdSymbol.Caption = "符号";
|
|
|
|
|
this.grdSymbol.ColumnEdit = this.repositoryItemPictureEdit1;
|
|
|
|
|
this.grdSymbol.FieldName = "colSymbol";
|
|
|
|
|
this.grdSymbol.Name = "grdSymbol";
|
|
|
|
|
this.grdSymbol.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.grdSymbol.OptionsFilter.AllowAutoFilter = false;
|
|
|
|
|
this.grdSymbol.OptionsFilter.AllowFilter = false;
|
|
|
|
|
this.grdSymbol.OptionsFilter.ImmediateUpdateAutoFilter = false;
|
|
|
|
|
this.grdSymbol.Visible = true;
|
|
|
|
|
this.grdSymbol.VisibleIndex = 0;
|
|
|
|
|
this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1";
|
|
|
|
|
this.grdSymbolVal.Caption = "符号值";
|
|
|
|
|
this.grdSymbolVal.FieldName = "colValue";
|
|
|
|
|
this.grdSymbolVal.Name = "grdSymbolVal";
|
|
|
|
|
this.grdSymbolVal.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.grdSymbolVal.OptionsFilter.AllowAutoFilter = false;
|
|
|
|
|
this.grdSymbolVal.OptionsFilter.AllowFilter = false;
|
|
|
|
|
this.grdSymbolVal.OptionsFilter.ImmediateUpdateAutoFilter = false;
|
|
|
|
|
this.grdSymbolVal.Visible = true;
|
|
|
|
|
this.grdSymbolVal.VisibleIndex = 1;
|
|
|
|
|
this.grdLabel.Caption = "标签值";
|
|
|
|
|
this.grdLabel.FieldName = "colLabel";
|
|
|
|
|
this.grdLabel.Name = "grdLabel";
|
|
|
|
|
this.grdLabel.OptionsFilter.AllowAutoFilter = false;
|
|
|
|
|
this.grdLabel.OptionsFilter.AllowFilter = false;
|
|
|
|
|
this.grdLabel.OptionsFilter.ImmediateUpdateAutoFilter = false;
|
|
|
|
|
this.grdLabel.Visible = true;
|
|
|
|
|
this.grdLabel.VisibleIndex = 2;
|
|
|
|
|
this.btnDel.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
|
|
|
this.btnDel.Appearance.Options.UseFont = true;
|
|
|
|
|
this.btnDel.Enabled = false;
|
|
|
|
|
this.btnDel.Location = new System.Drawing.Point(256, 292);
|
|
|
|
|
this.btnDel.Name = "btnDel";
|
|
|
|
|
this.btnDel.Size = new Size(75, 23);
|
|
|
|
|
this.btnDel.TabIndex = 21;
|
|
|
|
|
this.btnDel.Text = "删除";
|
|
|
|
|
this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
|
|
|
|
|
this.btnDelAll.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
|
|
|
this.btnDelAll.Appearance.Options.UseFont = true;
|
|
|
|
|
this.btnDelAll.Location = new System.Drawing.Point(175, 292);
|
|
|
|
|
this.btnDelAll.Name = "btnDelAll";
|
|
|
|
|
this.btnDelAll.Size = new Size(75, 23);
|
|
|
|
|
this.btnDelAll.TabIndex = 20;
|
|
|
|
|
this.btnDelAll.Text = "删除全部";
|
|
|
|
|
this.btnDelAll.Click += new System.EventHandler(this.btnDelAll_Click);
|
|
|
|
|
this.btnAddVal.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
|
|
|
this.btnAddVal.Appearance.Options.UseFont = true;
|
|
|
|
|
this.btnAddVal.Location = new System.Drawing.Point(94, 292);
|
|
|
|
|
this.btnAddVal.Name = "btnAddVal";
|
|
|
|
|
this.btnAddVal.Size = new Size(75, 23);
|
|
|
|
|
this.btnAddVal.TabIndex = 19;
|
|
|
|
|
this.btnAddVal.Text = "添加";
|
|
|
|
|
this.btnAddVal.Click += new System.EventHandler(this.btnAddVal_Click);
|
|
|
|
|
this.btnAddAll.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
|
|
|
this.btnAddAll.Appearance.Options.UseFont = true;
|
|
|
|
|
this.btnAddAll.Location = new System.Drawing.Point(13, 292);
|
|
|
|
|
this.btnAddAll.Name = "btnAddAll";
|
|
|
|
|
this.btnAddAll.Size = new Size(75, 23);
|
|
|
|
|
this.btnAddAll.TabIndex = 18;
|
|
|
|
|
this.btnAddAll.Text = "添加全部";
|
|
|
|
|
this.btnAddAll.Click += new System.EventHandler(this.btnAddAll_Click);
|
|
|
|
|
this.ucCRColors.Location = new System.Drawing.Point(246, 9);
|
|
|
|
|
this.ucCRColors.Name = "ucCRColors";
|
|
|
|
|
this.ucCRColors.Size = new Size(166, 22);
|
|
|
|
|
this.ucCRColors.TabIndex = 30;
|
|
|
|
|
this.ucCRColors.SelectIndexChanged += new UCColorRamps.SelectIndexChangedHandler(this.ucCRColors_SelectIndexChanged);
|
|
|
|
|
this.picDefaultSymbol.Location = new System.Drawing.Point(325, 63);
|
|
|
|
|
this.picDefaultSymbol.Name = "picDefaultSymbol";
|
|
|
|
|
this.picDefaultSymbol.Size = new Size(87, 25);
|
|
|
|
|
this.picDefaultSymbol.TabIndex = 31;
|
|
|
|
|
this.picDefaultSymbol.Click += new System.EventHandler(this.picDefaultSymbol_Click);
|
|
|
|
|
this.chkUseDefaultSymbol.EditValue = true;
|
|
|
|
|
this.chkUseDefaultSymbol.Location = new System.Drawing.Point(215, 67);
|
|
|
|
|
this.chkUseDefaultSymbol.Name = "chkUseDefaultSymbol";
|
|
|
|
|
this.chkUseDefaultSymbol.Properties.Caption = "使用默认符号";
|
|
|
|
|
this.chkUseDefaultSymbol.Size = new Size(104, 19);
|
|
|
|
|
this.chkUseDefaultSymbol.TabIndex = 32;
|
|
|
|
|
this.chkUseDefaultSymbol.EditValueChanged += new System.EventHandler(this.InvokeEditValueChanged);
|
|
|
|
|
this.groupControl1.Controls.Add(this.cmbValueField3);
|
|
|
|
|
this.groupControl1.Controls.Add(this.cmbValueField2);
|
|
|
|
|
this.groupControl1.Controls.Add(this.cmbValueField1);
|
|
|
|
|
this.groupControl1.Location = new System.Drawing.Point(8, 9);
|
|
|
|
|
this.groupControl1.Name = "groupControl1";
|
|
|
|
|
this.groupControl1.Size = new Size(193, 106);
|
|
|
|
|
this.groupControl1.TabIndex = 35;
|
|
|
|
|
this.groupControl1.Text = "值字段";
|
|
|
|
|
this.cmbValueField2.Location = new System.Drawing.Point(5, 51);
|
|
|
|
|
this.cmbValueField2.Name = "cmbValueField2";
|
|
|
|
|
this.cmbValueField2.Properties.Buttons.AddRange(new EditorButton[]
|
|
|
|
|
{
|
|
|
|
|
new EditorButton(ButtonPredefines.Combo)
|
|
|
|
|
});
|
|
|
|
|
this.cmbValueField2.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
|
|
|
|
|
this.cmbValueField2.Size = new Size(174, 21);
|
|
|
|
|
this.cmbValueField2.TabIndex = 2;
|
|
|
|
|
this.cmbValueField2.EditValueChanged += new System.EventHandler(this.cmbFields_EditValueChanged);
|
|
|
|
|
this.cmbValueField2.SelectedIndexChanged += new System.EventHandler(this.cmbFields_SelectedIndexChanged);
|
|
|
|
|
this.cmbValueField2.SelectedValueChanged += new System.EventHandler(this.InvokeEditValueChanged);
|
|
|
|
|
this.cmbValueField3.Location = new System.Drawing.Point(5, 78);
|
|
|
|
|
this.cmbValueField3.Name = "cmbValueField3";
|
|
|
|
|
this.cmbValueField3.Properties.Buttons.AddRange(new EditorButton[]
|
|
|
|
|
{
|
|
|
|
|
new EditorButton(ButtonPredefines.Combo)
|
|
|
|
|
});
|
|
|
|
|
this.cmbValueField3.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
|
|
|
|
|
this.cmbValueField3.Size = new Size(174, 21);
|
|
|
|
|
this.cmbValueField3.TabIndex = 2;
|
|
|
|
|
this.cmbValueField3.EditValueChanged += new System.EventHandler(this.cmbFields_EditValueChanged);
|
|
|
|
|
this.cmbValueField3.SelectedIndexChanged += new System.EventHandler(this.cmbFields_SelectedIndexChanged);
|
|
|
|
|
this.cmbValueField3.SelectedValueChanged += new System.EventHandler(this.InvokeEditValueChanged);
|
|
|
|
|
base.AutoScaleDimensions = new SizeF(6f, 12f);
|
|
|
|
|
base.AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
base.Controls.Add(this.groupControl1);
|
|
|
|
|
base.Controls.Add(this.chkUseDefaultSymbol);
|
|
|
|
|
base.Controls.Add(this.picDefaultSymbol);
|
|
|
|
|
base.Controls.Add(this.ucCRColors);
|
|
|
|
|
base.Controls.Add(this.labelControl1);
|
|
|
|
|
base.Controls.Add(this.btnRotateSet);
|
|
|
|
|
base.Controls.Add(this.gridSymCtrl);
|
|
|
|
|
base.Controls.Add(this.btnDel);
|
|
|
|
|
base.Controls.Add(this.btnDelAll);
|
|
|
|
|
base.Controls.Add(this.btnAddVal);
|
|
|
|
|
base.Controls.Add(this.btnAddAll);
|
|
|
|
|
base.Name = "UCUniqueValueManyFieldsRenderer";
|
|
|
|
|
base.Size = new Size(428, 324);
|
|
|
|
|
((ISupportInitialize)this.cmbValueField1.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.gridSymCtrl).EndInit();
|
|
|
|
|
((ISupportInitialize)this.gridSymView).EndInit();
|
|
|
|
|
((ISupportInitialize)this.repositoryItemPictureEdit1).EndInit();
|
|
|
|
|
((ISupportInitialize)this.picDefaultSymbol.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.chkUseDefaultSymbol.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.groupControl1).EndInit();
|
|
|
|
|
this.groupControl1.ResumeLayout(false);
|
|
|
|
|
((ISupportInitialize)this.cmbValueField2.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.cmbValueField3.Properties).EndInit();
|
|
|
|
|
base.ResumeLayout(false);
|
|
|
|
|
base.PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private ComboBoxEdit cmbValueField1;
|
|
|
|
|
private LabelControl labelControl1;
|
|
|
|
|
private SimpleButton btnRotateSet;
|
|
|
|
|
private GridControl gridSymCtrl;
|
|
|
|
|
private GridView gridSymView;
|
|
|
|
|
private GridColumn grdSymbol;
|
|
|
|
|
private RepositoryItemPictureEdit repositoryItemPictureEdit1;
|
|
|
|
|
private GridColumn grdSymbolVal;
|
|
|
|
|
private GridColumn grdLabel;
|
|
|
|
|
private SimpleButton btnDel;
|
|
|
|
|
private SimpleButton btnDelAll;
|
|
|
|
|
private SimpleButton btnAddVal;
|
|
|
|
|
private SimpleButton btnAddAll;
|
|
|
|
|
private UCColorRamps ucCRColors;
|
|
|
|
|
private PictureEdit picDefaultSymbol;
|
|
|
|
|
private CheckEdit chkUseDefaultSymbol;
|
|
|
|
|
private GroupControl groupControl1;
|
|
|
|
|
private ComboBoxEdit cmbValueField3;
|
|
|
|
|
private ComboBoxEdit cmbValueField2;
|
|
|
|
|
}
|
|
|
|
|
}
|