更新时间:2023-12-06 16:58:52
转到项目"program.cs",并在行中更改表单名称,如下所示:静态 class 程序 { // < summary> // 应用程序的主要入口点. // </summary> [STAThread] 静态 无效 Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault( false ); Application.Run(新 Form1()); // < --------在此处更改 } }
i have a project which consist of many forms. I want to run a particular form from a that project, which is not happening. An another form from the same project starts at first which i dont want to.
I am using visual studio ultimate. 2010. Can any one help me plz
Go to the projects "program.cs" and change the form name in the line like the following :static class Program { // <summary> // The main entry point for the application. // </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); // <-------- change here } }