private void addChildButton_Click(object sender, RoutedEventArgs e) { childSignUp signUp = new childSignUp(); signUp.roomID.Visibility = Visibility.Hidden; signUp.Show(); }
private void addChildButton_Click(object sender, RoutedEventArgs e) { if (signedUp == true) { childSignUp signUp = new childSignUp(); signUp.roomID.Visibility = Visibility.Hidden; signUp.Show(); } else { MessageBox.Show("Please Sign Up first", "Error", MessageBoxButton.OK, MessageBoxImage.None); } }