求SQL中登陆界面和主界面咋连接啊,求各位大神指导啊
额。。。就是做了一个C#的系统开发,结果弄得登陆界面和应该出来的主界面连不上,每次运行都只出来主界面,登陆界面出不来啊



using System; using System.Collections.Generic; using System.Windows.Forms; namespace TaiZhang { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm());//这里new哪个窗体,就是哪个先显示 } } }