|
|
|
|
using DevExpress.XtraEditors;
|
|
|
|
|
using DevExpress.XtraEditors.Controls;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
|
|
|
|
|
namespace KGIS.Plugin.LayerProperty.View.UC_Controls
|
|
|
|
|
{
|
|
|
|
|
partial class UCTextSymbolAtrribute
|
|
|
|
|
{
|
|
|
|
|
/// <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.spSize = new DevExpress.XtraEditors.SpinEdit();
|
|
|
|
|
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
this.clrFontColor = new DevExpress.XtraEditors.ColorEdit();
|
|
|
|
|
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
this.fontEdit2 = new DevExpress.XtraEditors.FontEdit();
|
|
|
|
|
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
this.chkUnderline = new DevExpress.XtraEditors.CheckButton();
|
|
|
|
|
this.chkItalic = new DevExpress.XtraEditors.CheckButton();
|
|
|
|
|
this.chkBold = new DevExpress.XtraEditors.CheckButton();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.spSize.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.clrFontColor.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.fontEdit2.Properties)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// spSize
|
|
|
|
|
//
|
|
|
|
|
this.spSize.EditValue = new decimal(new int[] {
|
|
|
|
|
1,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.spSize.Location = new System.Drawing.Point(77, 78);
|
|
|
|
|
this.spSize.Name = "spSize";
|
|
|
|
|
this.spSize.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
|
|
|
this.spSize.Size = new System.Drawing.Size(93, 20);
|
|
|
|
|
this.spSize.TabIndex = 9;
|
|
|
|
|
this.spSize.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.spSize_EditValueChanging);
|
|
|
|
|
//
|
|
|
|
|
// labelControl2
|
|
|
|
|
//
|
|
|
|
|
this.labelControl2.Location = new System.Drawing.Point(3, 82);
|
|
|
|
|
this.labelControl2.Name = "labelControl2";
|
|
|
|
|
this.labelControl2.Size = new System.Drawing.Size(60, 14);
|
|
|
|
|
this.labelControl2.TabIndex = 8;
|
|
|
|
|
this.labelControl2.Text = "大 小:";
|
|
|
|
|
//
|
|
|
|
|
// clrFontColor
|
|
|
|
|
//
|
|
|
|
|
this.clrFontColor.EditValue = System.Drawing.Color.Empty;
|
|
|
|
|
this.clrFontColor.Location = new System.Drawing.Point(77, 47);
|
|
|
|
|
this.clrFontColor.Name = "clrFontColor";
|
|
|
|
|
this.clrFontColor.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.clrFontColor.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
|
|
|
|
|
this.clrFontColor.Size = new System.Drawing.Size(93, 20);
|
|
|
|
|
this.clrFontColor.TabIndex = 6;
|
|
|
|
|
this.clrFontColor.EditValueChanged += new System.EventHandler(this.clrFillColor_EditValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// labelControl1
|
|
|
|
|
//
|
|
|
|
|
this.labelControl1.Location = new System.Drawing.Point(3, 50);
|
|
|
|
|
this.labelControl1.Name = "labelControl1";
|
|
|
|
|
this.labelControl1.Size = new System.Drawing.Size(60, 14);
|
|
|
|
|
this.labelControl1.TabIndex = 5;
|
|
|
|
|
this.labelControl1.Text = "颜 色:";
|
|
|
|
|
//
|
|
|
|
|
// fontEdit2
|
|
|
|
|
//
|
|
|
|
|
this.fontEdit2.EditValue = "宋体";
|
|
|
|
|
this.fontEdit2.Location = new System.Drawing.Point(77, 15);
|
|
|
|
|
this.fontEdit2.Name = "fontEdit2";
|
|
|
|
|
this.fontEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.fontEdit2.Size = new System.Drawing.Size(93, 20);
|
|
|
|
|
this.fontEdit2.TabIndex = 14;
|
|
|
|
|
this.fontEdit2.SelectedValueChanged += new System.EventHandler(this.fontEdit2_SelectedValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// labelControl3
|
|
|
|
|
//
|
|
|
|
|
this.labelControl3.Location = new System.Drawing.Point(3, 19);
|
|
|
|
|
this.labelControl3.Name = "labelControl3";
|
|
|
|
|
this.labelControl3.Size = new System.Drawing.Size(60, 14);
|
|
|
|
|
this.labelControl3.TabIndex = 13;
|
|
|
|
|
this.labelControl3.Text = "标注字体:";
|
|
|
|
|
//
|
|
|
|
|
// chkUnderline
|
|
|
|
|
//
|
|
|
|
|
this.chkUnderline.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
|
this.chkUnderline.Appearance.Options.UseFont = true;
|
|
|
|
|
this.chkUnderline.Location = new System.Drawing.Point(141, 110);
|
|
|
|
|
this.chkUnderline.Name = "chkUnderline";
|
|
|
|
|
this.chkUnderline.Size = new System.Drawing.Size(29, 27);
|
|
|
|
|
this.chkUnderline.TabIndex = 17;
|
|
|
|
|
this.chkUnderline.Text = "U";
|
|
|
|
|
this.chkUnderline.CheckedChanged += new System.EventHandler(this.chkUnderline_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// chkItalic
|
|
|
|
|
//
|
|
|
|
|
this.chkItalic.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
|
this.chkItalic.Appearance.Options.UseFont = true;
|
|
|
|
|
this.chkItalic.Location = new System.Drawing.Point(112, 110);
|
|
|
|
|
this.chkItalic.Name = "chkItalic";
|
|
|
|
|
this.chkItalic.Size = new System.Drawing.Size(29, 27);
|
|
|
|
|
this.chkItalic.TabIndex = 16;
|
|
|
|
|
this.chkItalic.Text = "I";
|
|
|
|
|
this.chkItalic.CheckedChanged += new System.EventHandler(this.chkItalic_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// chkBold
|
|
|
|
|
//
|
|
|
|
|
this.chkBold.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
|
this.chkBold.Appearance.Options.UseFont = true;
|
|
|
|
|
this.chkBold.Location = new System.Drawing.Point(82, 110);
|
|
|
|
|
this.chkBold.Name = "chkBold";
|
|
|
|
|
this.chkBold.Size = new System.Drawing.Size(29, 27);
|
|
|
|
|
this.chkBold.TabIndex = 15;
|
|
|
|
|
this.chkBold.Text = "B";
|
|
|
|
|
this.chkBold.CheckedChanged += new System.EventHandler(this.chkBold_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// UCTextSymbolAtrribute
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.Controls.Add(this.chkUnderline);
|
|
|
|
|
this.Controls.Add(this.chkItalic);
|
|
|
|
|
this.Controls.Add(this.chkBold);
|
|
|
|
|
this.Controls.Add(this.fontEdit2);
|
|
|
|
|
this.Controls.Add(this.labelControl3);
|
|
|
|
|
this.Controls.Add(this.spSize);
|
|
|
|
|
this.Controls.Add(this.labelControl2);
|
|
|
|
|
this.Controls.Add(this.clrFontColor);
|
|
|
|
|
this.Controls.Add(this.labelControl1);
|
|
|
|
|
this.Name = "UCTextSymbolAtrribute";
|
|
|
|
|
this.Size = new System.Drawing.Size(181, 180);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.spSize.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.clrFontColor.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.fontEdit2.Properties)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private SpinEdit spSize;
|
|
|
|
|
private LabelControl labelControl2;
|
|
|
|
|
private ColorEdit clrFontColor;
|
|
|
|
|
private LabelControl labelControl1;
|
|
|
|
|
private FontEdit fontEdit2;
|
|
|
|
|
private LabelControl labelControl3;
|
|
|
|
|
private CheckButton chkUnderline;
|
|
|
|
|
private CheckButton chkItalic;
|
|
|
|
|
private CheckButton chkBold;
|
|
|
|
|
}
|
|
|
|
|
}
|