ISEbd-22 Musatkina K. Y. Lab work 1 BASE #2

Closed
Kristina wants to merge 7 commits from lab1 into main
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 3a497e7a0b - Show all commits

View File

@ -40,7 +40,7 @@ namespace BlacksmithWorkshopView
public FormManufactureComponent()
{
InitializeComponent();
_list = logic.ReadList(null);
_list = logic.ReadList(null);//!!!!!!
if (_list != null)
{
comboBoxComponent.DisplayMember = "ComponentName";

View File

@ -11,7 +11,7 @@ namespace BlacksmithWorkshopListImplement
public class DataListSingleton
{
private static DataListSingleton? _instance;
public List<Component> Components { get; set; }
public List<Component> Components { get; set; }//!!!!
public List<Order> Orders { get; set; }
public List<Manufacture> Manufactures { get; set; }
private DataListSingleton()

View File

@ -66,7 +66,7 @@ namespace BlacksmithWorkshopListImplement.Implements
model.Id = component.Id + 1;
}
}
var newComponent = Component.Create(model);
var newComponent = Component.Create(model);//!!!!
if (newComponent == null)
{
return null;