Beispiel #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.LoadBtn       = new System.Windows.Forms.Button();
     this.ExecuteBtn    = new System.Windows.Forms.Button();
     this.WindowControl = new HalconDotNet.HSmartWindowControl();
     this.SuspendLayout();
     //
     // LoadBtn
     //
     this.LoadBtn.Location = new System.Drawing.Point(424, 8);
     this.LoadBtn.Name     = "LoadBtn";
     this.LoadBtn.Size     = new System.Drawing.Size(120, 40);
     this.LoadBtn.TabIndex = 3;
     this.LoadBtn.Text     = "Load Procedure";
     this.LoadBtn.Click   += new System.EventHandler(this.LoadBtn_Click);
     //
     // ExecuteBtn
     //
     this.ExecuteBtn.Location = new System.Drawing.Point(424, 64);
     this.ExecuteBtn.Name     = "ExecuteBtn";
     this.ExecuteBtn.Size     = new System.Drawing.Size(120, 40);
     this.ExecuteBtn.TabIndex = 6;
     this.ExecuteBtn.Text     = "Execute Procedure";
     this.ExecuteBtn.Click   += new System.EventHandler(this.ExecuteBtn_Click);
     //
     // WindowControl
     //
     this.WindowControl.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.WindowControl.HImagePart   = new System.Drawing.Rectangle(0, 0, 768, 576);
     this.WindowControl.Location     = new System.Drawing.Point(16, 8);
     this.WindowControl.Margin       = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.WindowControl.Name         = "WindowControl";
     this.WindowControl.Size         = new System.Drawing.Size(384, 288);
     this.WindowControl.TabIndex     = 7;
     this.WindowControl.WindowSize   = new System.Drawing.Size(384, 288);
     this.WindowControl.Load        += new System.EventHandler(this.WindowControl_Load);
     //
     // ExecExtProcForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(560, 309);
     this.Controls.Add(this.WindowControl);
     this.Controls.Add(this.ExecuteBtn);
     this.Controls.Add(this.LoadBtn);
     this.Name  = "ExecExtProcForm";
     this.Text  = "Execute External HDevelop Procedures via HDevEngine";
     this.Load += new System.EventHandler(this.ExecExtProcForm_Load);
     this.ResumeLayout(false);
 }
