Files
Mapo-IOB-WIN/IOB-WIN/Program.cs
T
2017-12-19 16:06:27 +01:00

26 lines
604 B
C#

using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace IOB_WIN
{
static class Program
{
[DllImport("kernel32.dll", SetLastError = true)]
static extern bool AllocConsole();
[DllImport("kernel32.dll", SetLastError = true)]
static extern bool FreeConsole();
/// <summary>
/// Punto di ingresso principale dell'applicazione.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}