This commit is contained in:
Frozd
2025-11-28 09:52:24 +01:00
parent 7d71783102
commit c7076476f6
11 changed files with 103 additions and 108 deletions

View File

@@ -29,11 +29,6 @@ namespace CarManagerV2
lblID.Text = $"ID: {car.Id}";
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void tbxMake_TextChanged(object sender, EventArgs e)
{
car.Make = tbxMake.Text;
@@ -71,7 +66,7 @@ namespace CarManagerV2
var msgbox = new PleaseWait();
msgbox.Show();
Application.DoEvents();
StateManager.updateCar(car);
StateManager.UpdateCar(car);
Image fooimg = ImageManager.GetImage(car);
msgbox.Close();
this.Close();
@@ -85,7 +80,7 @@ namespace CarManagerV2
if (result == DialogResult.Yes)
{
Console.WriteLine("Deleting car: " + car.Id);
StateManager.removeCar(car);
StateManager.RemoveCar(car);
this.Close();
}
}