You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
276 lines
14 KiB
276 lines
14 KiB
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 UCUniqueValueRenderer |
|
{ |
|
/// <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.cmbFields = new ComboBoxEdit(); |
|
this.labelControl1 = new LabelControl(); |
|
this.btnDefaultSymbol = new SimpleButton(); |
|
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.labelControl2 = new LabelControl(); |
|
this.ucCRColors = new UCColorRamps(); |
|
this.picDefaultSymbol = new PictureEdit(); |
|
this.chkUseDefaultSymbol = new CheckEdit(); |
|
this.labelControl4 = new LabelControl(); |
|
((ISupportInitialize)this.cmbFields.Properties).BeginInit(); |
|
((ISupportInitialize)this.gridSymCtrl).BeginInit(); |
|
((ISupportInitialize)this.gridSymView).BeginInit(); |
|
((ISupportInitialize)this.repositoryItemPictureEdit1).BeginInit(); |
|
((ISupportInitialize)this.picDefaultSymbol.Properties).BeginInit(); |
|
((ISupportInitialize)this.chkUseDefaultSymbol.Properties).BeginInit(); |
|
base.SuspendLayout(); |
|
this.cmbFields.Location = new System.Drawing.Point(74, 10); |
|
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(126, 21); |
|
this.cmbFields.TabIndex = 2; |
|
this.cmbFields.EditValueChanged += new System.EventHandler(this.cmbFields_EditValueChanged); |
|
this.cmbFields.SelectedIndexChanged += new System.EventHandler(this.cmbFields_SelectedIndexChanged); |
|
this.cmbFields.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.btnDefaultSymbol.Appearance.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); |
|
this.btnDefaultSymbol.Appearance.Options.UseFont = true; |
|
this.btnDefaultSymbol.Location = new System.Drawing.Point(310, 44); |
|
this.btnDefaultSymbol.Name = "btnDefaultSymbol"; |
|
this.btnDefaultSymbol.Size = new Size(87, 23); |
|
this.btnDefaultSymbol.TabIndex = 25; |
|
this.btnDefaultSymbol.Text = "缺省符号设置"; |
|
this.btnDefaultSymbol.Visible = false; |
|
this.btnDefaultSymbol.Click += new System.EventHandler(this.btnDefaultSymbol_Click); |
|
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, 73); |
|
this.gridSymCtrl.MainView = this.gridSymView; |
|
this.gridSymCtrl.Name = "gridSymCtrl"; |
|
this.gridSymCtrl.RepositoryItems.AddRange(new RepositoryItem[] |
|
{ |
|
this.repositoryItemPictureEdit1 |
|
}); |
|
this.gridSymCtrl.Size = new Size(404, 213); |
|
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.RowCountChanged += new System.EventHandler(this.gridSymView_RowCountChanged); |
|
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.Enabled = false; |
|
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.labelControl2.Location = new System.Drawing.Point(8, 12); |
|
this.labelControl2.Name = "labelControl2"; |
|
this.labelControl2.Size = new Size(60, 14); |
|
this.labelControl2.TabIndex = 28; |
|
this.labelControl2.Text = "选择字段:"; |
|
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(74, 42); |
|
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(173, 48); |
|
this.chkUseDefaultSymbol.Name = "chkUseDefaultSymbol"; |
|
this.chkUseDefaultSymbol.Properties.Caption = "使用默认符号"; |
|
this.chkUseDefaultSymbol.Size = new Size(116, 19); |
|
this.chkUseDefaultSymbol.TabIndex = 32; |
|
this.chkUseDefaultSymbol.EditValueChanged += new System.EventHandler(this.InvokeEditValueChanged); |
|
this.labelControl4.Location = new System.Drawing.Point(8, 49); |
|
this.labelControl4.Name = "labelControl4"; |
|
this.labelControl4.Size = new Size(60, 14); |
|
this.labelControl4.TabIndex = 34; |
|
this.labelControl4.Text = "缺省符号:"; |
|
base.AutoScaleDimensions = new SizeF(6f, 12f); |
|
base.AutoScaleMode = AutoScaleMode.Font; |
|
base.Controls.Add(this.labelControl4); |
|
base.Controls.Add(this.chkUseDefaultSymbol); |
|
base.Controls.Add(this.picDefaultSymbol); |
|
base.Controls.Add(this.ucCRColors); |
|
base.Controls.Add(this.labelControl2); |
|
base.Controls.Add(this.cmbFields); |
|
base.Controls.Add(this.labelControl1); |
|
base.Controls.Add(this.btnDefaultSymbol); |
|
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 = "UCUniqueValueRenderer"; |
|
base.Size = new Size(428, 324); |
|
((ISupportInitialize)this.cmbFields.Properties).EndInit(); |
|
((ISupportInitialize)this.gridSymCtrl).EndInit(); |
|
((ISupportInitialize)this.gridSymView).EndInit(); |
|
((ISupportInitialize)this.repositoryItemPictureEdit1).EndInit(); |
|
((ISupportInitialize)this.picDefaultSymbol.Properties).EndInit(); |
|
((ISupportInitialize)this.chkUseDefaultSymbol.Properties).EndInit(); |
|
base.ResumeLayout(false); |
|
base.PerformLayout(); |
|
} |
|
|
|
#endregion |
|
private ComboBoxEdit cmbFields; |
|
private LabelControl labelControl1; |
|
private SimpleButton btnDefaultSymbol; |
|
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 LabelControl labelControl2; |
|
private UCColorRamps ucCRColors; |
|
private PictureEdit picDefaultSymbol; |
|
private CheckEdit chkUseDefaultSymbol; |
|
private LabelControl labelControl4; |
|
} |
|
}
|
|
|