|
|
|
|
namespace Kingo.Mobile.Shape2KOTool.SymbolSetting
|
|
|
|
|
{
|
|
|
|
|
partial class UCSymbolItemConfig
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
Kingo.Mobile.Shape2KOTool.XSDClass.SFSymbol sfSymbol1 = new Kingo.Mobile.Shape2KOTool.XSDClass.SFSymbol();
|
|
|
|
|
Kingo.Mobile.Shape2KOTool.XSDClass.SLSymbol slSymbol1 = new Kingo.Mobile.Shape2KOTool.XSDClass.SLSymbol();
|
|
|
|
|
this.ucSymbolItem1 = new Kingo.Mobile.Shape2KOTool.SymbolSetting.UCSymbolItem();
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.numBorderWidth = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.rbtnColor = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.rbtnImage = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.ucFillColor = new Kingo.Mobile.Shape2KOTool.SymbolSetting.UCPanelColor();
|
|
|
|
|
this.ucBorderColor = new Kingo.Mobile.Shape2KOTool.SymbolSetting.UCPanelColor();
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnLoadImage = new System.Windows.Forms.Button();
|
|
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
|
|
this.numFillOpacity = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.numBorderOpacity = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numBorderWidth)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numFillOpacity)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numBorderOpacity)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// ucSymbolItem1
|
|
|
|
|
//
|
|
|
|
|
this.ucSymbolItem1.BackColor = System.Drawing.Color.Blue;
|
|
|
|
|
this.ucSymbolItem1.BoderWidth = 0D;
|
|
|
|
|
this.ucSymbolItem1.BorderColor = System.Drawing.Color.Blue;
|
|
|
|
|
this.ucSymbolItem1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.ucSymbolItem1.FillColor = System.Drawing.Color.White;
|
|
|
|
|
this.ucSymbolItem1.FillImage = null;
|
|
|
|
|
sfSymbol1.Color = new int[] {
|
|
|
|
|
255,
|
|
|
|
|
255,
|
|
|
|
|
255,
|
|
|
|
|
255};
|
|
|
|
|
slSymbol1.Color = new int[] {
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
255,
|
|
|
|
|
255};
|
|
|
|
|
slSymbol1.Style = Kingo.Mobile.Shape2KOTool.XSDClass.esriSimpleLineStyle.esriSLSSolid;
|
|
|
|
|
slSymbol1.Type = "esriSLS";
|
|
|
|
|
slSymbol1.Width = 0D;
|
|
|
|
|
sfSymbol1.Outline = slSymbol1;
|
|
|
|
|
sfSymbol1.Style = Kingo.Mobile.Shape2KOTool.XSDClass.esriSimpleFillStyle.esriSFSSolid;
|
|
|
|
|
sfSymbol1.Type = "esriSFS";
|
|
|
|
|
this.ucSymbolItem1.FSymbol = sfSymbol1;
|
|
|
|
|
this.ucSymbolItem1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.ucSymbolItem1.Name = "ucSymbolItem1";
|
|
|
|
|
this.ucSymbolItem1.Padding = new System.Windows.Forms.Padding(1);
|
|
|
|
|
this.ucSymbolItem1.Size = new System.Drawing.Size(152, 119);
|
|
|
|
|
this.ucSymbolItem1.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
this.label3.AutoSize = true;
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(16, 279);
|
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(59, 12);
|
|
|
|
|
this.label3.TabIndex = 19;
|
|
|
|
|
this.label3.Text = "边框宽度:";
|
|
|
|
|
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// numBorderWidth
|
|
|
|
|
//
|
|
|
|
|
this.numBorderWidth.DecimalPlaces = 1;
|
|
|
|
|
this.numBorderWidth.Location = new System.Drawing.Point(96, 275);
|
|
|
|
|
this.numBorderWidth.Name = "numBorderWidth";
|
|
|
|
|
this.numBorderWidth.Size = new System.Drawing.Size(47, 21);
|
|
|
|
|
this.numBorderWidth.TabIndex = 18;
|
|
|
|
|
this.numBorderWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
|
|
|
this.numBorderWidth.Value = new decimal(new int[] {
|
|
|
|
|
4,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
65536});
|
|
|
|
|
this.numBorderWidth.ValueChanged += new System.EventHandler(this.numBorderWidth_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(16, 250);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(59, 12);
|
|
|
|
|
this.label2.TabIndex = 17;
|
|
|
|
|
this.label2.Text = "边框颜色:";
|
|
|
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(16, 163);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(59, 12);
|
|
|
|
|
this.label1.TabIndex = 15;
|
|
|
|
|
this.label1.Text = "填充颜色:";
|
|
|
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// rbtnColor
|
|
|
|
|
//
|
|
|
|
|
this.rbtnColor.AutoSize = true;
|
|
|
|
|
this.rbtnColor.Checked = true;
|
|
|
|
|
this.rbtnColor.Location = new System.Drawing.Point(96, 131);
|
|
|
|
|
this.rbtnColor.Name = "rbtnColor";
|
|
|
|
|
this.rbtnColor.Size = new System.Drawing.Size(47, 16);
|
|
|
|
|
this.rbtnColor.TabIndex = 13;
|
|
|
|
|
this.rbtnColor.TabStop = true;
|
|
|
|
|
this.rbtnColor.Text = "颜色";
|
|
|
|
|
this.rbtnColor.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbtnColor.CheckedChanged += new System.EventHandler(this.rbtnImage_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// rbtnImage
|
|
|
|
|
//
|
|
|
|
|
this.rbtnImage.AutoSize = true;
|
|
|
|
|
this.rbtnImage.Location = new System.Drawing.Point(11, 131);
|
|
|
|
|
this.rbtnImage.Name = "rbtnImage";
|
|
|
|
|
this.rbtnImage.Size = new System.Drawing.Size(47, 16);
|
|
|
|
|
this.rbtnImage.TabIndex = 12;
|
|
|
|
|
this.rbtnImage.Text = "图片";
|
|
|
|
|
this.rbtnImage.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbtnImage.CheckedChanged += new System.EventHandler(this.rbtnImage_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// ucFillColor
|
|
|
|
|
//
|
|
|
|
|
this.ucFillColor.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.ucFillColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
|
|
this.ucFillColor.Color = System.Drawing.Color.White;
|
|
|
|
|
this.ucFillColor.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
|
|
this.ucFillColor.Location = new System.Drawing.Point(96, 157);
|
|
|
|
|
this.ucFillColor.Name = "ucFillColor";
|
|
|
|
|
this.ucFillColor.Size = new System.Drawing.Size(47, 23);
|
|
|
|
|
this.ucFillColor.TabIndex = 20;
|
|
|
|
|
this.ucFillColor.BackColorChanged += new System.EventHandler(this.ucFillColor_BackColorChanged);
|
|
|
|
|
//
|
|
|
|
|
// ucBorderColor
|
|
|
|
|
//
|
|
|
|
|
this.ucBorderColor.BackColor = System.Drawing.Color.Blue;
|
|
|
|
|
this.ucBorderColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
|
|
this.ucBorderColor.Color = System.Drawing.Color.Blue;
|
|
|
|
|
this.ucBorderColor.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
|
|
this.ucBorderColor.Location = new System.Drawing.Point(96, 245);
|
|
|
|
|
this.ucBorderColor.Name = "ucBorderColor";
|
|
|
|
|
this.ucBorderColor.Size = new System.Drawing.Size(47, 23);
|
|
|
|
|
this.ucBorderColor.TabIndex = 21;
|
|
|
|
|
this.ucBorderColor.BackColorChanged += new System.EventHandler(this.ucBorderColor_BackColorChanged);
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
|
this.label4.Enabled = false;
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(16, 220);
|
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(59, 12);
|
|
|
|
|
this.label4.TabIndex = 22;
|
|
|
|
|
this.label4.Text = "填充图片:";
|
|
|
|
|
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// btnLoadImage
|
|
|
|
|
//
|
|
|
|
|
this.btnLoadImage.Enabled = false;
|
|
|
|
|
this.btnLoadImage.Location = new System.Drawing.Point(96, 215);
|
|
|
|
|
this.btnLoadImage.Name = "btnLoadImage";
|
|
|
|
|
this.btnLoadImage.Size = new System.Drawing.Size(47, 23);
|
|
|
|
|
this.btnLoadImage.TabIndex = 23;
|
|
|
|
|
this.btnLoadImage.Text = "浏览";
|
|
|
|
|
this.btnLoadImage.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnLoadImage.Click += new System.EventHandler(this.btnLoadImage_Click);
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
this.label5.AutoSize = true;
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(4, 191);
|
|
|
|
|
this.label5.Name = "label5";
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(71, 12);
|
|
|
|
|
this.label5.TabIndex = 24;
|
|
|
|
|
this.label5.Text = "填充透明度:";
|
|
|
|
|
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// numFillOpacity
|
|
|
|
|
//
|
|
|
|
|
this.numFillOpacity.DecimalPlaces = 2;
|
|
|
|
|
this.numFillOpacity.Increment = new decimal(new int[] {
|
|
|
|
|
1,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
65536});
|
|
|
|
|
this.numFillOpacity.Location = new System.Drawing.Point(96, 187);
|
|
|
|
|
this.numFillOpacity.Maximum = new decimal(new int[] {
|
|
|
|
|
1,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.numFillOpacity.Name = "numFillOpacity";
|
|
|
|
|
this.numFillOpacity.Size = new System.Drawing.Size(47, 21);
|
|
|
|
|
this.numFillOpacity.TabIndex = 25;
|
|
|
|
|
this.numFillOpacity.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
|
|
|
this.numFillOpacity.Value = new decimal(new int[] {
|
|
|
|
|
1,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.numFillOpacity.ValueChanged += new System.EventHandler(this.numFillOpacity_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// numBorderOpacity
|
|
|
|
|
//
|
|
|
|
|
this.numBorderOpacity.DecimalPlaces = 2;
|
|
|
|
|
this.numBorderOpacity.Increment = new decimal(new int[] {
|
|
|
|
|
1,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
65536});
|
|
|
|
|
this.numBorderOpacity.Location = new System.Drawing.Point(96, 303);
|
|
|
|
|
this.numBorderOpacity.Maximum = new decimal(new int[] {
|
|
|
|
|
1,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.numBorderOpacity.Name = "numBorderOpacity";
|
|
|
|
|
this.numBorderOpacity.Size = new System.Drawing.Size(47, 21);
|
|
|
|
|
this.numBorderOpacity.TabIndex = 27;
|
|
|
|
|
this.numBorderOpacity.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
|
|
|
this.numBorderOpacity.Value = new decimal(new int[] {
|
|
|
|
|
1,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.numBorderOpacity.ValueChanged += new System.EventHandler(this.numBorderOpacity_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// label6
|
|
|
|
|
//
|
|
|
|
|
this.label6.AutoSize = true;
|
|
|
|
|
this.label6.Location = new System.Drawing.Point(4, 308);
|
|
|
|
|
this.label6.Name = "label6";
|
|
|
|
|
this.label6.Size = new System.Drawing.Size(71, 12);
|
|
|
|
|
this.label6.TabIndex = 26;
|
|
|
|
|
this.label6.Text = "边框透明度:";
|
|
|
|
|
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// openFileDialog1
|
|
|
|
|
//
|
|
|
|
|
this.openFileDialog1.Filter = "png|*.png";
|
|
|
|
|
//
|
|
|
|
|
// UCSymbolItemConfig
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.Controls.Add(this.numBorderOpacity);
|
|
|
|
|
this.Controls.Add(this.label6);
|
|
|
|
|
this.Controls.Add(this.numFillOpacity);
|
|
|
|
|
this.Controls.Add(this.label5);
|
|
|
|
|
this.Controls.Add(this.btnLoadImage);
|
|
|
|
|
this.Controls.Add(this.label4);
|
|
|
|
|
this.Controls.Add(this.ucBorderColor);
|
|
|
|
|
this.Controls.Add(this.ucFillColor);
|
|
|
|
|
this.Controls.Add(this.label3);
|
|
|
|
|
this.Controls.Add(this.numBorderWidth);
|
|
|
|
|
this.Controls.Add(this.label2);
|
|
|
|
|
this.Controls.Add(this.label1);
|
|
|
|
|
this.Controls.Add(this.rbtnColor);
|
|
|
|
|
this.Controls.Add(this.rbtnImage);
|
|
|
|
|
this.Controls.Add(this.ucSymbolItem1);
|
|
|
|
|
this.Name = "UCSymbolItemConfig";
|
|
|
|
|
this.Size = new System.Drawing.Size(152, 337);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numBorderWidth)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numFillOpacity)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numBorderOpacity)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private UCSymbolItem ucSymbolItem1;
|
|
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown numBorderWidth;
|
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbtnColor;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbtnImage;
|
|
|
|
|
private UCPanelColor ucFillColor;
|
|
|
|
|
private UCPanelColor ucBorderColor;
|
|
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
|
|
private System.Windows.Forms.Button btnLoadImage;
|
|
|
|
|
private System.Windows.Forms.Label label5;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown numFillOpacity;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown numBorderOpacity;
|
|
|
|
|
private System.Windows.Forms.Label label6;
|
|
|
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
|
|
|
|
}
|
|
|
|
|
}
|