PIbd-21. Rodionov I.A. Lab work 02. Hard #5

Closed
ILRodionov wants to merge 15 commits from lab2_hard into lab2_base
2 changed files with 1 additions and 3 deletions
Showing only changes of commit 63875c64d0 - Show all commits

View File

@ -106,7 +106,6 @@
Name = "FormComponent";
StartPosition = FormStartPosition.CenterScreen;
Text = "Компонент";
Load += FormComponent_Load;
ResumeLayout(false);
PerformLayout();
}

View File

@ -97,8 +97,7 @@ namespace IceCreamShopView
Id = _id ?? 0,
ShopName = textBoxName.Text,
Address = textBoxAddress.Text,
DateOpening = dateTimePicker.Value,
ShopIceCreams = _shopIceCreams
DateOpening = dateTimePicker.Value
};
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
if (!operationResult)