feat: installer

This commit is contained in:
2026-03-05 11:31:36 +01:00
parent 835286b629
commit ff3805f8d1
7 changed files with 1038 additions and 71 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.Diagnostics;
using System.Windows.Forms;
namespace CarManagerV3
@@ -9,11 +10,13 @@ namespace CarManagerV3
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
static void Main(string[] args)
{
string pathToOpen = null;
if (args.Length > 0) pathToOpen = args[0];
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
Application.Run(new MainForm(pathToOpen));
}
}
}