private void showSkinSplashScreenButton_Click(object sender, EventArgs e)
 {
     SplashScreenManager.ShowSkinSplashScreen(
         title: "Splash Screen Demo",
         subtitle: "DevExpress WinForms Online Training",
         loading: "Just waiting for you...",
         footer: "All things come to those who wait",
         startPos: SplashFormStartPosition.CenterScreen);
 }
Exemple #2
0
 static void Main(string[] arguments)
 {
     AppHelper.WarmUp();
     AppDomain.CurrentDomain.AssemblyResolve += OnCurrentDomainAssemblyResolve;
     WindowsFormsSettings.ApplyDemoSettings();
     DataHelper.ApplicationArguments = arguments;
     System.Globalization.CultureInfo enUs = new System.Globalization.CultureInfo("en-US");
     System.Threading.Thread.CurrentThread.CurrentCulture   = enUs;
     System.Threading.Thread.CurrentThread.CurrentUICulture = enUs;
     DevExpress.Utils.LocalizationHelper.SetCurrentCulture(DataHelper.ApplicationArguments);
     DevExpress.UserSkins.BonusSkins.Register();
     DevExpress.Utils.AppearanceObject.DefaultFont = new Font("Segoe UI", 8);
     DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle("Office 2019 Colorful");
     SkinManager.EnableFormSkins();
     EnumProcessingHelper.RegisterEnum <TaskStatus>();
     EnumProcessingHelper.RegisterEnum(typeof(TaskStatus), "DevExpress.ProductsDemo.Win.TaskStatus");
     SplashScreenManager.ShowSkinSplashScreen(Tutorials.ucOverviewPage.GetSVGLogoImage(), "Build Your Own Office");
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new frmMain());
 }