Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MoraIdTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.validacionmoraid = ((Prestamos_Tarea3.Validacion.ValidacionMonto)(target));
                return;

            case 3:
                this.BuscarButton = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\..\..\UI\Registros\rMoras.xaml"
                this.BuscarButton.Click += new System.Windows.RoutedEventHandler(this.BuscarButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.FechaDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 5:
                this.validacionfecha = ((Prestamos_Tarea3.Validacion.ValidacionFecha)(target));
                return;

            case 6:
                this.PrestamoComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 8:
                this.validacionmonto = ((Prestamos_Tarea3.Validacion.ValidacionMonto)(target));
                return;

            case 9:
                this.DetallesDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 11:
                this.AgregarButton = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\..\..\..\UI\Registros\rMoras.xaml"
                this.AgregarButton.Click += new System.Windows.RoutedEventHandler(this.AgregarButton_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.RemoverButton = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\..\..\..\UI\Registros\rMoras.xaml"
                this.RemoverButton.Click += new System.Windows.RoutedEventHandler(this.RemoverButton_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.NuevoButton = ((System.Windows.Controls.Button)(target));

            #line 89 "..\..\..\..\..\UI\Registros\rMoras.xaml"
                this.NuevoButton.Click += new System.Windows.RoutedEventHandler(this.NuevoButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.GuardarButton = ((System.Windows.Controls.Button)(target));

            #line 96 "..\..\..\..\..\UI\Registros\rMoras.xaml"
                this.GuardarButton.Click += new System.Windows.RoutedEventHandler(this.GuardarButton_Click);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\..\..\..\UI\Registros\rMoras.xaml"
                this.EliminarButton.Click += new System.Windows.RoutedEventHandler(this.EliminarButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PrestamoIdTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.BuscarButton = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\..\..\UI\Registros\rPrestamo.xaml"
                this.BuscarButton.Click += new System.Windows.RoutedEventHandler(this.BuscarButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.FechaPrestamoDP = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 4:
                this.validacionfecha = ((Prestamos_Tarea3.Validacion.ValidacionFecha)(target));
                return;

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

            case 6:
                this.validacionid = ((Prestamos_Tarea3.Validacion.ValidacionMonto)(target));
                return;

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

            case 8:
                this.validacionconepto = ((Prestamos_Tarea3.Validacion.ValidacionCadena)(target));
                return;

            case 9:
                this.MontoTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.validacionmonto = ((Prestamos_Tarea3.Validacion.ValidacionMonto)(target));
                return;

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

            case 12:
                this.NuevoButton = ((System.Windows.Controls.Button)(target));

            #line 70 "..\..\..\..\..\UI\Registros\rPrestamo.xaml"
                this.NuevoButton.Click += new System.Windows.RoutedEventHandler(this.NuevoButton_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.GuardarButton = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\..\..\..\UI\Registros\rPrestamo.xaml"
                this.GuardarButton.Click += new System.Windows.RoutedEventHandler(this.GuardarButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.EliminarButton = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\..\..\..\UI\Registros\rPrestamo.xaml"
                this.EliminarButton.Click += new System.Windows.RoutedEventHandler(this.EliminarButton_Click);

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