private void Button_CheckForms_Click(object sender, RoutedEventArgs e)
        {
            WindowCheckForms check = new WindowCheckForms();

            this.Hide();
            check.ShowDialog();
            this.Show();
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.checkforms = ((Entorno_visual.WindowCheckForms)(target));
                return;

            case 2:
                this.ListBoxForms = ((System.Windows.Controls.ListBox)(target));

            #line 11 "..\..\WindowCheckForms.xaml"
                this.ListBoxForms.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxForms_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.FirstName_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.email_Textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.adress_textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.country_Textbox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 8:
                this.button_Accepted = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\WindowCheckForms.xaml"
                this.button_Accepted.Click += new System.Windows.RoutedEventHandler(this.Button_Accepted_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\WindowCheckForms.xaml"
                this.button_NotAccepted.Click += new System.Windows.RoutedEventHandler(this.Button_NotAccepted_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.rights_textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.transfer_textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.distributor_textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.genre_textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.applied_textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.back_button = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\WindowCheckForms.xaml"
                this.back_button.Click += new System.Windows.RoutedEventHandler(this.back_button_Click);

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