mirror of
https://github.com/DevExpress/netcore-winforms-demos.git
synced 2025-12-22 17:39:24 +00:00
Add Outlook Inspired and Stock Market demos
This commit is contained in:
28
StockMarketTraderApp/Program.cs
Normal file
28
StockMarketTraderApp/Program.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.LookAndFeel;
|
||||
using DevExpress.Skins;
|
||||
using System.Drawing;
|
||||
using DevExpress.XtraEditors;
|
||||
|
||||
namespace DevExpress.StockMarketTrader {
|
||||
static class Program {
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main() {
|
||||
WindowsFormsSettings.ForceDirectXPaint();
|
||||
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
|
||||
WindowsFormsSettings.SetDPIAware();
|
||||
DevExpress.Utils.AppearanceObject.DefaultFont = new Font("Segoe UI", 8.5F, FontStyle.Regular);
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
SkinManager.EnableFormSkins();
|
||||
UserLookAndFeel.Default.SetStyle(LookAndFeelStyle.Skin, false, false, "The Bezier");
|
||||
Application.Run(new StockMarketView());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user