예제 #1
0
        private void addChildButton_Click(object sender, RoutedEventArgs e)
        {
            childSignUp signUp = new childSignUp();

            signUp.roomID.Visibility = Visibility.Hidden;
            signUp.Show();
        }
예제 #2
0
 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);
     }
 }