using DevExpress.LookAndFeel; using DevExpress.Skins; using DevExpress.UserSkins; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Gs.DevApp { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // Application.Run(new Gs.DevApp.TestForm.FluentDesignForm1()); DevFrm.FrmLogin fmLogin = new DevFrm.FrmLogin(); fmLogin.ShowDialog(); if (fmLogin.DialogResult == DialogResult.OK) { //在线程中打开主窗体 Application.Run(new DevFrm.FrmMain()); } } } }