private void BtnAdd_Click(object sender, RoutedEventArgs e)
        {
            ProductosAdd windowAddProductos = new ProductosAdd();

            windowAddProductos.ShowDialog();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((LoginWPF.Windows.Controls.ProductosAdd)(target));
                return;

            case 2:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.button = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

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

            case 7:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 9:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 11:
                this.label_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 13:
                this.label_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 15:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.textBox_Copy3 = ((System.Windows.Controls.TextBox)(target));
                return;

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