上一页 1 ··· 7 8 9 10 11 12 13 下一页
Regex r = new Regex("abc"); // 定义一个Regex对象实例Match m = r.Match("123abc456"); // 在字符串中匹配if (m.Success) Read More
posted @ 2020-03-10 16:47 LcVong Views(64) Comments(0) Diggs(0) Edit
Regex r = new Regex("abc"); // 定义一个Regex对象实例 Match m = r.Match("123abc456"); // 在字符串中匹配 if (m.Success) Read More
posted @ 2020-03-10 16:47 LcVong Views(1969) Comments(0) Diggs(0) Edit
只要在被调用方法的窗体程序内加上如下截图这两句代码即可: 注意:被调用的窗体必须是运行的状态下才可以调用,否则提示未找到实例。或者NEW以下。 Read More
posted @ 2020-03-10 13:46 LcVong Views(816) Comments(0) Diggs(0) Edit
只要在被调用方法的窗体程序内加上如下截图这两句代码即可: 注意:被调用的窗体必须是运行的状态下才可以调用,否则提示未找到实例。或者NEW以下。 Read More
posted @ 2020-03-10 13:46 LcVong Views(107) Comments(0) Diggs(0) Edit
只要再程序里面增加如下代码即可: /// /// 禁用窗体关闭按钮 /// /// protected override void WndProc(ref Message m) { const int WM_SYSCOMMAND = 0x0112;... Read More
posted @ 2020-03-09 15:00 LcVong Views(99) Comments(0) Diggs(0) Edit
只要再程序里面增加如下代码即可: /// <summary> /// 禁用窗体关闭按钮 /// </summary> /// <param name="m"></param> protected override void WndProc(ref Message m) { const int WM_ Read More
posted @ 2020-03-09 15:00 LcVong Views(899) Comments(0) Diggs(0) Edit
第一步:在Halcon里面生成对应的C#程序,如下图: 第二步,找到对应生成的C#文件,复制到自己的项目中,并添加,如下图: 第三步,找到对应的在Halcon根目录下找到Halcon.DLL,项目-添加引用-添加进来,如下图: 第四步,调用Halcon生成的算子,如下图: HDevelopExpor Read More
posted @ 2020-03-09 11:57 LcVong Views(3786) Comments(0) Diggs(0) Edit
第一步:在Halcon里面生成对应的C#程序,如下图: 第二步,找到对应生成的C#文件,复制到自己的项目中,并添加,如下图: 第三步,找到对应的在Halcon根目录下找到Halcon.DLL,项目-... Read More
posted @ 2020-03-09 11:57 LcVong Views(234) Comments(0) Diggs(0) Edit
这个上网查了一下,网上说是: 所以我找了一下,发现我的VS里面C#没有的设置64还是86,最后找到了,操作如下截图: 再去选择配置管理器,就有了64和86。选择自己调用DLL的类型是32还是64再去选择运... Read More
posted @ 2020-03-09 11:22 LcVong Views(145) Comments(0) Diggs(0) Edit
这个上网查了一下,网上说是: 所以我找了一下,发现我的VS里面C#没有的设置64还是86,最后找到了,操作如下截图: 再去选择配置管理器,就有了64和86。选择自己调用DLL的类型是32还是64再去选择运行时是86还是64,就不会报错了。 Read More
posted @ 2020-03-09 11:22 LcVong Views(542) Comments(0) Diggs(0) Edit
上一页 1 ··· 7 8 9 10 11 12 13 下一页