initial
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user