PIbd-21 Chechevitsyn S.A LabWork_2 #2

Closed
shaman_stepan wants to merge 10 commits from LabWork2 into Labwork1
Showing only changes of commit 6c01e728bb - Show all commits

View File

@ -69,7 +69,7 @@ MessageBoxButtons.OK, MessageBoxIcon.Error);
{
try
{
if (int.Parse(numericUpDownCount.Value.ToString()) <= 0 || dateTimePickerDateMaterial.Value.Date <= DateTime.Now || checkedListBox1.SelectedItems.Count == 0)
if (int.Parse(numericUpDownCount.Value.ToString()) <= 0 || dateTimePickerDateMaterial.Value.Date <= DateTime.Now || checkedListBox.SelectedItems.Count == 0)
{
throw new Exception("Имеются незаполненные поля");
}