dev: implement proxy creds

This commit is contained in:
2026-03-09 14:19:37 +01:00
parent 11ea32b490
commit 49c963078a
9 changed files with 17170 additions and 10824 deletions

View File

@@ -13,6 +13,13 @@ namespace CarManagerV3
List<Car> cars = new List<Car>();
string filepath = "";
public static MainForm GetMainForm()
{
// This is a singleton pattern to ensure only one instance of MainForm exists.
// If you need to access the MainForm instance, you can use this method.
return Application.OpenForms.OfType<MainForm>().FirstOrDefault() ?? new MainForm();
}
public MainForm(string pathToOpen = "")
{
InitializeComponent();