Beispiel #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.startButton    = new System.Windows.Forms.Button();
     this.stopButton     = new System.Windows.Forms.Button();
     this.LabelPT        = new System.Windows.Forms.Label();
     this.LabelID        = new System.Windows.Forms.Label();
     this.procTimeLabel  = new System.Windows.Forms.Label();
     this.imageDataLabel = new System.Windows.Forms.Label();
     this.CopyrightLabel = new System.Windows.Forms.Label();
     this.WindowControl  = new HalconDotNet.HSmartWindowControl();
     this.SuspendLayout();
     //
     // startButton
     //
     this.startButton.Location = new System.Drawing.Point(376, 32);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(80, 40);
     this.startButton.TabIndex = 1;
     this.startButton.Text     = "Start";
     this.startButton.Click   += new System.EventHandler(this.startButton_Click);
     //
     // stopButton
     //
     this.stopButton.Enabled  = false;
     this.stopButton.Location = new System.Drawing.Point(376, 96);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(80, 40);
     this.stopButton.TabIndex = 2;
     this.stopButton.Text     = "Stop";
     this.stopButton.Click   += new System.EventHandler(this.stopButton_Click);
     //
     // LabelPT
     //
     this.LabelPT.Location  = new System.Drawing.Point(16, 272);
     this.LabelPT.Name      = "LabelPT";
     this.LabelPT.Size      = new System.Drawing.Size(112, 24);
     this.LabelPT.TabIndex  = 3;
     this.LabelPT.Text      = "Processing time:";
     this.LabelPT.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // LabelID
     //
     this.LabelID.Location  = new System.Drawing.Point(16, 304);
     this.LabelID.Name      = "LabelID";
     this.LabelID.Size      = new System.Drawing.Size(104, 24);
     this.LabelID.TabIndex  = 4;
     this.LabelID.Text      = "Data code content:";
     this.LabelID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // procTimeLabel
     //
     this.procTimeLabel.Location  = new System.Drawing.Point(136, 272);
     this.procTimeLabel.Name      = "procTimeLabel";
     this.procTimeLabel.Size      = new System.Drawing.Size(72, 24);
     this.procTimeLabel.TabIndex  = 5;
     this.procTimeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // imageDataLabel
     //
     this.imageDataLabel.Location  = new System.Drawing.Point(136, 304);
     this.imageDataLabel.Name      = "imageDataLabel";
     this.imageDataLabel.Size      = new System.Drawing.Size(340, 24);
     this.imageDataLabel.TabIndex  = 6;
     this.imageDataLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CopyrightLabel
     //
     this.CopyrightLabel.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CopyrightLabel.Location  = new System.Drawing.Point(16, 336);
     this.CopyrightLabel.Name      = "CopyrightLabel";
     this.CopyrightLabel.Size      = new System.Drawing.Size(460, 16);
     this.CopyrightLabel.TabIndex  = 30;
     this.CopyrightLabel.Text      = "© 2007-2018 MVTec Software GmbH";
     this.CopyrightLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // WindowControl
     //
     this.WindowControl.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.WindowControl.AutoValidate            = System.Windows.Forms.AutoValidate.EnableAllowFocusChange;
     this.WindowControl.HMoveContent            = true;
     this.WindowControl.HZoomContent            = HalconDotNet.HSmartWindowControl.ZoomContent.WheelForwardZoomsIn;
     this.WindowControl.HDrawingObjectsModifier = HalconDotNet.HSmartWindowControl.DrawingObjectsModifier.None;
     this.WindowControl.HImagePart = new System.Drawing.Rectangle(0, 0, 640, 480);
     this.WindowControl.Location   = new System.Drawing.Point(16, 16);
     this.WindowControl.Margin     = new System.Windows.Forms.Padding(2);
     this.WindowControl.Name       = "WindowControl";
     this.WindowControl.Size       = new System.Drawing.Size(320, 240);
     this.WindowControl.TabIndex   = 31;
     this.WindowControl.WindowSize = new System.Drawing.Size(320, 240);
     //
     // MultiThreadingForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(496, 357);
     this.Controls.Add(this.WindowControl);
     this.Controls.Add(this.CopyrightLabel);
     this.Controls.Add(this.imageDataLabel);
     this.Controls.Add(this.procTimeLabel);
     this.Controls.Add(this.LabelID);
     this.Controls.Add(this.LabelPT);
     this.Controls.Add(this.stopButton);
     this.Controls.Add(this.startButton);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Name            = "MultiThreadingForm";
     this.Text            = "Performing Image Acquisition, Processing, and Display in Multiple Threads";
     this.ResumeLayout(false);
 }
