diff --git a/CarpentryWorkshopListImplement/Models/Order.cs b/CarpentryWorkshopListImplement/Models/Order.cs index f48279e..df34b1a 100644 --- a/CarpentryWorkshopListImplement/Models/Order.cs +++ b/CarpentryWorkshopListImplement/Models/Order.cs @@ -13,14 +13,14 @@ namespace CarpentryWorkshopListImplement.Models { public class Order : IOrderModel { - public int Id { get; set; } - public int WoodId { get; set; } - public string WoodName { get; set; } = string.Empty; - public int Count { get; set; } - public double Sum { get; set; } - public OrderStatus Status { get; set; } - public DateTime DateCreate { get; set; } - public DateTime? DateImplement { get; set; } + public int Id { get; private set; } + public int WoodId { get; private set; } + public string WoodName { get; private set; } + public int Count { get; private set; } + public double Sum { get; private set; } + public OrderStatus Status { get; private set; } + public DateTime DateCreate { get; private set; } + public DateTime? DateImplement { get; private set; } public static Order? Create(OrderBindingModel? model) { if (model == null) diff --git a/CarpentryWorkshopView/CarpentryWorkshopView.csproj b/CarpentryWorkshopView/CarpentryWorkshopView.csproj index 7aa773d..329c97f 100644 --- a/CarpentryWorkshopView/CarpentryWorkshopView.csproj +++ b/CarpentryWorkshopView/CarpentryWorkshopView.csproj @@ -19,7 +19,7 @@ + - \ No newline at end of file diff --git a/CarpentryWorkshopView/FormComponent.Designer.cs b/CarpentryWorkshopView/FormComponent.Designer.cs index df40fe6..97566b9 100644 --- a/CarpentryWorkshopView/FormComponent.Designer.cs +++ b/CarpentryWorkshopView/FormComponent.Designer.cs @@ -100,7 +100,7 @@ this.Controls.Add(this.ButtonCancel); this.Controls.Add(this.ButtonSave); this.Name = "FormComponent"; - this.Text = "FormComponent"; + this.Text = "Форма Компонента"; this.Load += new System.EventHandler(this.FormComponent_Load); this.ResumeLayout(false); this.PerformLayout(); diff --git a/CarpentryWorkshopView/FormCreateOrder.Designer.cs b/CarpentryWorkshopView/FormCreateOrder.Designer.cs index cfa07c3..da640bb 100644 --- a/CarpentryWorkshopView/FormCreateOrder.Designer.cs +++ b/CarpentryWorkshopView/FormCreateOrder.Designer.cs @@ -45,7 +45,7 @@ this.labelWood.Name = "labelWood"; this.labelWood.Size = new System.Drawing.Size(43, 15); this.labelWood.TabIndex = 0; - this.labelWood.Text = "Изделия"; + this.labelWood.Text = "Изделие"; // // labelCount // diff --git a/CarpentryWorkshopView/FormMain.Designer.cs b/CarpentryWorkshopView/FormMain.Designer.cs index 02f559e..97b74be 100644 --- a/CarpentryWorkshopView/FormMain.Designer.cs +++ b/CarpentryWorkshopView/FormMain.Designer.cs @@ -151,7 +151,7 @@ this.Controls.Add(this.menuStrip1); this.MainMenuStrip = this.menuStrip1; this.Name = "FormMain"; - this.Text = "Сборка Изделияа"; + this.Text = "Сборка Изделиеа"; this.Load += new System.EventHandler(this.FormMain_Load); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); diff --git a/CarpentryWorkshopView/FormWoods.Designer.cs b/CarpentryWorkshopView/FormWoods.Designer.cs index a2d2717..ccc7286 100644 --- a/CarpentryWorkshopView/FormWoods.Designer.cs +++ b/CarpentryWorkshopView/FormWoods.Designer.cs @@ -97,7 +97,7 @@ this.Controls.Add(this.ButtonAdd); this.Controls.Add(this.dataGridView); this.Name = "FormWoods"; - this.Text = "Изделия"; + this.Text = "Изделие"; this.Load += new System.EventHandler(this.FormWoods_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); this.ResumeLayout(false); diff --git a/CarpentryWorkshopView/Program.cs b/CarpentryWorkshopView/Program.cs index efb4377..e33e82b 100644 --- a/CarpentryWorkshopView/Program.cs +++ b/CarpentryWorkshopView/Program.cs @@ -1,7 +1,7 @@ using CarpentryWorkshopBusinessLogic.BusinessLogics; using CarpentryWorkshopContracts.BusinessLogicsContracts; using CarpentryWorkshopContracts.StoragesContracts; -using CarpentryWorkshopListImplement.Implements; +using CarpentryWorkshopFileImplement.Implements; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using NLog.Extensions.Logging;