Pibd-22_Lyakhov_T_I_Lab1_Simple #2

Open
funa4i wants to merge 6 commits from LabWrk01 into master
Showing only changes of commit 04fdf32650 - Show all commits

View File

@ -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("Имя не может быть пустым");
}