Beispiel #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components         = new System.ComponentModel.Container();
     this.MeasureDistLabel   = new System.Windows.Forms.Label();
     this.MeasureNumLabel    = new System.Windows.Forms.Label();
     this.MeasureTimeLabel   = new System.Windows.Forms.Label();
     this.MeasureLabel       = new System.Windows.Forms.Label();
     this.MatchingScoreLabel = new System.Windows.Forms.Label();
     this.MatchingTimeLabel  = new System.Windows.Forms.Label();
     this.MatchingLabel      = new System.Windows.Forms.Label();
     this.StartBtn           = new System.Windows.Forms.Button();
     this.StopBtn            = new System.Windows.Forms.Button();
     this.CreateBtn          = new System.Windows.Forms.Button();
     this.Timer          = new System.Windows.Forms.Timer(this.components);
     this.CopyrightLabel = new System.Windows.Forms.Label();
     this.WindowControl  = new HalconDotNet.HSmartWindowControl();
     this.SuspendLayout();
     //
     // MeasureDistLabel
     //
     this.MeasureDistLabel.Location  = new System.Drawing.Point(272, 544);
     this.MeasureDistLabel.Name      = "MeasureDistLabel";
     this.MeasureDistLabel.Size      = new System.Drawing.Size(176, 16);
     this.MeasureDistLabel.TabIndex  = 25;
     this.MeasureDistLabel.Text      = "Minimum lead distance:";
     this.MeasureDistLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MeasureNumLabel
     //
     this.MeasureNumLabel.Location  = new System.Drawing.Point(152, 544);
     this.MeasureNumLabel.Name      = "MeasureNumLabel";
     this.MeasureNumLabel.Size      = new System.Drawing.Size(120, 16);
     this.MeasureNumLabel.TabIndex  = 24;
     this.MeasureNumLabel.Text      = "Number of leads:";
     this.MeasureNumLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MeasureTimeLabel
     //
     this.MeasureTimeLabel.Location  = new System.Drawing.Point(72, 544);
     this.MeasureTimeLabel.Name      = "MeasureTimeLabel";
     this.MeasureTimeLabel.Size      = new System.Drawing.Size(80, 16);
     this.MeasureTimeLabel.TabIndex  = 23;
     this.MeasureTimeLabel.Text      = "Time:";
     this.MeasureTimeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MeasureLabel
     //
     this.MeasureLabel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.MeasureLabel.Location   = new System.Drawing.Point(16, 544);
     this.MeasureLabel.Name       = "MeasureLabel";
     this.MeasureLabel.Size       = new System.Drawing.Size(56, 16);
     this.MeasureLabel.TabIndex   = 22;
     this.MeasureLabel.Text       = "Measure:";
     //
     // MatchingScoreLabel
     //
     this.MatchingScoreLabel.Location  = new System.Drawing.Point(152, 520);
     this.MatchingScoreLabel.Name      = "MatchingScoreLabel";
     this.MatchingScoreLabel.Size      = new System.Drawing.Size(96, 16);
     this.MatchingScoreLabel.TabIndex  = 21;
     this.MatchingScoreLabel.Text      = "Score:";
     this.MatchingScoreLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MatchingTimeLabel
     //
     this.MatchingTimeLabel.Location  = new System.Drawing.Point(72, 520);
     this.MatchingTimeLabel.Name      = "MatchingTimeLabel";
     this.MatchingTimeLabel.Size      = new System.Drawing.Size(80, 16);
     this.MatchingTimeLabel.TabIndex  = 20;
     this.MatchingTimeLabel.Text      = "Time:";
     this.MatchingTimeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MatchingLabel
     //
     this.MatchingLabel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.MatchingLabel.Location   = new System.Drawing.Point(16, 520);
     this.MatchingLabel.Name       = "MatchingLabel";
     this.MatchingLabel.Size       = new System.Drawing.Size(56, 16);
     this.MatchingLabel.TabIndex   = 19;
     this.MatchingLabel.Text       = "Matching:";
     //
     // StartBtn
     //
     this.StartBtn.Location = new System.Drawing.Point(680, 64);
     this.StartBtn.Name     = "StartBtn";
     this.StartBtn.Size     = new System.Drawing.Size(80, 32);
     this.StartBtn.TabIndex = 28;
     this.StartBtn.Text     = "Start";
     this.StartBtn.Click   += new System.EventHandler(this.StartBtn_Click);
     //
     // StopBtn
     //
     this.StopBtn.Location = new System.Drawing.Point(680, 112);
     this.StopBtn.Name     = "StopBtn";
     this.StopBtn.Size     = new System.Drawing.Size(80, 32);
     this.StopBtn.TabIndex = 27;
     this.StopBtn.Text     = "Stop";
     this.StopBtn.Click   += new System.EventHandler(this.StopBtn_Click);
     //
     // CreateBtn
     //
     this.CreateBtn.Location = new System.Drawing.Point(680, 16);
     this.CreateBtn.Name     = "CreateBtn";
     this.CreateBtn.Size     = new System.Drawing.Size(80, 32);
     this.CreateBtn.TabIndex = 26;
     this.CreateBtn.Text     = "Create Model";
     this.CreateBtn.Click   += new System.EventHandler(this.CreateBtn_Click);
     //
     // Timer
     //
     this.Timer.Interval = 1;
     this.Timer.Tick    += new System.EventHandler(this.Timer_Tick);
     //
     // CopyrightLabel
     //
     this.CopyrightLabel.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CopyrightLabel.Location  = new System.Drawing.Point(16, 576);
     this.CopyrightLabel.Name      = "CopyrightLabel";
     this.CopyrightLabel.Size      = new System.Drawing.Size(744, 16);
     this.CopyrightLabel.TabIndex  = 29;
     this.CopyrightLabel.Text      = "© 2000-2018 MVTec Software GmbH";
     this.CopyrightLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // WindowControl
     //
     this.WindowControl.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.WindowControl.HMoveContent            = true;
     this.WindowControl.HZoomContent            = HalconDotNet.HSmartWindowControl.ZoomContent.WheelForwardZoomsIn;
     this.WindowControl.HDrawingObjectsModifier = HalconDotNet.HSmartWindowControl.DrawingObjectsModifier.None;
     this.WindowControl.Location = new System.Drawing.Point(16, 16);
     this.WindowControl.Margin   = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.WindowControl.Name     = "WindowControl";
     this.WindowControl.Size     = new System.Drawing.Size(646, 492);
     this.WindowControl.TabIndex = 30;
     this.WindowControl.Load    += new System.EventHandler(this.WindowControl_Load);
     //
     // MatchingForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(778, 597);
     this.Controls.Add(this.WindowControl);
     this.Controls.Add(this.CopyrightLabel);
     this.Controls.Add(this.StartBtn);
     this.Controls.Add(this.StopBtn);
     this.Controls.Add(this.CreateBtn);
     this.Controls.Add(this.MeasureDistLabel);
     this.Controls.Add(this.MeasureNumLabel);
     this.Controls.Add(this.MeasureTimeLabel);
     this.Controls.Add(this.MeasureLabel);
     this.Controls.Add(this.MatchingScoreLabel);
     this.Controls.Add(this.MatchingTimeLabel);
     this.Controls.Add(this.MatchingLabel);
     this.Name  = "MatchingForm";
     this.Text  = "Matching and Measurement Demo";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.LoadBtn           = new System.Windows.Forms.Button();
     this.StartBtn          = new System.Windows.Forms.Button();
     this.WindowControl     = new HalconDotNet.HSmartWindowControl();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.shotComboBox      = new System.Windows.Forms.ComboBox();
     this.StopBtn           = new System.Windows.Forms.Button();
     this.Savebtn           = new System.Windows.Forms.Button();
     this.tableLayoutPanel1.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // LoadBtn
     //
     this.LoadBtn.Location = new System.Drawing.Point(3, 103);
     this.LoadBtn.Name     = "LoadBtn";
     this.LoadBtn.Size     = new System.Drawing.Size(120, 40);
     this.LoadBtn.TabIndex = 3;
     this.LoadBtn.Text     = "Load Procedure";
     this.LoadBtn.Visible  = false;
     this.LoadBtn.Click   += new System.EventHandler(this.LoadBtn_Click);
     //
     // StartBtn
     //
     this.StartBtn.Location = new System.Drawing.Point(3, 303);
     this.StartBtn.Name     = "StartBtn";
     this.StartBtn.Size     = new System.Drawing.Size(138, 44);
     this.StartBtn.TabIndex = 6;
     this.StartBtn.Text     = "Start";
     this.StartBtn.Click   += new System.EventHandler(this.StartBtn_Click);
     //
     // WindowControl
     //
     this.WindowControl.AutoSizeMode             = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.WindowControl.AutoValidate             = System.Windows.Forms.AutoValidate.EnableAllowFocusChange;
     this.WindowControl.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.WindowControl.HDoubleClickToFitContent = true;
     this.WindowControl.HDrawingObjectsModifier  = HalconDotNet.HSmartWindowControl.DrawingObjectsModifier.None;
     this.WindowControl.HImagePart               = new System.Drawing.Rectangle(0, 0, 768, 576);
     this.WindowControl.HKeepAspectRatio         = true;
     this.WindowControl.HMoveContent             = true;
     this.WindowControl.HZoomContent             = HalconDotNet.HSmartWindowControl.ZoomContent.WheelForwardZoomsIn;
     this.WindowControl.Location                 = new System.Drawing.Point(2, 2);
     this.WindowControl.Margin                   = new System.Windows.Forms.Padding(2);
     this.WindowControl.Name                     = "WindowControl";
     this.WindowControl.Size                     = new System.Drawing.Size(598, 411);
     this.WindowControl.TabIndex                 = 7;
     this.WindowControl.WindowSize               = new System.Drawing.Size(598, 411);
     this.WindowControl.Load                    += new System.EventHandler(this.WindowControl_Load);
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 2;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 150F));
     this.tableLayoutPanel1.Controls.Add(this.WindowControl, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 1, 0);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 1;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(752, 415);
     this.tableLayoutPanel1.TabIndex = 8;
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.ColumnCount = 1;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel2.Controls.Add(this.LoadBtn, 0, 2);
     this.tableLayoutPanel2.Controls.Add(this.shotComboBox, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.StopBtn, 0, 7);
     this.tableLayoutPanel2.Controls.Add(this.StartBtn, 0, 6);
     this.tableLayoutPanel2.Controls.Add(this.Savebtn, 0, 4);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(605, 3);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 8;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(144, 409);
     this.tableLayoutPanel2.TabIndex = 10;
     //
     // shotComboBox
     //
     this.shotComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.shotComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.shotComboBox.FormattingEnabled = true;
     this.shotComboBox.Items.AddRange(new object[] {
         "1",
         "2",
         "3",
         "4"
     });
     this.shotComboBox.Location = new System.Drawing.Point(3, 53);
     this.shotComboBox.Name     = "shotComboBox";
     this.shotComboBox.Size     = new System.Drawing.Size(138, 33);
     this.shotComboBox.TabIndex = 8;
     //
     // StopBtn
     //
     this.StopBtn.Enabled  = false;
     this.StopBtn.Location = new System.Drawing.Point(3, 353);
     this.StopBtn.Name     = "StopBtn";
     this.StopBtn.Size     = new System.Drawing.Size(138, 45);
     this.StopBtn.TabIndex = 9;
     this.StopBtn.Text     = "Stop";
     this.StopBtn.Click   += new System.EventHandler(this.StopBtn_Click);
     //
     // Savebtn
     //
     this.Savebtn.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.Savebtn.Enabled  = false;
     this.Savebtn.Location = new System.Drawing.Point(3, 203);
     this.Savebtn.Name     = "Savebtn";
     this.Savebtn.Size     = new System.Drawing.Size(138, 44);
     this.Savebtn.TabIndex = 10;
     this.Savebtn.Text     = "Save Master";
     this.Savebtn.UseVisualStyleBackColor = true;
     this.Savebtn.Click += new System.EventHandler(this.Savebtn_Click);
     //
     // ExecExtProcForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(752, 415);
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name         = "ExecExtProcForm";
     this.Text         = "Execute External HDevelop Procedures via HDevEngine";
     this.WindowState  = System.Windows.Forms.FormWindowState.Maximized;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ExecExtProcForm_FormClosing);
     this.Load        += new System.EventHandler(this.ExecExtProcForm_Load);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Beispiel #5
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components     = new System.ComponentModel.Container();
            this.MatchingLabel  = new System.Windows.Forms.Label();
            this.StartBtn       = new System.Windows.Forms.Button();
            this.StopBtn        = new System.Windows.Forms.Button();
            this.TrainBtn       = new System.Windows.Forms.Button();
            this.Timer          = new System.Windows.Forms.Timer(this.components);
            this.CopyrightLabel = new System.Windows.Forms.Label();
            this.WindowControl  = new HalconDotNet.HSmartWindowControl();
            this.SuspendLayout();
            //
            // MatchingLabel
            //
            this.MatchingLabel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.MatchingLabel.Location   = new System.Drawing.Point(16, 520);
            this.MatchingLabel.Name       = "MatchingLabel";
            this.MatchingLabel.Size       = new System.Drawing.Size(554, 16);
            this.MatchingLabel.TabIndex   = 19;
            this.MatchingLabel.Text       = "Ready to train shape model";
            //
            // StartBtn
            //
            this.StartBtn.Location = new System.Drawing.Point(684, 64);
            this.StartBtn.Name     = "StartBtn";
            this.StartBtn.Size     = new System.Drawing.Size(119, 32);
            this.StartBtn.TabIndex = 28;
            this.StartBtn.Text     = "Start Matching";
            this.StartBtn.Click   += new System.EventHandler(this.StartBtn_Click);
            //
            // StopBtn
            //
            this.StopBtn.Location = new System.Drawing.Point(684, 112);
            this.StopBtn.Name     = "StopBtn";
            this.StopBtn.Size     = new System.Drawing.Size(119, 32);
            this.StopBtn.TabIndex = 27;
            this.StopBtn.Text     = "Stop Matching";
            this.StopBtn.Click   += new System.EventHandler(this.StopBtn_Click);
            //
            // TrainBtn
            //
            this.TrainBtn.Location = new System.Drawing.Point(684, 16);
            this.TrainBtn.Name     = "TrainBtn";
            this.TrainBtn.Size     = new System.Drawing.Size(119, 32);
            this.TrainBtn.TabIndex = 26;
            this.TrainBtn.Text     = "Train Shape Model";
            this.TrainBtn.Click   += new System.EventHandler(this.CreateBtn_Click);
            //
            // Timer
            //
            this.Timer.Interval = 1;
            this.Timer.Tick    += new System.EventHandler(this.Timer_Tick);
            //
            // CopyrightLabel
            //
            this.CopyrightLabel.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.CopyrightLabel.Location  = new System.Drawing.Point(16, 540);
            this.CopyrightLabel.Name      = "CopyrightLabel";
            this.CopyrightLabel.Size      = new System.Drawing.Size(787, 16);
            this.CopyrightLabel.TabIndex  = 29;
            this.CopyrightLabel.Text      = "© 2018 MVTec Software GmbH";
            this.CopyrightLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // WindowControl
            //
            this.WindowControl.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.WindowControl.HMoveContent            = true;
            this.WindowControl.HZoomContent            = HalconDotNet.HSmartWindowControl.ZoomContent.WheelForwardZoomsIn;
            this.WindowControl.HDrawingObjectsModifier = HalconDotNet.HSmartWindowControl.DrawingObjectsModifier.None;
            this.WindowControl.HImagePart = new System.Drawing.Rectangle(0, 0, 652, 494);
            this.WindowControl.Location   = new System.Drawing.Point(12, 16);
            this.WindowControl.Margin     = new System.Windows.Forms.Padding(2, 2, 2, 2);
            this.WindowControl.Name       = "WindowControl";
            this.WindowControl.Size       = new System.Drawing.Size(652, 494);
            this.WindowControl.TabIndex   = 30;
            this.WindowControl.WindowSize = new System.Drawing.Size(652, 494);
            this.WindowControl.Load      += new System.EventHandler(this.WindowControl_Load);
            //
            // SerializedItemForm
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(823, 562);
            this.Controls.Add(this.WindowControl);
            this.Controls.Add(this.CopyrightLabel);
            this.Controls.Add(this.StartBtn);
            this.Controls.Add(this.StopBtn);
            this.Controls.Add(this.TrainBtn);
            this.Controls.Add(this.MatchingLabel);
            this.Name  = "SerializedItemForm";
            this.Text  = "Serialize Item Demo";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);

            this.MouseWheel += my_MouseWheel;
        }