zoukankan      html  css  js  c++  java
  • VS2010调用halcon的时候出现试图加载格式不正确的程序(this.hWindowControl1 = new HalconDotNet.HWindowControl();)

    【重要错误修改】

            /// <summary>

            /// 设计器支持所需的方法 - 不要

            /// 使用代码编辑器修改此方法的内容。

            /// </summary>

            private void InitializeComponent()

            {

                this.button1 = new System.Windows.Forms.Button();

                this.hWindowControl1 = new HalconDotNet.HWindowControl();

                this.SuspendLayout();

                //

                // button1

                //

                this.button1.Location = new System.Drawing.Point(689, 170);

                this.button1.Name = "button1";

                this.button1.Size = new System.Drawing.Size(75, 23);

                this.button1.TabIndex = 1;

                this.button1.Text = "button1";

                this.button1.UseVisualStyleBackColor = true;

                this.button1.Click += new System.EventHandler(this.button1_Click);

                //

                // hWindowControl1

                //

                this.hWindowControl1.BackColor = System.Drawing.Color.Black;

                this.hWindowControl1.BorderColor = System.Drawing.Color.Black;

                this.hWindowControl1.ImagePart = new System.Drawing.Rectangle(0, 0, 640, 480);

                this.hWindowControl1.Location = new System.Drawing.Point(146, 59);

                this.hWindowControl1.Name = "hWindowControl1";

                this.hWindowControl1.Size = new System.Drawing.Size(320, 240);

                this.hWindowControl1.TabIndex = 2;

                this.hWindowControl1.WindowSize = new System.Drawing.Size(320, 240);

                //

     

    this.hWindowControl1 = new HalconDotNet.HWindowControl();

    试图加载格式不正确的程序

     

     

  • 相关阅读:
    electron 安装失败解决办法
    面向 B 端的产品经理
    如何学习一门新语言或框架
    斑马为什么有条纹?
    沃伦·巴菲特 | 成功的 10/10/10 法则
    如果想进入一家大公司面试,你会怎么做?
    人工智能缺陷与误觉:让机器产生幻觉的「怪异事件」
    20 世纪 70 年代的太空殖民艺术
    如何实现SSH断开后 进程仍然在后台运行
    让Linux关闭终端(关闭SSH等)后,程序继续运行
  • 原文地址:https://www.cnblogs.com/qqhfeng/p/6433639.html
Copyright © 2011-2022 走看看