mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 18:25:40 +02:00
29 lines
751 B
C#
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
|
|
}
|
|
}
|
|
}
|