diff --git a/SoftwareInstallation/SoftwareInstallationContracts/BindingModels/ShopBindingModel.cs b/SoftwareInstallation/SoftwareInstallationContracts/BindingModels/ShopBindingModel.cs index 1a6e477..edece23 100644 --- a/SoftwareInstallation/SoftwareInstallationContracts/BindingModels/ShopBindingModel.cs +++ b/SoftwareInstallation/SoftwareInstallationContracts/BindingModels/ShopBindingModel.cs @@ -9,8 +9,6 @@ namespace SoftwareInstallationContracts.BindingModels public string Address { get; set; } = string.Empty; - public int MaxCountPackages { get; set; } - public DateTime DateOpening { get; set; } = DateTime.Now; public Dictionary Packages @@ -20,5 +18,6 @@ namespace SoftwareInstallationContracts.BindingModels } = new(); public int Id { get; set; } - } -} \ No newline at end of file + public int MaxCountPackages { get; set; } + } +} diff --git a/SoftwareInstallation/SoftwareInstallationView/FormAddPackageInShop.cs b/SoftwareInstallation/SoftwareInstallationView/FormAddPackageInShop.cs index 5d990df..905a6a3 100644 --- a/SoftwareInstallation/SoftwareInstallationView/FormAddPackageInShop.cs +++ b/SoftwareInstallation/SoftwareInstallationView/FormAddPackageInShop.cs @@ -41,10 +41,10 @@ namespace SoftwareInstallationView _listPackages = packageLogic.ReadList(null); if (_listPackages != null) { - comboBoxPackage.DisplayMember = "PackageName"; - comboBoxPackage.ValueMember= "Id"; - comboBoxPackage.DataSource = _listPackages; - comboBoxPackage.SelectedItem = null; + textBoxPackage.DisplayMember = "PackageName"; + textBoxPackage.ValueMember= "Id"; + textBoxPackage.DataSource = _listPackages; + textBoxPackage.SelectedItem = null; } }