-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMain.Designer.cs
More file actions
154 lines (147 loc) · 7.48 KB
/
Main.Designer.cs
File metadata and controls
154 lines (147 loc) · 7.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
namespace HalconWindow_WinForm
{
partial class Main
{
/// <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 Windows Form 設計工具產生的程式碼
/// <summary>
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改
/// 這個方法的內容。
/// </summary>
private void InitializeComponent()
{
this.hWindowControl = new HalconDotNet.HWindowControl();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.StatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.panel_ToolBox = new System.Windows.Forms.Panel();
this.Btn_Reset = new System.Windows.Forms.Button();
this.Btn_Clear = new System.Windows.Forms.Button();
this.Btn_Open = new System.Windows.Forms.Button();
this.statusStrip1.SuspendLayout();
this.panel_ToolBox.SuspendLayout();
this.SuspendLayout();
//
// hWindowControl
//
this.hWindowControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.hWindowControl.BackColor = System.Drawing.Color.Black;
this.hWindowControl.BorderColor = System.Drawing.Color.Black;
this.hWindowControl.ImagePart = new System.Drawing.Rectangle(0, 0, 640, 480);
this.hWindowControl.Location = new System.Drawing.Point(12, 12);
this.hWindowControl.Name = "hWindowControl";
this.hWindowControl.Size = new System.Drawing.Size(640, 480);
this.hWindowControl.TabIndex = 0;
this.hWindowControl.WindowSize = new System.Drawing.Size(640, 480);
this.hWindowControl.HInitWindow += new HalconDotNet.HInitWindowEventHandler(this.hWindowControl_HInitWindow);
this.hWindowControl.HMouseMove += new HalconDotNet.HMouseEventHandler(this.hWindowControl_HMouseMove);
this.hWindowControl.HMouseDown += new HalconDotNet.HMouseEventHandler(this.hWindowControl_HMouseDown);
this.hWindowControl.HMouseUp += new HalconDotNet.HMouseEventHandler(this.hWindowControl_HMouseUp);
this.hWindowControl.HMouseWheel += new HalconDotNet.HMouseEventHandler(this.hWindowControl_HMouseWheel);
this.hWindowControl.Resize += new System.EventHandler(this.hWindowControl_Resize);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.StatusLabel});
this.statusStrip1.Location = new System.Drawing.Point(0, 502);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(829, 22);
this.statusStrip1.TabIndex = 1;
this.statusStrip1.Text = "statusStrip1";
//
// StatusLabel
//
this.StatusLabel.Name = "StatusLabel";
this.StatusLabel.Size = new System.Drawing.Size(12, 17);
this.StatusLabel.Text = "-";
//
// panel_ToolBox
//
this.panel_ToolBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel_ToolBox.Controls.Add(this.Btn_Reset);
this.panel_ToolBox.Controls.Add(this.Btn_Clear);
this.panel_ToolBox.Controls.Add(this.Btn_Open);
this.panel_ToolBox.Location = new System.Drawing.Point(658, 12);
this.panel_ToolBox.Name = "panel_ToolBox";
this.panel_ToolBox.Size = new System.Drawing.Size(159, 479);
this.panel_ToolBox.TabIndex = 2;
//
// Btn_Reset
//
this.Btn_Reset.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.Btn_Reset.Location = new System.Drawing.Point(3, 83);
this.Btn_Reset.Name = "Btn_Reset";
this.Btn_Reset.Size = new System.Drawing.Size(93, 34);
this.Btn_Reset.TabIndex = 0;
this.Btn_Reset.Text = "Reset";
this.Btn_Reset.UseVisualStyleBackColor = true;
this.Btn_Reset.Click += new System.EventHandler(this.Btn_Reset_Click);
//
// Btn_Clear
//
this.Btn_Clear.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.Btn_Clear.Location = new System.Drawing.Point(3, 43);
this.Btn_Clear.Name = "Btn_Clear";
this.Btn_Clear.Size = new System.Drawing.Size(93, 34);
this.Btn_Clear.TabIndex = 0;
this.Btn_Clear.Text = "Clear";
this.Btn_Clear.UseVisualStyleBackColor = true;
this.Btn_Clear.Click += new System.EventHandler(this.Btn_Clear_Click);
//
// Btn_Open
//
this.Btn_Open.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.Btn_Open.Location = new System.Drawing.Point(3, 3);
this.Btn_Open.Name = "Btn_Open";
this.Btn_Open.Size = new System.Drawing.Size(93, 34);
this.Btn_Open.TabIndex = 0;
this.Btn_Open.Text = "Open";
this.Btn_Open.UseVisualStyleBackColor = true;
this.Btn_Open.Click += new System.EventHandler(this.btn_Open_Click);
//
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(829, 524);
this.Controls.Add(this.panel_ToolBox);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.hWindowControl);
this.MinimumSize = new System.Drawing.Size(845, 543);
this.Name = "Main";
this.Text = "Main";
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.panel_ToolBox.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private HalconDotNet.HWindowControl hWindowControl;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.Panel panel_ToolBox;
private System.Windows.Forms.ToolStripStatusLabel StatusLabel;
private System.Windows.Forms.Button Btn_Open;
private System.Windows.Forms.Button Btn_Reset;
private System.Windows.Forms.Button Btn_Clear;
}
}