мелкая правка
This commit is contained in:
parent
1cd02b7d2f
commit
04fdf32650
@ -62,8 +62,7 @@ namespace StudentProgressRecord
|
||||
{
|
||||
try
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(textBoxSubject.Text) ||
|
||||
string.IsNullOrWhiteSpace(textBoxSubject.Text))
|
||||
if (string.IsNullOrWhiteSpace(textBoxSubject.Text) || checkedListBoxDir.Items.Count == 0)
|
||||
{
|
||||
throw new Exception("Имя не может быть пустым");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user