Initial commit - Pingerino network monitoring application
هذا الالتزام موجود في:
32
Program.cs
Normal file
32
Program.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using Pingerino.Infrastructure;
|
||||
|
||||
namespace Pingerino
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
// Initialize dependency injection container
|
||||
ServiceContainer.Initialize();
|
||||
|
||||
try
|
||||
{
|
||||
Application.Run(new FormPinger());
|
||||
}
|
||||
finally
|
||||
{
|
||||
// Clean up services on application exit
|
||||
ServiceContainer.Instance?.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
المرجع في مشكلة جديدة
حظر مستخدم