nature_net.user_controls.window_content.PrepareForAuth C# (CSharp) Метод

PrepareForAuth() приватный Метод

private PrepareForAuth ( ) : void
Результат void
        private void PrepareForAuth()
        {
            if (keyboard_frame != null) keyboard_frame.Visibility = System.Windows.Visibility.Collapsed;
            this.selected_user.title.Text = "Drag your avatar and drop it here.";
            this.selected_user.center_panel.VerticalAlignment = VerticalAlignment.Center;
            this.selected_user.avatar.Source = configurations.img_choose_avatar_pic;
            this.selected_user.num_likes.Visibility = System.Windows.Visibility.Collapsed;
            this.selected_user.description.Visibility = System.Windows.Visibility.Collapsed;
            this.selected_user.user_info.Visibility = System.Windows.Visibility.Collapsed;
            this.selected_user.right_panel.Visibility = System.Windows.Visibility.Collapsed;
            this.selected_user.Background = Brushes.White;
            this.submit_comment_auth.Width = this.ActualWidth/2;
            this.cancel_comment_auth.Width = this.ActualWidth / 2;
            this.submit_comment_auth.IsEnabled = false;
        }