mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 19:55:40 +02:00
Project cleanup
This commit is contained in:
32
02_Windows_App/Perun_v1/01_Classes/Program.cs
Normal file
32
02_Windows_App/Perun_v1/01_Classes/Program.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Perun_v1
|
||||
{
|
||||
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Główny punkt wejścia dla aplikacji.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
|
||||
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
|
||||
|
||||
void Application_ApplicationExit(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
Application.Run(new form_Main());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user