namespace LB_VisionControl
|
{
|
partial class UserHSmartWindowControl
|
{
|
/// <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()
|
{
|
components = new System.ComponentModel.Container();
|
RightContextMenuStrip = new ContextMenuStrip(components);
|
resizeImageStripMenuItem = new ToolStripMenuItem();
|
autoSizeStripMenuItem = new ToolStripMenuItem();
|
mouseIndexStripMenuItem = new ToolStripMenuItem();
|
BtmStatusStrip = new StatusStrip();
|
StatusLabel = new ToolStripStatusLabel();
|
pnl = new Panel();
|
hWindowControl = new HalconDotNet.HSmartWindowControl();
|
RightContextMenuStrip.SuspendLayout();
|
BtmStatusStrip.SuspendLayout();
|
pnl.SuspendLayout();
|
SuspendLayout();
|
//
|
// RightContextMenuStrip
|
//
|
RightContextMenuStrip.Items.AddRange(new ToolStripItem[] { resizeImageStripMenuItem, autoSizeStripMenuItem, mouseIndexStripMenuItem });
|
RightContextMenuStrip.Name = "RightContextMenuStrip";
|
RightContextMenuStrip.Size = new Size(149, 70);
|
//
|
// resizeImageStripMenuItem
|
//
|
resizeImageStripMenuItem.Name = "resizeImageStripMenuItem";
|
resizeImageStripMenuItem.Size = new Size(148, 22);
|
resizeImageStripMenuItem.Text = "重新缩放图像";
|
resizeImageStripMenuItem.Click += resizeImageStripMenuItem_Click;
|
//
|
// autoSizeStripMenuItem
|
//
|
autoSizeStripMenuItem.Checked = true;
|
autoSizeStripMenuItem.CheckState = CheckState.Checked;
|
autoSizeStripMenuItem.Name = "autoSizeStripMenuItem";
|
autoSizeStripMenuItem.Size = new Size(148, 22);
|
autoSizeStripMenuItem.Text = "图像自动适应";
|
autoSizeStripMenuItem.Click += autoSizeStripMenuItem_Click;
|
//
|
// mouseIndexStripMenuItem
|
//
|
mouseIndexStripMenuItem.Name = "mouseIndexStripMenuItem";
|
mouseIndexStripMenuItem.Size = new Size(148, 22);
|
mouseIndexStripMenuItem.Text = "鼠标索引像素";
|
mouseIndexStripMenuItem.Click += mouseIndexStripMenuItem_Click;
|
//
|
// BtmStatusStrip
|
//
|
BtmStatusStrip.Items.AddRange(new ToolStripItem[] { StatusLabel });
|
BtmStatusStrip.Location = new Point(0, 220);
|
BtmStatusStrip.Name = "BtmStatusStrip";
|
BtmStatusStrip.Padding = new Padding(1, 0, 16, 0);
|
BtmStatusStrip.Size = new Size(274, 22);
|
BtmStatusStrip.TabIndex = 44;
|
BtmStatusStrip.Text = "statusStrip1";
|
//
|
// StatusLabel
|
//
|
StatusLabel.Name = "StatusLabel";
|
StatusLabel.Size = new Size(0, 17);
|
//
|
// pnl
|
//
|
pnl.Controls.Add(hWindowControl);
|
pnl.Dock = DockStyle.Fill;
|
pnl.Location = new Point(0, 0);
|
pnl.Name = "pnl";
|
pnl.Size = new Size(274, 220);
|
pnl.TabIndex = 45;
|
//
|
// hWindowControl
|
//
|
hWindowControl.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
hWindowControl.AutoValidate = AutoValidate.EnableAllowFocusChange;
|
hWindowControl.BackColor = Color.Black;
|
hWindowControl.ContextMenuStrip = RightContextMenuStrip;
|
hWindowControl.Dock = DockStyle.Fill;
|
hWindowControl.HDoubleClickToFitContent = true;
|
hWindowControl.HDrawingObjectsModifier = HalconDotNet.HSmartWindowControl.DrawingObjectsModifier.None;
|
hWindowControl.HImagePart = new Rectangle(0, 88, 2591, 1767);
|
hWindowControl.HKeepAspectRatio = true;
|
hWindowControl.HMoveContent = true;
|
hWindowControl.HZoomContent = HalconDotNet.HSmartWindowControl.ZoomContent.WheelForwardZoomsIn;
|
hWindowControl.Location = new Point(0, 0);
|
hWindowControl.Margin = new Padding(4);
|
hWindowControl.Name = "hWindowControl";
|
hWindowControl.Size = new Size(274, 220);
|
hWindowControl.TabIndex = 43;
|
hWindowControl.WindowSize = new Size(274, 220);
|
hWindowControl.HMouseMove += hWindowControl_HMouseMove;
|
hWindowControl.HMouseDown += hWindowControl_HMouseDown;
|
hWindowControl.HMouseUp += hWindowControl_HMouseUp;
|
//
|
// UserHSmartWindowControl
|
//
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
AutoScaleMode = AutoScaleMode.Font;
|
Controls.Add(pnl);
|
Controls.Add(BtmStatusStrip);
|
Margin = new Padding(4);
|
Name = "UserHSmartWindowControl";
|
Size = new Size(274, 242);
|
Load += UserHSmartWindowControl_Load;
|
SizeChanged += UserHSmartWindowControl_SizeChanged;
|
MouseWheel += UserHSmartWindowControl_HMouseWheel;
|
RightContextMenuStrip.ResumeLayout(false);
|
BtmStatusStrip.ResumeLayout(false);
|
BtmStatusStrip.PerformLayout();
|
pnl.ResumeLayout(false);
|
ResumeLayout(false);
|
PerformLayout();
|
}
|
|
#endregion
|
private System.Windows.Forms.StatusStrip BtmStatusStrip;
|
private System.Windows.Forms.ToolStripStatusLabel StatusLabel;
|
private ContextMenuStrip RightContextMenuStrip;
|
private ToolStripMenuItem autoSizeStripMenuItem;
|
private ToolStripMenuItem mouseIndexStripMenuItem;
|
private ToolStripMenuItem resizeImageStripMenuItem;
|
private Panel pnl;
|
private HalconDotNet.HSmartWindowControl hWindowControl;
|
}
|
}
|