关于c#和visionpro
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Da...
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Cognex.VisionPro;using Cognex.VisionPro.Display;using Cognex.VisionPro.QuickBuild;using System.IO;using Cognex.VisionPro.ToolGroup;namespace WindowsFormsApplication1{ public partial class Form2 : Form { CogJobManager myJobManager;//顶层类,提供全局信息 CogJob myJob;//工作单元 CogJobIndependent myIndependentJob;//包含所有独立模式唯一的属性,方法和事件 //CogToolGroup myCogToolGroupTool; CogToolGroup myTG1; public Form2() { InitializeComponent(); } private void cogToolGroupEditV21_Load(object sender, EventArgs e) { //myCogToolGroupTool = CogJobManager.CogToolGroupTool; myTG1 = myJobManager.Job(0).VisionTool; cogToolGroupEditV21.Subject = myTG1; } }}
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询