472 lines
18 KiB
C#
472 lines
18 KiB
C#
namespace CanFly.UI.SizePanel
|
||
{
|
||
partial class SizeGuideHeightCtrl
|
||
{
|
||
/// <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(SizeGuideHeightCtrl));
|
||
splitter1 = new AntdUI.Splitter();
|
||
panel1 = new AntdUI.Panel();
|
||
canvas = new Canvas.UI.FlyCanvas();
|
||
panel2 = new AntdUI.Panel();
|
||
ctrlTitleBar = new GuidePanel.CtrlTitleBar();
|
||
statusStrip1 = new StatusStrip();
|
||
lblStatus = new ToolStripStatusLabel();
|
||
groupBox2 = new GroupBox();
|
||
tbLineX1 = new AntdUI.Input();
|
||
label1 = new AntdUI.Label();
|
||
label4 = new AntdUI.Label();
|
||
tbLineY1 = new AntdUI.Input();
|
||
label3 = new AntdUI.Label();
|
||
tbLineY2 = new AntdUI.Input();
|
||
label5 = new AntdUI.Label();
|
||
tbLineX2 = new AntdUI.Input();
|
||
label6 = new AntdUI.Label();
|
||
label7 = new AntdUI.Label();
|
||
tbwidth = new AntdUI.Input();
|
||
tbheight = new AntdUI.Input();
|
||
label2 = new AntdUI.Label();
|
||
CamName = new AntdUI.Input();
|
||
groupBox1 = new GroupBox();
|
||
switch1 = new AntdUI.Switch();
|
||
label8 = new AntdUI.Label();
|
||
button1 = new AntdUI.Button();
|
||
button2 = new AntdUI.Button();
|
||
button3 = new AntdUI.Button();
|
||
label9 = new AntdUI.Label();
|
||
lblElapsed = new AntdUI.Label();
|
||
lblResult = new AntdUI.Label();
|
||
label12 = new AntdUI.Label();
|
||
btnSave = new AntdUI.Button();
|
||
((System.ComponentModel.ISupportInitialize)splitter1).BeginInit();
|
||
splitter1.Panel1.SuspendLayout();
|
||
splitter1.Panel2.SuspendLayout();
|
||
splitter1.SuspendLayout();
|
||
panel1.SuspendLayout();
|
||
panel2.SuspendLayout();
|
||
statusStrip1.SuspendLayout();
|
||
groupBox2.SuspendLayout();
|
||
groupBox1.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// splitter1
|
||
//
|
||
splitter1.Dock = DockStyle.Fill;
|
||
splitter1.Location = new Point(0, 0);
|
||
splitter1.Name = "splitter1";
|
||
//
|
||
// splitter1.Panel1
|
||
//
|
||
splitter1.Panel1.Controls.Add(panel2);
|
||
//
|
||
// splitter1.Panel2
|
||
//
|
||
splitter1.Panel2.Controls.Add(panel1);
|
||
splitter1.Size = new Size(1280, 640);
|
||
splitter1.SplitterDistance = 286;
|
||
splitter1.TabIndex = 0;
|
||
//
|
||
// panel1
|
||
//
|
||
panel1.Controls.Add(statusStrip1);
|
||
panel1.Controls.Add(canvas);
|
||
panel1.Dock = DockStyle.Fill;
|
||
panel1.Location = new Point(0, 0);
|
||
panel1.Name = "panel1";
|
||
panel1.Size = new Size(990, 640);
|
||
panel1.TabIndex = 0;
|
||
panel1.Text = "panel1";
|
||
//
|
||
// canvas
|
||
//
|
||
canvas.AllowMultiSelect = false;
|
||
canvas.CreateMode = Canvas.Shape.ShapeTypeEnum.Polygon;
|
||
canvas.Dock = DockStyle.Fill;
|
||
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(990, 640);
|
||
canvas.TabIndex = 0;
|
||
//
|
||
// panel2
|
||
//
|
||
panel2.Controls.Add(btnSave);
|
||
panel2.Controls.Add(lblResult);
|
||
panel2.Controls.Add(label12);
|
||
panel2.Controls.Add(lblElapsed);
|
||
panel2.Controls.Add(label9);
|
||
panel2.Controls.Add(button3);
|
||
panel2.Controls.Add(button2);
|
||
panel2.Controls.Add(groupBox1);
|
||
panel2.Controls.Add(groupBox2);
|
||
panel2.Controls.Add(ctrlTitleBar);
|
||
panel2.Dock = DockStyle.Fill;
|
||
panel2.Location = new Point(0, 0);
|
||
panel2.Name = "panel2";
|
||
panel2.Size = new Size(286, 640);
|
||
panel2.TabIndex = 0;
|
||
panel2.Text = "panel2";
|
||
//
|
||
// 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(286, 36);
|
||
ctrlTitleBar.TabIndex = 12;
|
||
ctrlTitleBar.Title = "高度测量";
|
||
//
|
||
// statusStrip1
|
||
//
|
||
statusStrip1.Items.AddRange(new ToolStripItem[] { lblStatus });
|
||
statusStrip1.Location = new Point(0, 618);
|
||
statusStrip1.Name = "statusStrip1";
|
||
statusStrip1.Size = new Size(990, 22);
|
||
statusStrip1.TabIndex = 2;
|
||
statusStrip1.Text = "statusStrip1";
|
||
//
|
||
// lblStatus
|
||
//
|
||
lblStatus.Name = "lblStatus";
|
||
lblStatus.Size = new Size(44, 17);
|
||
lblStatus.Text = " ";
|
||
//
|
||
// groupBox2
|
||
//
|
||
groupBox2.Controls.Add(tbheight);
|
||
groupBox2.Controls.Add(tbwidth);
|
||
groupBox2.Controls.Add(label7);
|
||
groupBox2.Controls.Add(label6);
|
||
groupBox2.Controls.Add(label3);
|
||
groupBox2.Controls.Add(tbLineY2);
|
||
groupBox2.Controls.Add(label5);
|
||
groupBox2.Controls.Add(tbLineX2);
|
||
groupBox2.Controls.Add(label4);
|
||
groupBox2.Controls.Add(tbLineY1);
|
||
groupBox2.Controls.Add(label1);
|
||
groupBox2.Controls.Add(tbLineX1);
|
||
groupBox2.Dock = DockStyle.Top;
|
||
groupBox2.Location = new Point(0, 36);
|
||
groupBox2.Name = "groupBox2";
|
||
groupBox2.Size = new Size(286, 229);
|
||
groupBox2.TabIndex = 14;
|
||
groupBox2.TabStop = false;
|
||
groupBox2.Text = "线参数";
|
||
//
|
||
// tbLineX1
|
||
//
|
||
tbLineX1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbLineX1.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
tbLineX1.Location = new Point(62, 22);
|
||
tbLineX1.Name = "tbLineX1";
|
||
tbLineX1.Radius = 3;
|
||
tbLineX1.Size = new Size(214, 32);
|
||
tbLineX1.TabIndex = 17;
|
||
//
|
||
// label1
|
||
//
|
||
label1.Location = new Point(6, 22);
|
||
label1.Name = "label1";
|
||
label1.Size = new Size(38, 32);
|
||
label1.TabIndex = 19;
|
||
label1.Text = " X1:";
|
||
//
|
||
// label4
|
||
//
|
||
label4.Location = new Point(6, 60);
|
||
label4.Name = "label4";
|
||
label4.Size = new Size(38, 32);
|
||
label4.TabIndex = 23;
|
||
label4.Text = " Y1:";
|
||
//
|
||
// tbLineY1
|
||
//
|
||
tbLineY1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbLineY1.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
tbLineY1.Location = new Point(62, 60);
|
||
tbLineY1.Name = "tbLineY1";
|
||
tbLineY1.Radius = 3;
|
||
tbLineY1.Size = new Size(214, 32);
|
||
tbLineY1.TabIndex = 22;
|
||
//
|
||
// label3
|
||
//
|
||
label3.Location = new Point(6, 136);
|
||
label3.Name = "label3";
|
||
label3.Size = new Size(38, 32);
|
||
label3.TabIndex = 27;
|
||
label3.Text = " Y2:";
|
||
//
|
||
// tbLineY2
|
||
//
|
||
tbLineY2.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbLineY2.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
tbLineY2.Location = new Point(62, 136);
|
||
tbLineY2.Name = "tbLineY2";
|
||
tbLineY2.Radius = 3;
|
||
tbLineY2.Size = new Size(214, 32);
|
||
tbLineY2.TabIndex = 26;
|
||
//
|
||
// label5
|
||
//
|
||
label5.Location = new Point(6, 98);
|
||
label5.Name = "label5";
|
||
label5.Size = new Size(38, 32);
|
||
label5.TabIndex = 25;
|
||
label5.Text = " X2:";
|
||
//
|
||
// tbLineX2
|
||
//
|
||
tbLineX2.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbLineX2.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
tbLineX2.Location = new Point(62, 98);
|
||
tbLineX2.Name = "tbLineX2";
|
||
tbLineX2.Radius = 3;
|
||
tbLineX2.Size = new Size(214, 32);
|
||
tbLineX2.TabIndex = 24;
|
||
//
|
||
// label6
|
||
//
|
||
label6.Location = new Point(6, 174);
|
||
label6.Name = "label6";
|
||
label6.Size = new Size(50, 32);
|
||
label6.TabIndex = 28;
|
||
label6.Text = " 宽:";
|
||
//
|
||
// label7
|
||
//
|
||
label7.Location = new Point(145, 177);
|
||
label7.Name = "label7";
|
||
label7.Size = new Size(29, 32);
|
||
label7.TabIndex = 29;
|
||
label7.Text = "高:";
|
||
//
|
||
// tbwidth
|
||
//
|
||
tbwidth.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbwidth.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
tbwidth.Location = new Point(62, 177);
|
||
tbwidth.Name = "tbwidth";
|
||
tbwidth.Radius = 3;
|
||
tbwidth.Size = new Size(77, 32);
|
||
tbwidth.TabIndex = 30;
|
||
//
|
||
// tbheight
|
||
//
|
||
tbheight.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
tbheight.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
tbheight.Location = new Point(180, 177);
|
||
tbheight.Name = "tbheight";
|
||
tbheight.Radius = 3;
|
||
tbheight.Size = new Size(96, 32);
|
||
tbheight.TabIndex = 31;
|
||
//
|
||
// label2
|
||
//
|
||
label2.Location = new Point(6, 22);
|
||
label2.Name = "label2";
|
||
label2.Size = new Size(55, 32);
|
||
label2.TabIndex = 1;
|
||
label2.Text = "相机名:";
|
||
//
|
||
// CamName
|
||
//
|
||
CamName.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||
CamName.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
CamName.Location = new Point(64, 22);
|
||
CamName.Name = "CamName";
|
||
CamName.Radius = 3;
|
||
CamName.ReadOnly = true;
|
||
CamName.Size = new Size(212, 32);
|
||
CamName.TabIndex = 18;
|
||
//
|
||
// groupBox1
|
||
//
|
||
groupBox1.Controls.Add(button1);
|
||
groupBox1.Controls.Add(label8);
|
||
groupBox1.Controls.Add(switch1);
|
||
groupBox1.Controls.Add(label2);
|
||
groupBox1.Controls.Add(CamName);
|
||
groupBox1.Dock = DockStyle.Top;
|
||
groupBox1.Location = new Point(0, 265);
|
||
groupBox1.Name = "groupBox1";
|
||
groupBox1.Size = new Size(286, 105);
|
||
groupBox1.TabIndex = 19;
|
||
groupBox1.TabStop = false;
|
||
groupBox1.Text = "相机控制";
|
||
//
|
||
// switch1
|
||
//
|
||
switch1.Location = new Point(67, 60);
|
||
switch1.Name = "switch1";
|
||
switch1.Size = new Size(72, 32);
|
||
switch1.TabIndex = 19;
|
||
switch1.Text = "switch1";
|
||
//
|
||
// label8
|
||
//
|
||
label8.Location = new Point(6, 60);
|
||
label8.Name = "label8";
|
||
label8.Size = new Size(55, 32);
|
||
label8.TabIndex = 20;
|
||
label8.Text = "硬触发:";
|
||
//
|
||
// button1
|
||
//
|
||
button1.Location = new Point(145, 60);
|
||
button1.Name = "button1";
|
||
button1.Size = new Size(131, 32);
|
||
button1.TabIndex = 21;
|
||
button1.Text = "软触发一次";
|
||
//
|
||
// button2
|
||
//
|
||
button2.Location = new Point(0, 376);
|
||
button2.Name = "button2";
|
||
button2.Size = new Size(276, 37);
|
||
button2.TabIndex = 22;
|
||
button2.Text = "创建矩形";
|
||
button2.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// button3
|
||
//
|
||
button3.Location = new Point(0, 419);
|
||
button3.Name = "button3";
|
||
button3.Size = new Size(276, 36);
|
||
button3.TabIndex = 23;
|
||
button3.Text = "执行";
|
||
button3.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// label9
|
||
//
|
||
label9.Location = new Point(6, 461);
|
||
label9.Name = "label9";
|
||
label9.Size = new Size(50, 23);
|
||
label9.TabIndex = 24;
|
||
label9.Text = "耗时:";
|
||
//
|
||
// lblElapsed
|
||
//
|
||
lblElapsed.Location = new Point(67, 461);
|
||
lblElapsed.Name = "lblElapsed";
|
||
lblElapsed.Size = new Size(72, 23);
|
||
lblElapsed.TabIndex = 25;
|
||
lblElapsed.Text = "0 ms";
|
||
//
|
||
// lblResult
|
||
//
|
||
lblResult.Location = new Point(67, 490);
|
||
lblResult.Name = "lblResult";
|
||
lblResult.Size = new Size(72, 23);
|
||
lblResult.TabIndex = 27;
|
||
lblResult.Text = "无";
|
||
//
|
||
// label12
|
||
//
|
||
label12.Location = new Point(6, 490);
|
||
label12.Name = "label12";
|
||
label12.Size = new Size(50, 23);
|
||
label12.TabIndex = 26;
|
||
label12.Text = "结果:";
|
||
//
|
||
// btnSave
|
||
//
|
||
btnSave.Location = new Point(0, 519);
|
||
btnSave.Name = "btnSave";
|
||
btnSave.Size = new Size(276, 36);
|
||
btnSave.TabIndex = 28;
|
||
btnSave.Text = "保存数据";
|
||
btnSave.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// SizeGuideHeightCtrl
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 17F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
Controls.Add(splitter1);
|
||
Name = "SizeGuideHeightCtrl";
|
||
Size = new Size(1280, 640);
|
||
Load += GuideLineCircleCtrl_Load;
|
||
splitter1.Panel1.ResumeLayout(false);
|
||
splitter1.Panel2.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)splitter1).EndInit();
|
||
splitter1.ResumeLayout(false);
|
||
panel1.ResumeLayout(false);
|
||
panel1.PerformLayout();
|
||
panel2.ResumeLayout(false);
|
||
statusStrip1.ResumeLayout(false);
|
||
statusStrip1.PerformLayout();
|
||
groupBox2.ResumeLayout(false);
|
||
groupBox1.ResumeLayout(false);
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
private TextBox tbRectWidth1;
|
||
private AntdUI.Splitter splitter1;
|
||
private AntdUI.Panel panel1;
|
||
private Canvas.UI.FlyCanvas canvas;
|
||
private AntdUI.Panel panel2;
|
||
private GuidePanel.CtrlTitleBar ctrlTitleBar;
|
||
private StatusStrip statusStrip1;
|
||
private ToolStripStatusLabel lblStatus;
|
||
private GroupBox groupBox2;
|
||
|
||
private Canvas.UI.FlyCanvas flyCanvas1;
|
||
private AntdUI.Input tbLineX1;
|
||
private AntdUI.Label label1;
|
||
private AntdUI.Label label3;
|
||
private AntdUI.Input tbLineY2;
|
||
private AntdUI.Label label5;
|
||
private AntdUI.Input tbLineX2;
|
||
private AntdUI.Label label4;
|
||
private AntdUI.Input tbLineY1;
|
||
private AntdUI.Label label7;
|
||
private AntdUI.Label label6;
|
||
private AntdUI.Input tbwidth;
|
||
private AntdUI.Input tbheight;
|
||
private GroupBox groupBox1;
|
||
private AntdUI.Label label2;
|
||
private AntdUI.Input CamName;
|
||
private AntdUI.Button button1;
|
||
private AntdUI.Label label8;
|
||
private AntdUI.Switch switch1;
|
||
private AntdUI.Button button2;
|
||
private AntdUI.Button button3;
|
||
private AntdUI.Label lblElapsed;
|
||
private AntdUI.Label label9;
|
||
private AntdUI.Label lblResult;
|
||
private AntdUI.Label label12;
|
||
private AntdUI.Button btnSave;
|
||
}
|
||
}
|