zoukankan      html  css  js  c++  java
  • 一个很郁闷的错误

    Program.cs

    只是在Form1中添加了menuStrip1,statusStrip1,toolStrip1三个控件.然后运行,出现如下错误:

    不知道如何解决啊.望高手讲下

     改为如下情况,实在想不懂,已经包含了命名空间,为什么还要全部写出来?

    using System;
    using System.Collections.Generic;
    using System.Windows.Forms;

    namespace Application
    {
        static class Program
        {
            /// <summary>
            /// 应用程序的主入口点。
            /// </summary>
            [STAThread]
            static void Main()
            {
                System.Windows.Forms.Application.EnableVisualStyles();
                System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
                System.Windows.Forms.Application.Run(new Form1());
            }
        }
    }

  • 相关阅读:
    8月15日
    【k8s】创建 tls 类型 Secret
    使用 openssl 生成 CA 证书
    【k8s】跨 Namespace 使用 Ingress
    Windows 和 Centos 导入 CA 证书
    使用 openssl 生成服务器证书
    【k8s】nginx ingress 配置 https
    【k8s】通过 https 访问 dashboard
    1012day人口普查系统
    8.3日志
  • 原文地址:https://www.cnblogs.com/luoweihua7/p/1298549.html
Copyright © 2011-2022 走看看