假如一个解决方法有多个窗口 那么如何改变F5后首窗体呢?

解决方案 »

  1.   

    在Program.cs里修改啊!using System;
    using System.Collections.Generic;
    using System.Windows.Forms;namespace 创建数据库
    {
        static class Program
        {
            /// <summary>
            /// 应用程序的主入口点。
            /// </summary>
            [STAThread]
            static void Main()
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new Form1());//你要首先启动哪个窗体就修改成哪个
            }
        }
    }