Exemplo n.º 1
0
        private void btn_task02_Click(object sender, RoutedEventArgs e)
        {
            this.Visibility = Visibility.Hidden;

            Form_Task02 form_Task02 = new Form_Task02();

            form_Task02.ShowDialog();

            this.Visibility = Visibility.Visible;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Task02 = ((HomeWork_03.Form_Task02)(target));
                return;

            case 2:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.Task02_menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 4:
                this.userGrid_clearImage = ((System.Windows.Controls.MenuItem)(target));

            #line 24 "..\..\Form_Task02.xaml"
                this.userGrid_clearImage.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.userGrid_changeImage = ((System.Windows.Controls.MenuItem)(target));

            #line 25 "..\..\Form_Task02.xaml"
                this.userGrid_changeImage.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.userGrid = ((System.Windows.Controls.Grid)(target));

            #line 30 "..\..\Form_Task02.xaml"
                this.userGrid.DragEnter += new System.Windows.DragEventHandler(this.userGrid_DragEnter);

            #line default
            #line hidden

            #line 30 "..\..\Form_Task02.xaml"
                this.userGrid.Drop += new System.Windows.DragEventHandler(this.userGrid_Drop);

            #line default
            #line hidden
                return;

            case 7:
                this.textBox_Task02_columnCount = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.textBox_Task02_rowsCount = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.btn_Task02_buildNewGrid = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\Form_Task02.xaml"
                this.btn_Task02_buildNewGrid.Click += new System.Windows.RoutedEventHandler(this.btn_Task02_buildNewGrid_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.l1 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.l2 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }