Private Sub AddTeacher_Click(sender As Object, e As RoutedEventArgs) Handles AddTeacher.Click If TeacherInput.Text = "" Then WarningText.Visibility = Windows.UI.Xaml.Visibility.Visible WarningText.Text = "There is no input" Else TeacherResult.Text = "The name of the teacher is: " & TeacherInput.Text End If TeacherInput.Text = "" End Sub End Class
If TeacherInput.Text = "" Then
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)