improved check in order
This commit is contained in:
parent
4f96a2e097
commit
39b6bc7ef5
@ -42,7 +42,7 @@ namespace ProjectPublishing.Forms
|
||||
{
|
||||
try
|
||||
{
|
||||
if (dataGridViewMaterials.RowCount < 1)
|
||||
if (dataGridViewMaterials.RowCount < 1 || CreateListFromDataGrid().Count == 0)
|
||||
{
|
||||
throw new Exception("Имеются незаполненные поля!");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user