mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-23 16:26:35 +08:00
47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
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();
|
|
}
|
|
}
|
|
}
|