|
|
|
|
using DevExpress.XtraEditors;
|
|
|
|
|
using DevExpress.XtraEditors.Controls;
|
|
|
|
|
using DevExpress.XtraEditors.Repository;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
|
|
|
|
|
namespace KGIS.Plugin.LayerProperty.View.UC_Controls
|
|
|
|
|
{
|
|
|
|
|
partial class UCLayerEffectPropertyPage
|
|
|
|
|
{
|
|
|
|
|
/// <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.groupControl1 = new DevExpress.XtraEditors.GroupControl();
|
|
|
|
|
this.spTransparency = new DevExpress.XtraEditors.SpinEdit();
|
|
|
|
|
this.spBrightness = new DevExpress.XtraEditors.SpinEdit();
|
|
|
|
|
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
this.spContrast = new DevExpress.XtraEditors.SpinEdit();
|
|
|
|
|
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
|
|
|
|
|
this.groupControl1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.spTransparency.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.spBrightness.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.spContrast.Properties)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupControl1
|
|
|
|
|
//
|
|
|
|
|
this.groupControl1.Controls.Add(this.spTransparency);
|
|
|
|
|
this.groupControl1.Controls.Add(this.spBrightness);
|
|
|
|
|
this.groupControl1.Controls.Add(this.labelControl2);
|
|
|
|
|
this.groupControl1.Controls.Add(this.spContrast);
|
|
|
|
|
this.groupControl1.Controls.Add(this.labelControl1);
|
|
|
|
|
this.groupControl1.Controls.Add(this.labelControl10);
|
|
|
|
|
this.groupControl1.Controls.Add(this.labelControl9);
|
|
|
|
|
this.groupControl1.Location = new System.Drawing.Point(14, 14);
|
|
|
|
|
this.groupControl1.Name = "groupControl1";
|
|
|
|
|
this.groupControl1.Size = new System.Drawing.Size(454, 141);
|
|
|
|
|
this.groupControl1.TabIndex = 22;
|
|
|
|
|
this.groupControl1.Text = "显示设置";
|
|
|
|
|
//
|
|
|
|
|
// spTransparency
|
|
|
|
|
//
|
|
|
|
|
this.spTransparency.EditValue = new decimal(new int[] {
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.spTransparency.Location = new System.Drawing.Point(83, 104);
|
|
|
|
|
this.spTransparency.Name = "spTransparency";
|
|
|
|
|
this.spTransparency.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
|
|
|
this.spTransparency.Properties.MaxValue = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.spTransparency.Size = new System.Drawing.Size(168, 20);
|
|
|
|
|
this.spTransparency.TabIndex = 20;
|
|
|
|
|
this.spTransparency.EditValueChanged += new System.EventHandler(this.spTransparency_EditValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// spBrightness
|
|
|
|
|
//
|
|
|
|
|
this.spBrightness.EditValue = new decimal(new int[] {
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.spBrightness.Location = new System.Drawing.Point(83, 72);
|
|
|
|
|
this.spBrightness.Name = "spBrightness";
|
|
|
|
|
this.spBrightness.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
|
|
|
this.spBrightness.Properties.MaxValue = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.spBrightness.Properties.MinValue = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
-2147483648});
|
|
|
|
|
this.spBrightness.Size = new System.Drawing.Size(168, 20);
|
|
|
|
|
this.spBrightness.TabIndex = 20;
|
|
|
|
|
this.spBrightness.EditValueChanged += new System.EventHandler(this.spBrightness_EditValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// labelControl2
|
|
|
|
|
//
|
|
|
|
|
this.labelControl2.Location = new System.Drawing.Point(12, 107);
|
|
|
|
|
this.labelControl2.Name = "labelControl2";
|
|
|
|
|
this.labelControl2.Size = new System.Drawing.Size(48, 14);
|
|
|
|
|
this.labelControl2.TabIndex = 18;
|
|
|
|
|
this.labelControl2.Text = "透明度:";
|
|
|
|
|
//
|
|
|
|
|
// spContrast
|
|
|
|
|
//
|
|
|
|
|
this.spContrast.EditValue = new decimal(new int[] {
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.spContrast.Location = new System.Drawing.Point(83, 41);
|
|
|
|
|
this.spContrast.Name = "spContrast";
|
|
|
|
|
this.spContrast.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
|
|
|
this.spContrast.Properties.MaxValue = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.spContrast.Properties.MinValue = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
-2147483648});
|
|
|
|
|
this.spContrast.Size = new System.Drawing.Size(168, 20);
|
|
|
|
|
this.spContrast.TabIndex = 20;
|
|
|
|
|
this.spContrast.EditValueChanged += new System.EventHandler(this.spContrast_EditValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// labelControl1
|
|
|
|
|
//
|
|
|
|
|
this.labelControl1.Location = new System.Drawing.Point(12, 76);
|
|
|
|
|
this.labelControl1.Name = "labelControl1";
|
|
|
|
|
this.labelControl1.Size = new System.Drawing.Size(48, 14);
|
|
|
|
|
this.labelControl1.TabIndex = 18;
|
|
|
|
|
this.labelControl1.Text = "亮 度:";
|
|
|
|
|
//
|
|
|
|
|
// labelControl10
|
|
|
|
|
//
|
|
|
|
|
this.labelControl10.Location = new System.Drawing.Point(267, 107);
|
|
|
|
|
this.labelControl10.Name = "labelControl10";
|
|
|
|
|
this.labelControl10.Size = new System.Drawing.Size(135, 14);
|
|
|
|
|
this.labelControl10.TabIndex = 19;
|
|
|
|
|
this.labelControl10.Text = "(0-100,0表示不透明)";
|
|
|
|
|
//
|
|
|
|
|
// labelControl9
|
|
|
|
|
//
|
|
|
|
|
this.labelControl9.Location = new System.Drawing.Point(12, 44);
|
|
|
|
|
this.labelControl9.Name = "labelControl9";
|
|
|
|
|
this.labelControl9.Size = new System.Drawing.Size(48, 14);
|
|
|
|
|
this.labelControl9.TabIndex = 18;
|
|
|
|
|
this.labelControl9.Text = "对比度:";
|
|
|
|
|
//
|
|
|
|
|
// UCLayerEffectPropertyPage
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.Controls.Add(this.groupControl1);
|
|
|
|
|
this.Name = "UCLayerEffectPropertyPage";
|
|
|
|
|
this.Size = new System.Drawing.Size(485, 477);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
|
|
|
|
|
this.groupControl1.ResumeLayout(false);
|
|
|
|
|
this.groupControl1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.spTransparency.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.spBrightness.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.spContrast.Properties)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private GroupControl groupControl1;
|
|
|
|
|
private SpinEdit spTransparency;
|
|
|
|
|
private SpinEdit spBrightness;
|
|
|
|
|
private LabelControl labelControl2;
|
|
|
|
|
private SpinEdit spContrast;
|
|
|
|
|
private LabelControl labelControl1;
|
|
|
|
|
private LabelControl labelControl10;
|
|
|
|
|
private LabelControl labelControl9;
|
|
|
|
|
}
|
|
|
|
|
}
|