365 lines
14 KiB
C#
365 lines
14 KiB
C#
namespace CanFly.UI.GuidePanel
|
||
{
|
||
partial class GuideCircleCtrl
|
||
{
|
||
/// <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()
|
||
{
|
||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GuideCircleCtrl));
|
||
splitContainer = new SplitContainer();
|
||
panel1 = new Panel();
|
||
canvas = new Canvas.UI.FlyCanvas();
|
||
statusStrip1 = new StatusStrip();
|
||
lblStatus = new ToolStripStatusLabel();
|
||
btnClose = new PictureBox();
|
||
label4 = new Label();
|
||
btnExecute = new Button();
|
||
lblElapsed = new Label();
|
||
ctrlTitleBar = new CtrlTitleBar();
|
||
groupBox1 = new GroupBox();
|
||
label1 = new Label();
|
||
label2 = new Label();
|
||
label3 = new Label();
|
||
tbR = new TextBox();
|
||
tbY = new TextBox();
|
||
tbX = new TextBox();
|
||
btnLoadImage = new Button();
|
||
btnCreateCircle = new Button();
|
||
btnSave = new Button();
|
||
label6 = new Label();
|
||
lblResult = new Label();
|
||
panelGuide = new Panel();
|
||
((System.ComponentModel.ISupportInitialize)splitContainer).BeginInit();
|
||
splitContainer.Panel1.SuspendLayout();
|
||
splitContainer.Panel2.SuspendLayout();
|
||
splitContainer.SuspendLayout();
|
||
panel1.SuspendLayout();
|
||
statusStrip1.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)btnClose).BeginInit();
|
||
groupBox1.SuspendLayout();
|
||
panelGuide.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// splitContainer
|
||
//
|
||
splitContainer.Dock = DockStyle.Fill;
|
||
splitContainer.Location = new Point(0, 0);
|
||
splitContainer.Name = "splitContainer";
|
||
//
|
||
// splitContainer.Panel1
|
||
//
|
||
splitContainer.Panel1.Controls.Add(panelGuide);
|
||
splitContainer.Panel1MinSize = 150;
|
||
//
|
||
// splitContainer.Panel2
|
||
//
|
||
splitContainer.Panel2.Controls.Add(panel1);
|
||
splitContainer.Size = new Size(1280, 640);
|
||
splitContainer.SplitterDistance = 200;
|
||
splitContainer.TabIndex = 12;
|
||
//
|
||
// panel1
|
||
//
|
||
panel1.BorderStyle = BorderStyle.FixedSingle;
|
||
panel1.Controls.Add(canvas);
|
||
panel1.Controls.Add(statusStrip1);
|
||
panel1.Dock = DockStyle.Fill;
|
||
panel1.Location = new Point(0, 0);
|
||
panel1.Name = "panel1";
|
||
panel1.Size = new Size(1076, 640);
|
||
panel1.TabIndex = 1;
|
||
//
|
||
// canvas
|
||
//
|
||
canvas.AllowMultiSelect = false;
|
||
canvas.CreateMode = Canvas.Shape.ShapeTypeEnum.Polygon;
|
||
canvas.Dock = DockStyle.Fill;
|
||
canvas.Enabled = false;
|
||
canvas.FillDrawing = false;
|
||
canvas.Location = new Point(0, 0);
|
||
canvas.Margin = new Padding(2);
|
||
canvas.Name = "canvas";
|
||
canvas.OutsideShapes = (List<Canvas.Shape.FlyShape>)resources.GetObject("canvas.OutsideShapes");
|
||
canvas.Scale = 1F;
|
||
canvas.Shapes = (List<Canvas.Shape.FlyShape>)resources.GetObject("canvas.Shapes");
|
||
canvas.Size = new Size(1074, 616);
|
||
canvas.TabIndex = 2;
|
||
//
|
||
// statusStrip1
|
||
//
|
||
statusStrip1.Items.AddRange(new ToolStripItem[] { lblStatus });
|
||
statusStrip1.Location = new Point(0, 616);
|
||
statusStrip1.Name = "statusStrip1";
|
||
statusStrip1.Size = new Size(1074, 22);
|
||
statusStrip1.TabIndex = 1;
|
||
statusStrip1.Text = "statusStrip1";
|
||
//
|
||
// lblStatus
|
||
//
|
||
lblStatus.Name = "lblStatus";
|
||
lblStatus.Size = new Size(44, 17);
|
||
lblStatus.Text = " ";
|
||
//
|
||
// btnClose
|
||
//
|
||
btnClose.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
btnClose.Image = XKRS.CanFly.Properties.Resources.Close;
|
||
btnClose.InitialImage = XKRS.CanFly.Properties.Resources.Close;
|
||
btnClose.Location = new Point(1102, 3);
|
||
btnClose.Name = "btnClose";
|
||
btnClose.Size = new Size(33, 33);
|
||
btnClose.SizeMode = PictureBoxSizeMode.StretchImage;
|
||
btnClose.TabIndex = 5;
|
||
btnClose.TabStop = false;
|
||
btnClose.Click += btnClose_Click;
|
||
//
|
||
// label4
|
||
//
|
||
label4.AutoSize = true;
|
||
label4.Location = new Point(6, 307);
|
||
label4.Name = "label4";
|
||
label4.Size = new Size(44, 17);
|
||
label4.TabIndex = 3;
|
||
label4.Text = "耗时:";
|
||
//
|
||
// btnExecute
|
||
//
|
||
btnExecute.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
btnExecute.Location = new Point(6, 272);
|
||
btnExecute.Name = "btnExecute";
|
||
btnExecute.Size = new Size(186, 32);
|
||
btnExecute.TabIndex = 2;
|
||
btnExecute.Text = "执行";
|
||
btnExecute.UseVisualStyleBackColor = true;
|
||
btnExecute.Click += btnExecute_Click;
|
||
//
|
||
// lblElapsed
|
||
//
|
||
lblElapsed.AutoSize = true;
|
||
lblElapsed.Location = new Point(56, 307);
|
||
lblElapsed.Name = "lblElapsed";
|
||
lblElapsed.Size = new Size(32, 17);
|
||
lblElapsed.TabIndex = 4;
|
||
lblElapsed.Text = "0ms";
|
||
//
|
||
// ctrlTitleBar
|
||
//
|
||
ctrlTitleBar.Dock = DockStyle.Top;
|
||
ctrlTitleBar.Location = new Point(0, 0);
|
||
ctrlTitleBar.MinimumSize = new Size(0, 36);
|
||
ctrlTitleBar.Name = "ctrlTitleBar";
|
||
ctrlTitleBar.Padding = new Padding(3);
|
||
ctrlTitleBar.Size = new Size(198, 36);
|
||
ctrlTitleBar.TabIndex = 11;
|
||
ctrlTitleBar.Title = "圆形测量";
|
||
//
|
||
// groupBox1
|
||
//
|
||
groupBox1.Controls.Add(tbX);
|
||
groupBox1.Controls.Add(tbY);
|
||
groupBox1.Controls.Add(tbR);
|
||
groupBox1.Controls.Add(label3);
|
||
groupBox1.Controls.Add(label2);
|
||
groupBox1.Controls.Add(label1);
|
||
groupBox1.Dock = DockStyle.Top;
|
||
groupBox1.Location = new Point(0, 36);
|
||
groupBox1.Name = "groupBox1";
|
||
groupBox1.Size = new Size(198, 116);
|
||
groupBox1.TabIndex = 12;
|
||
groupBox1.TabStop = false;
|
||
groupBox1.Text = "圆参数";
|
||
//
|
||
// label1
|
||
//
|
||
label1.AutoSize = true;
|
||
label1.Location = new Point(6, 25);
|
||
label1.Name = "label1";
|
||
label1.Size = new Size(19, 17);
|
||
label1.TabIndex = 0;
|
||
label1.Text = "X:";
|
||
//
|
||
// label2
|
||
//
|
||
label2.AutoSize = true;
|
||
label2.Location = new Point(6, 54);
|
||
label2.Name = "label2";
|
||
label2.Size = new Size(18, 17);
|
||
label2.TabIndex = 1;
|
||
label2.Text = "Y:";
|
||
//
|
||
// label3
|
||
//
|
||
label3.AutoSize = true;
|
||
label3.Location = new Point(3, 83);
|
||
label3.Name = "label3";
|
||
label3.Size = new Size(44, 17);
|
||
label3.TabIndex = 2;
|
||
label3.Text = "半径:";
|
||
//
|
||
// tbR
|
||
//
|
||
tbR.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbR.Location = new Point(56, 80);
|
||
tbR.Name = "tbR";
|
||
tbR.Size = new Size(136, 23);
|
||
tbR.TabIndex = 3;
|
||
//
|
||
// tbY
|
||
//
|
||
tbY.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbY.Location = new Point(56, 51);
|
||
tbY.Name = "tbY";
|
||
tbY.Size = new Size(136, 23);
|
||
tbY.TabIndex = 4;
|
||
//
|
||
// tbX
|
||
//
|
||
tbX.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbX.Location = new Point(56, 22);
|
||
tbX.Name = "tbX";
|
||
tbX.Size = new Size(136, 23);
|
||
tbX.TabIndex = 5;
|
||
//
|
||
// btnLoadImage
|
||
//
|
||
btnLoadImage.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
btnLoadImage.Location = new Point(6, 158);
|
||
btnLoadImage.Name = "btnLoadImage";
|
||
btnLoadImage.Size = new Size(186, 32);
|
||
btnLoadImage.TabIndex = 13;
|
||
btnLoadImage.Text = "打开图片";
|
||
btnLoadImage.UseVisualStyleBackColor = true;
|
||
btnLoadImage.Click += btnLoadImage_Click;
|
||
//
|
||
// btnCreateCircle
|
||
//
|
||
btnCreateCircle.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
btnCreateCircle.Location = new Point(6, 196);
|
||
btnCreateCircle.Name = "btnCreateCircle";
|
||
btnCreateCircle.Size = new Size(186, 32);
|
||
btnCreateCircle.TabIndex = 14;
|
||
btnCreateCircle.Text = "创建圆形";
|
||
btnCreateCircle.UseVisualStyleBackColor = true;
|
||
btnCreateCircle.Click += btnCreateCircle_Click;
|
||
//
|
||
// btnSave
|
||
//
|
||
btnSave.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
btnSave.Location = new Point(9, 397);
|
||
btnSave.Name = "btnSave";
|
||
btnSave.Size = new Size(186, 32);
|
||
btnSave.TabIndex = 15;
|
||
btnSave.Text = "保存数据";
|
||
btnSave.UseVisualStyleBackColor = true;
|
||
btnSave.Click += btnSave_Click;
|
||
//
|
||
// label6
|
||
//
|
||
label6.AutoSize = true;
|
||
label6.Location = new Point(6, 338);
|
||
label6.Name = "label6";
|
||
label6.Size = new Size(44, 17);
|
||
label6.TabIndex = 16;
|
||
label6.Text = "结果:";
|
||
//
|
||
// lblResult
|
||
//
|
||
lblResult.AutoSize = true;
|
||
lblResult.Location = new Point(56, 338);
|
||
lblResult.Name = "lblResult";
|
||
lblResult.Size = new Size(20, 17);
|
||
lblResult.TabIndex = 17;
|
||
lblResult.Text = "无";
|
||
//
|
||
// panelGuide
|
||
//
|
||
panelGuide.BorderStyle = BorderStyle.FixedSingle;
|
||
panelGuide.Controls.Add(lblResult);
|
||
panelGuide.Controls.Add(label6);
|
||
panelGuide.Controls.Add(btnSave);
|
||
panelGuide.Controls.Add(btnCreateCircle);
|
||
panelGuide.Controls.Add(btnLoadImage);
|
||
panelGuide.Controls.Add(groupBox1);
|
||
panelGuide.Controls.Add(ctrlTitleBar);
|
||
panelGuide.Controls.Add(lblElapsed);
|
||
panelGuide.Controls.Add(btnExecute);
|
||
panelGuide.Controls.Add(label4);
|
||
panelGuide.Dock = DockStyle.Fill;
|
||
panelGuide.Location = new Point(0, 0);
|
||
panelGuide.Name = "panelGuide";
|
||
panelGuide.Size = new Size(200, 640);
|
||
panelGuide.TabIndex = 0;
|
||
//
|
||
// GuideCircleCtrl
|
||
//
|
||
Controls.Add(splitContainer);
|
||
Controls.Add(btnClose);
|
||
Name = "GuideCircleCtrl";
|
||
Size = new Size(1280, 640);
|
||
splitContainer.Panel1.ResumeLayout(false);
|
||
splitContainer.Panel2.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)splitContainer).EndInit();
|
||
splitContainer.ResumeLayout(false);
|
||
panel1.ResumeLayout(false);
|
||
panel1.PerformLayout();
|
||
statusStrip1.ResumeLayout(false);
|
||
statusStrip1.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)btnClose).EndInit();
|
||
groupBox1.ResumeLayout(false);
|
||
groupBox1.PerformLayout();
|
||
panelGuide.ResumeLayout(false);
|
||
panelGuide.PerformLayout();
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private SplitContainer splitContainer;
|
||
private Panel panel1;
|
||
private Canvas.UI.FlyCanvas canvas;
|
||
private StatusStrip statusStrip1;
|
||
private ToolStripStatusLabel lblStatus;
|
||
private PictureBox btnClose;
|
||
private Panel panelGuide;
|
||
private Label lblResult;
|
||
private Label label6;
|
||
private Button btnSave;
|
||
private Button btnCreateCircle;
|
||
private Button btnLoadImage;
|
||
private GroupBox groupBox1;
|
||
private TextBox tbX;
|
||
private TextBox tbY;
|
||
private TextBox tbR;
|
||
private Label label3;
|
||
private Label label2;
|
||
private Label label1;
|
||
private CtrlTitleBar ctrlTitleBar;
|
||
private Label lblElapsed;
|
||
private Button btnExecute;
|
||
private Label label4;
|
||
}
|
||
}
|