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());
            }
        }
    }

  • 相关阅读:
    visitortheoryreflection.cs
    adaptertheory.cs
    factorymethodavocados.cs
    compositetheorynswithShare.cs
    在.NET/Mono上运行Java:Jeroens Frijters谈IKVM.NET
    Building ASP.NET Server ControlsTextbox.cs
    compositephotolibrary.cs
    proxyspacebook.cs
    adapterpluggabletheory.cs
    Building ASP.NET Server ControlsFancyLabel.cs
  • 原文地址:https://www.cnblogs.com/luoweihua7/p/1298549.html
Copyright © 2011-2022 走看看