447 lines
16 KiB
C#
447 lines
16 KiB
C#
namespace CanFly.UI.GuidePanel
|
||
{
|
||
partial class GuideHeightCtrl
|
||
{
|
||
/// <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(GuideHeightCtrl));
|
||
lblElapsed = new Label();
|
||
label4 = new Label();
|
||
splitContainer = new SplitContainer();
|
||
panelGuide = new Panel();
|
||
btnSave = new Button();
|
||
lblResult = new Label();
|
||
label1 = new Label();
|
||
btnCreateLine = new Button();
|
||
btnLoadImage = new Button();
|
||
label9 = new Label();
|
||
btnExecute = new Button();
|
||
label10 = new Label();
|
||
groupBox2 = new GroupBox();
|
||
tbheight = new TextBox();
|
||
lbheight = new Label();
|
||
tbwidth = new TextBox();
|
||
label2 = new Label();
|
||
tbLineX2 = new TextBox();
|
||
label8 = new Label();
|
||
tbLineY2 = new TextBox();
|
||
label5 = new Label();
|
||
tbLineX1 = new TextBox();
|
||
tbLineY1 = new TextBox();
|
||
label6 = new Label();
|
||
label7 = new Label();
|
||
ctrlTitleBar = new CtrlTitleBar();
|
||
panel1 = new Panel();
|
||
canvas = new Canvas.UI.FlyCanvas();
|
||
statusStrip1 = new StatusStrip();
|
||
lblStatus = new ToolStripStatusLabel();
|
||
((System.ComponentModel.ISupportInitialize)splitContainer).BeginInit();
|
||
splitContainer.Panel1.SuspendLayout();
|
||
splitContainer.Panel2.SuspendLayout();
|
||
splitContainer.SuspendLayout();
|
||
panelGuide.SuspendLayout();
|
||
groupBox2.SuspendLayout();
|
||
panel1.SuspendLayout();
|
||
statusStrip1.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// lblElapsed
|
||
//
|
||
lblElapsed.AutoSize = true;
|
||
lblElapsed.Location = new Point(50, 328);
|
||
lblElapsed.Name = "lblElapsed";
|
||
lblElapsed.Size = new Size(32, 17);
|
||
lblElapsed.TabIndex = 9;
|
||
lblElapsed.Text = "0ms";
|
||
//
|
||
// label4
|
||
//
|
||
label4.AutoSize = true;
|
||
label4.Location = new Point(0, 328);
|
||
label4.Name = "label4";
|
||
label4.Size = new Size(44, 17);
|
||
label4.TabIndex = 8;
|
||
label4.Text = "耗时:";
|
||
//
|
||
// 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 = 11;
|
||
//
|
||
// panelGuide
|
||
//
|
||
panelGuide.BorderStyle = BorderStyle.FixedSingle;
|
||
panelGuide.Controls.Add(btnSave);
|
||
panelGuide.Controls.Add(lblResult);
|
||
panelGuide.Controls.Add(label1);
|
||
panelGuide.Controls.Add(btnCreateLine);
|
||
panelGuide.Controls.Add(btnLoadImage);
|
||
panelGuide.Controls.Add(label9);
|
||
panelGuide.Controls.Add(btnExecute);
|
||
panelGuide.Controls.Add(label10);
|
||
panelGuide.Controls.Add(groupBox2);
|
||
panelGuide.Controls.Add(ctrlTitleBar);
|
||
panelGuide.Dock = DockStyle.Fill;
|
||
panelGuide.Location = new Point(0, 0);
|
||
panelGuide.Name = "panelGuide";
|
||
panelGuide.Size = new Size(200, 640);
|
||
panelGuide.TabIndex = 0;
|
||
//
|
||
// btnSave
|
||
//
|
||
btnSave.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
btnSave.Location = new Point(2, 419);
|
||
btnSave.Name = "btnSave";
|
||
btnSave.Size = new Size(186, 32);
|
||
btnSave.TabIndex = 23;
|
||
btnSave.Text = "保存数据";
|
||
btnSave.UseVisualStyleBackColor = true;
|
||
btnSave.Click += btnSave_Click;
|
||
//
|
||
// lblResult
|
||
//
|
||
lblResult.AutoSize = true;
|
||
lblResult.Location = new Point(59, 354);
|
||
lblResult.Name = "lblResult";
|
||
lblResult.Size = new Size(20, 17);
|
||
lblResult.TabIndex = 22;
|
||
lblResult.Text = "无";
|
||
//
|
||
// label1
|
||
//
|
||
label1.AutoSize = true;
|
||
label1.Location = new Point(9, 354);
|
||
label1.Name = "label1";
|
||
label1.Size = new Size(44, 17);
|
||
label1.TabIndex = 21;
|
||
label1.Text = "结果:";
|
||
//
|
||
// btnCreateLine
|
||
//
|
||
btnCreateLine.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
btnCreateLine.Location = new Point(9, 252);
|
||
btnCreateLine.Name = "btnCreateLine";
|
||
btnCreateLine.Size = new Size(186, 32);
|
||
btnCreateLine.TabIndex = 20;
|
||
btnCreateLine.Text = "创建矩形";
|
||
btnCreateLine.UseVisualStyleBackColor = true;
|
||
btnCreateLine.Click += btnCreateLine_Click;
|
||
//
|
||
// btnLoadImage
|
||
//
|
||
btnLoadImage.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
btnLoadImage.Location = new Point(6, 214);
|
||
btnLoadImage.Name = "btnLoadImage";
|
||
btnLoadImage.Size = new Size(186, 32);
|
||
btnLoadImage.TabIndex = 18;
|
||
btnLoadImage.Text = "打开图片";
|
||
btnLoadImage.UseVisualStyleBackColor = true;
|
||
btnLoadImage.Click += btnLoadImage_Click;
|
||
//
|
||
// label9
|
||
//
|
||
label9.AutoSize = true;
|
||
label9.Location = new Point(59, 325);
|
||
label9.Name = "label9";
|
||
label9.Size = new Size(32, 17);
|
||
label9.TabIndex = 17;
|
||
label9.Text = "0ms";
|
||
//
|
||
// btnExecute
|
||
//
|
||
btnExecute.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
btnExecute.Location = new Point(9, 290);
|
||
btnExecute.Name = "btnExecute";
|
||
btnExecute.Size = new Size(186, 32);
|
||
btnExecute.TabIndex = 15;
|
||
btnExecute.Text = "执行";
|
||
btnExecute.UseVisualStyleBackColor = true;
|
||
btnExecute.Click += btnExecute_Click;
|
||
//
|
||
// label10
|
||
//
|
||
label10.AutoSize = true;
|
||
label10.Location = new Point(9, 325);
|
||
label10.Name = "label10";
|
||
label10.Size = new Size(44, 17);
|
||
label10.TabIndex = 16;
|
||
label10.Text = "耗时:";
|
||
//
|
||
// groupBox2
|
||
//
|
||
groupBox2.Controls.Add(tbheight);
|
||
groupBox2.Controls.Add(lbheight);
|
||
groupBox2.Controls.Add(tbwidth);
|
||
groupBox2.Controls.Add(label2);
|
||
groupBox2.Controls.Add(tbLineX2);
|
||
groupBox2.Controls.Add(label8);
|
||
groupBox2.Controls.Add(tbLineY2);
|
||
groupBox2.Controls.Add(label5);
|
||
groupBox2.Controls.Add(tbLineX1);
|
||
groupBox2.Controls.Add(tbLineY1);
|
||
groupBox2.Controls.Add(label6);
|
||
groupBox2.Controls.Add(label7);
|
||
groupBox2.Dock = DockStyle.Top;
|
||
groupBox2.Location = new Point(0, 36);
|
||
groupBox2.Name = "groupBox2";
|
||
groupBox2.Size = new Size(198, 172);
|
||
groupBox2.TabIndex = 13;
|
||
groupBox2.TabStop = false;
|
||
groupBox2.Text = "线参数";
|
||
//
|
||
// tbheight
|
||
//
|
||
tbheight.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbheight.Location = new Point(126, 140);
|
||
tbheight.Name = "tbheight";
|
||
tbheight.Size = new Size(66, 23);
|
||
tbheight.TabIndex = 13;
|
||
//
|
||
// lbheight
|
||
//
|
||
lbheight.AutoSize = true;
|
||
lbheight.Location = new Point(97, 143);
|
||
lbheight.Name = "lbheight";
|
||
lbheight.Size = new Size(23, 17);
|
||
lbheight.TabIndex = 12;
|
||
lbheight.Text = "高:";
|
||
//
|
||
// tbwidth
|
||
//
|
||
tbwidth.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbwidth.Location = new Point(27, 140);
|
||
tbwidth.Name = "tbwidth";
|
||
tbwidth.Size = new Size(64, 23);
|
||
tbwidth.TabIndex = 11;
|
||
//
|
||
// label2
|
||
//
|
||
label2.AutoSize = true;
|
||
label2.Location = new Point(6, 143);
|
||
label2.Name = "label2";
|
||
label2.Size = new Size(23, 17);
|
||
label2.TabIndex = 10;
|
||
label2.Text = "宽:";
|
||
//
|
||
// tbLineX2
|
||
//
|
||
tbLineX2.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbLineX2.Location = new Point(56, 80);
|
||
tbLineX2.Name = "tbLineX2";
|
||
tbLineX2.Size = new Size(136, 23);
|
||
tbLineX2.TabIndex = 9;
|
||
//
|
||
// label8
|
||
//
|
||
label8.AutoSize = true;
|
||
label8.Location = new Point(6, 83);
|
||
label8.Name = "label8";
|
||
label8.Size = new Size(26, 17);
|
||
label8.TabIndex = 8;
|
||
label8.Text = "X2:";
|
||
//
|
||
// tbLineY2
|
||
//
|
||
tbLineY2.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbLineY2.Location = new Point(56, 109);
|
||
tbLineY2.Name = "tbLineY2";
|
||
tbLineY2.Size = new Size(136, 23);
|
||
tbLineY2.TabIndex = 7;
|
||
//
|
||
// label5
|
||
//
|
||
label5.AutoSize = true;
|
||
label5.Location = new Point(6, 112);
|
||
label5.Name = "label5";
|
||
label5.Size = new Size(25, 17);
|
||
label5.TabIndex = 6;
|
||
label5.Text = "Y2:";
|
||
//
|
||
// tbLineX1
|
||
//
|
||
tbLineX1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbLineX1.Location = new Point(56, 22);
|
||
tbLineX1.Name = "tbLineX1";
|
||
tbLineX1.Size = new Size(136, 23);
|
||
tbLineX1.TabIndex = 5;
|
||
tbLineX1.TextChanged += tbLineX1_TextChanged;
|
||
//
|
||
// tbLineY1
|
||
//
|
||
tbLineY1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbLineY1.Location = new Point(56, 51);
|
||
tbLineY1.Name = "tbLineY1";
|
||
tbLineY1.Size = new Size(136, 23);
|
||
tbLineY1.TabIndex = 4;
|
||
//
|
||
// label6
|
||
//
|
||
label6.AutoSize = true;
|
||
label6.Location = new Point(6, 54);
|
||
label6.Name = "label6";
|
||
label6.Size = new Size(25, 17);
|
||
label6.TabIndex = 1;
|
||
label6.Text = "Y1:";
|
||
//
|
||
// label7
|
||
//
|
||
label7.AutoSize = true;
|
||
label7.Location = new Point(6, 25);
|
||
label7.Name = "label7";
|
||
label7.Size = new Size(26, 17);
|
||
label7.TabIndex = 0;
|
||
label7.Text = "X1:";
|
||
//
|
||
// 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 = "高度测量";
|
||
//
|
||
// 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 = " ";
|
||
//
|
||
// GuideHeightCtrl
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 17F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
Controls.Add(splitContainer);
|
||
Controls.Add(lblElapsed);
|
||
Controls.Add(label4);
|
||
Name = "GuideHeightCtrl";
|
||
Size = new Size(1280, 640);
|
||
Load += GuideLineCircleCtrl_Load;
|
||
splitContainer.Panel1.ResumeLayout(false);
|
||
splitContainer.Panel2.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)splitContainer).EndInit();
|
||
splitContainer.ResumeLayout(false);
|
||
panelGuide.ResumeLayout(false);
|
||
panelGuide.PerformLayout();
|
||
groupBox2.ResumeLayout(false);
|
||
groupBox2.PerformLayout();
|
||
panel1.ResumeLayout(false);
|
||
panel1.PerformLayout();
|
||
statusStrip1.ResumeLayout(false);
|
||
statusStrip1.PerformLayout();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private Label lblElapsed;
|
||
private Label label4;
|
||
|
||
private SplitContainer splitContainer;
|
||
private Panel panelGuide;
|
||
private Panel panel1;
|
||
private Canvas.UI.FlyCanvas canvas;
|
||
private StatusStrip statusStrip1;
|
||
private ToolStripStatusLabel lblStatus;
|
||
private GroupBox groupBox2;
|
||
private TextBox tbLineX2;
|
||
private Label label8;
|
||
private TextBox tbLineY2;
|
||
private Label label5;
|
||
private TextBox tbLineX1;
|
||
private TextBox tbLineY1;
|
||
private Label label6;
|
||
private Label label7;
|
||
private CtrlTitleBar ctrlTitleBar;
|
||
private Button btnLoadImage;
|
||
private Label label9;
|
||
private Button btnExecute;
|
||
private Label label10;
|
||
private Button btnCreateLine;
|
||
private TextBox tbRectWidth1;
|
||
private Label lblResult;
|
||
private Label label1;
|
||
private Button btnSave;
|
||
private TextBox tbheight;
|
||
private Label lbheight;
|
||
private TextBox tbwidth;
|
||
private Label label2;
|
||
}
|
||
}
|