mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-31 13:56:35 +08:00
1、增加单独Job的保存、添加和创建
2、每个Job单独绑定一个图像窗体 3、支持通过以job的方式外部调用
This commit is contained in:
35
FormLib/FormHalconWindow.cs
Normal file
35
FormLib/FormHalconWindow.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using ViewROI;
|
||||
|
||||
namespace FormLib
|
||||
{
|
||||
public partial class FormHalconWindow : Form
|
||||
{
|
||||
public HWindowTool_Smart myHWindow = new HWindowTool_Smart();
|
||||
public string WindowName { get; set; }
|
||||
|
||||
public FormHalconWindow(string inputName)
|
||||
{
|
||||
InitializeComponent();
|
||||
WindowName = inputName;
|
||||
}
|
||||
|
||||
private void FormHalconWindow_Load(object sender, EventArgs e)
|
||||
{
|
||||
panel1.Controls.Add(myHWindow);
|
||||
myHWindow.Dock = DockStyle.Fill;
|
||||
}
|
||||
public void ClearWindow()
|
||||
{
|
||||
myHWindow.DispHWindow.ClearWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user