Revert "Фикс формы компонента и исправление проблемы с обновлением магазина"
This reverts commit 1b18777f22
.
This commit is contained in:
parent
1b18777f22
commit
63875c64d0
@ -106,7 +106,6 @@
|
||||
Name = "FormComponent";
|
||||
StartPosition = FormStartPosition.CenterScreen;
|
||||
Text = "Компонент";
|
||||
Load += FormComponent_Load;
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user