DevExpress 程序启动设置


using
System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using DevExpress.Utils.Drawing.Helpers; namespace NN { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { DevExpress.UserSkins.BonusSkins.Register(); if (!NativeVista.IsWindows7) { DevExpress.Skins.SkinManager.EnableFormSkins(); } Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle("Xmas 2008 Blue"); if (!DevExpress.Skins.SkinManager.AllowFormSkins) DevExpress.Skins.SkinManager.EnableFormSkins(); Application.Run(new frmMain()); } } }

 

你可能感兴趣的:(DevExpress)