|
|
|
|
using DevExpress.XtraEditors;
|
|
|
|
|
using DevExpress.XtraEditors.Controls;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
|
|
|
|
|
namespace KGIS.Plugin.LayerProperty.View.UC_Controls
|
|
|
|
|
{
|
|
|
|
|
partial class UCPolygonLabelPlacementSet
|
|
|
|
|
{
|
|
|
|
|
/// <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.rgpPlacementMethod = new RadioGroup();
|
|
|
|
|
this.chkPlaceOnlyInsidePolygon = new CheckEdit();
|
|
|
|
|
this.pictureEdit1 = new PictureEdit();
|
|
|
|
|
((ISupportInitialize)this.rgpPlacementMethod.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.chkPlaceOnlyInsidePolygon.Properties).BeginInit();
|
|
|
|
|
((ISupportInitialize)this.pictureEdit1.Properties).BeginInit();
|
|
|
|
|
base.SuspendLayout();
|
|
|
|
|
this.rgpPlacementMethod.Location = new Point(118, 44);
|
|
|
|
|
this.rgpPlacementMethod.Name = "rgpPlacementMethod";
|
|
|
|
|
this.rgpPlacementMethod.Properties.Appearance.BackColor = Color.Transparent;
|
|
|
|
|
this.rgpPlacementMethod.Properties.Appearance.Options.UseBackColor = true;
|
|
|
|
|
this.rgpPlacementMethod.Properties.BorderStyle = BorderStyles.NoBorder;
|
|
|
|
|
this.rgpPlacementMethod.Properties.Items.AddRange(new RadioGroupItem[]
|
|
|
|
|
{
|
|
|
|
|
new RadioGroupItem(null, "总是水平"),
|
|
|
|
|
new RadioGroupItem(null, "总是笔直"),
|
|
|
|
|
new RadioGroupItem(null, "先水平,然后笔直")
|
|
|
|
|
});
|
|
|
|
|
this.rgpPlacementMethod.Size = new Size(159, 95);
|
|
|
|
|
this.rgpPlacementMethod.TabIndex = 0;
|
|
|
|
|
this.rgpPlacementMethod.SelectedIndexChanged += new System.EventHandler(this.rgpPlacementMethod_SelectedIndexChanged);
|
|
|
|
|
this.chkPlaceOnlyInsidePolygon.Location = new Point(36, 159);
|
|
|
|
|
this.chkPlaceOnlyInsidePolygon.Name = "chkPlaceOnlyInsidePolygon";
|
|
|
|
|
this.chkPlaceOnlyInsidePolygon.Properties.Caption = "只在面状要素内部标注";
|
|
|
|
|
this.chkPlaceOnlyInsidePolygon.Size = new Size(176, 19);
|
|
|
|
|
this.chkPlaceOnlyInsidePolygon.TabIndex = 1;
|
|
|
|
|
this.chkPlaceOnlyInsidePolygon.CheckedChanged += new System.EventHandler(this.chkPlaceOnlyInsidePolygon_CheckedChanged);
|
|
|
|
|
this.pictureEdit1.Location = new Point(24, 50);
|
|
|
|
|
this.pictureEdit1.Name = "pictureEdit1";
|
|
|
|
|
this.pictureEdit1.Properties.BorderStyle = BorderStyles.Simple;
|
|
|
|
|
this.pictureEdit1.Size = new Size(75, 82);
|
|
|
|
|
this.pictureEdit1.TabIndex = 2;
|
|
|
|
|
base.AutoScaleDimensions = new SizeF(6f, 12f);
|
|
|
|
|
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
base.Controls.Add(this.pictureEdit1);
|
|
|
|
|
base.Controls.Add(this.chkPlaceOnlyInsidePolygon);
|
|
|
|
|
base.Controls.Add(this.rgpPlacementMethod);
|
|
|
|
|
base.Name = "UCPolygonLabelPlacementSet";
|
|
|
|
|
base.Size = new Size(299, 330);
|
|
|
|
|
((ISupportInitialize)this.rgpPlacementMethod.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.chkPlaceOnlyInsidePolygon.Properties).EndInit();
|
|
|
|
|
((ISupportInitialize)this.pictureEdit1.Properties).EndInit();
|
|
|
|
|
base.ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private RadioGroup rgpPlacementMethod;
|
|
|
|
|
private CheckEdit chkPlaceOnlyInsidePolygon;
|
|
|
|
|
private PictureEdit pictureEdit1;
|
|
|
|
|
}
|
|
|
|
|
}
|