Beispiel #1
0
        private void btn_task01_Click(object sender, RoutedEventArgs e)
        {
            this.Visibility = Visibility.Hidden;

            Form_Task01 form_Task01 = new Form_Task01();

            form_Task01.ShowDialog();

            this.Visibility = Visibility.Visible;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Task01 = ((HomeWork_03.Form_Task01)(target));
                return;

            case 2:

            #line 14 "..\..\Form_Task01.xaml"
                ((System.Windows.Controls.Grid)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 3:
                this.columnGrid_0 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.columnGrid_1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 5:
                this.Image_Task01_image = ((System.Windows.Controls.Image)(target));

            #line 25 "..\..\Form_Task01.xaml"
                this.Image_Task01_image.DragEnter += new System.Windows.DragEventHandler(this.Image_Task01_image_DragEnter);

            #line default
            #line hidden

            #line 26 "..\..\Form_Task01.xaml"
                this.Image_Task01_image.Drop += new System.Windows.DragEventHandler(this.Image_Task01_image_Drop);

            #line default
            #line hidden

            #line 28 "..\..\Form_Task01.xaml"
                this.Image_Task01_image.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_Task01_image_PreviewMouseDown);

            #line default
            #line hidden

            #line 28 "..\..\Form_Task01.xaml"
                this.Image_Task01_image.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Image_Task01_image_PreviewMouseMove);

            #line default
            #line hidden

            #line 28 "..\..\Form_Task01.xaml"
                this.Image_Task01_image.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_Task01_image_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 6:
                this.Lable_Task01_lable = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.listBox_Task01_filesDragNDrop = ((System.Windows.Controls.ListBox)(target));

            #line 40 "..\..\Form_Task01.xaml"
                this.listBox_Task01_filesDragNDrop.DragEnter += new System.Windows.DragEventHandler(this.listBox_Task01_filesDragNDrop_DragEnter);

            #line default
            #line hidden

            #line 41 "..\..\Form_Task01.xaml"
                this.listBox_Task01_filesDragNDrop.Drop += new System.Windows.DragEventHandler(this.listBox_Task01_filesDragNDrop_Drop);

            #line default
            #line hidden

            #line 42 "..\..\Form_Task01.xaml"
                this.listBox_Task01_filesDragNDrop.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.listBox_Task01_filesDragNDrop_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 8:
                this.lll = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.Slider_Task01_scaleSlider = ((System.Windows.Controls.Slider)(target));

            #line 51 "..\..\Form_Task01.xaml"
                this.Slider_Task01_scaleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_Task01_scaleSlider_ValueChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }