mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-29 03:36:36 +08:00
传输优化
This commit is contained in:
46
ToolLib.VisionJob/FormJobManage.cs
Normal file
46
ToolLib.VisionJob/FormJobManage.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
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 WeifenLuo.WinFormsUI.Docking;
|
||||
|
||||
namespace ToolLib.VisionJob
|
||||
{
|
||||
public partial class FormJobManage : DockContent
|
||||
{
|
||||
public FormJobManage()
|
||||
{
|
||||
InitializeComponent();
|
||||
_instance = this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 窗体对象实例
|
||||
/// </summary>
|
||||
private static FormJobManage _instance;
|
||||
public static FormJobManage Instance
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_instance == null)
|
||||
_instance = new FormJobManage();
|
||||
return _instance;
|
||||
}
|
||||
}
|
||||
|
||||
private void FormJobManage_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void btnSignael_Click(object sender, EventArgs e)
|
||||
{
|
||||
string jobName = tabJobUnion.SelectedTab.Text;
|
||||
VisionJobParams.pVisionProject.Project[jobName].Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user