This repository has been archived on 2023-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
PainterlyUNO/Matrix App/Program.cs

33 lines
914 B
C#
Raw Normal View History

2021-06-09 16:43:27 +00:00
using System;
using System.Windows.Forms;
namespace Matrix_App
{
2021-06-09 17:53:36 +00:00
internal static class Program
2021-06-09 16:43:27 +00:00
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
2021-06-09 17:53:36 +00:00
private static void Main()
2021-06-09 19:19:30 +00:00
{
2021-06-09 16:43:27 +00:00
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
2021-06-09 17:53:36 +00:00
2021-06-09 19:19:30 +00:00
SplashScreen.ShowSplashScreen();
2021-06-09 17:53:36 +00:00
var designer = new MatrixDesignerMain();
SplashScreen.CloseForm();
2021-06-09 19:19:30 +00:00
designer.StartPosition = FormStartPosition.CenterScreen;
designer.WindowState = FormWindowState.Minimized;
designer.Show();
designer.WindowState = FormWindowState.Normal;
2021-06-09 17:53:36 +00:00
Application.Run(designer);
2021-06-09 16:43:27 +00:00
}
}
}