in parent.Controls)
{
if(child is TextBox textbox && textbox.Text?.Length != 0){
MessageBox.Show(bla bla bla);
return false;
}
}
return true;
}
It doesn't step in to where the control is textbox
Обсуждают сегодня