Files
perun/02_Windows_App/Perun_v1/01_Classes/Program.cs
szporowolik 61e201b261 Code cleanup
2019-10-20 15:00:24 +02:00

29 lines
751 B
C#

using System;
using System.Windows.Forms;
namespace Perun_v1
{
static class Program
{
/// <summary>
/// Main entry point to app
/// </summary>
[STAThread]
static void Main()
{
// Main entry point to the app
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
void Application_ApplicationExit(object sender, EventArgs e)
{
Properties.Settings.Default.Save(); // We will save settings on exit
}
Application.Run(new form_Main()); // Run main form
}
}
}