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

window_frame() публичный Метод

public window_frame ( ) : System
Результат System
        public window_frame()
        {
            InitializeComponent();

            //Static Configuration Values:
            this.Width = configurations.frame_width;
            //this.title_bar.Background = new SolidColorBrush(Color.;
            //this.frame.BorderBrush = new SolidColorBrush(Color.;
            this.title_bar.Height = configurations.frame_title_bar_height;
            this.window_icon.Width = configurations.frame_icon_width;
            var b1 = new ImageBrush();
            b1.ImageSource = configurations.img_close_icon;
            this.close.Background = b1;
            var b2 = new ImageBrush();
            b2.ImageSource = configurations.img_change_view_stack_icon;
            this.change_view.Background = b2;
            this.window_icon.Source = configurations.img_collection_window_icon;

            if (configurations.response_to_mouse_clicks)
                this.close.Click += new RoutedEventHandler(close_Click);
            //this.change_view.Click += new RoutedEventHandler(change_view_Click);
            this.close.PreviewTouchDown += new EventHandler<TouchEventArgs>(close_Click);
        }