private void UserControl_Loaded(object sender, RoutedEventArgs e) { Вход sign = new Вход(); SignIn.Children.Clear(); SignIn.Children.Add(sign); sign.Focus(); }
private void Sign_Click(object sender, RoutedEventArgs e) { Вход sign = new Вход(); //In.Foreground =Brushes.White; In.Opacity = 1; Reg.Opacity = 0.7; SignIn.Children.Clear(); SignIn.Children.Add(sign); }