예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.panel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 41 "..\..\..\..\View\VehiculosView.xaml"
                this.btnNuevoVehiculo.Click += new System.Windows.RoutedEventHandler(this.btnNuevo_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.cmbPlazas = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.cmbTamanio = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 7:
                this.btnBuscar = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\..\..\View\VehiculosView.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.btnBuscar_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.loadingPanel = ((Flotix2021.Controls.LoadingPanel)(target));
                return;

            case 9:
                this.lstVehic = ((System.Windows.Controls.ListView)(target));

            #line 126 "..\..\..\..\View\VehiculosView.xaml"
                this.lstVehic.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.listView_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.panel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 41 "..\..\..\..\View\AlquileresView.xaml"
                this.btnNuevoAlquiler.Click += new System.Windows.RoutedEventHandler(this.btnNuevo_Click);

            #line default
            #line hidden
                return;

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

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

            case 5:
                this.btnBuscar = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\..\..\View\AlquileresView.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.btnBuscar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.loadingPanel = ((Flotix2021.Controls.LoadingPanel)(target));
                return;

            case 7:
                this.lstAlq = ((System.Windows.Controls.ListView)(target));

            #line 100 "..\..\..\..\View\AlquileresView.xaml"
                this.lstAlq.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.listView_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.panel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.txtUsuario = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 4:
                this.txtError = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btnEntrar = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\..\..\View\LoginWindow.xaml"
                this.btnEntrar.Click += new System.Windows.RoutedEventHandler(this.btnEntrar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.loadingPanel = ((Flotix2021.Controls.LoadingPanel)(target));
                return;

            case 7:
                this.btnSalir = ((System.Windows.Controls.Button)(target));

            #line 121 "..\..\..\..\View\LoginWindow.xaml"
                this.btnSalir.Click += new System.Windows.RoutedEventHandler(this.btnSalir_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.panel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

            case 6:
                this.btnBuscar = ((System.Windows.Controls.Button)(target));

            #line 93 "..\..\..\..\View\InicioView.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.btnBuscar_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.loadingPanel = ((Flotix2021.Controls.LoadingPanel)(target));
                return;

            case 8:
                this.lstAle = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.panel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.txtTitulo = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 47 "..\..\..\..\View\AjustesView.xaml"
                this.btnAjustes.Click += new System.Windows.RoutedEventHandler(this.btn_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\..\View\AjustesView.xaml"
                this.btnGestionUsuarios.Click += new System.Windows.RoutedEventHandler(this.btn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.borderContent = ((System.Windows.Controls.Border)(target));
                return;

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

            case 7:
                this.txtPwdActual = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 8:
                this.txtPwdNueva = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 9:
                this.txtPwdNuevaRepetir = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 10:
                this.txtErrorCambio = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.loadingPanelCambio = ((Flotix2021.Controls.LoadingProgressBar)(target));
                return;

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

            #line 152 "..\..\..\..\View\AjustesView.xaml"
                this.btnAceptarCambioPwd.Click += new System.Windows.RoutedEventHandler(this.btn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.gridGestionUsuario = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 168 "..\..\..\..\View\AjustesView.xaml"
                this.btnNuevoUsuario.Click += new System.Windows.RoutedEventHandler(this.btn_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.txtNombre = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 17:
                this.cmbRol = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.btnBuscar = ((System.Windows.Controls.Button)(target));

            #line 231 "..\..\..\..\View\AjustesView.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.btnBuscar_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.loadingPanel = ((Flotix2021.Controls.LoadingPanel)(target));
                return;

            case 20:
                this.lstUsuarios = ((System.Windows.Controls.ListView)(target));

            #line 251 "..\..\..\..\View\AjustesView.xaml"
                this.lstUsuarios.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.listView_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.gridNuevoModificarUsuario = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 22:
                this.txtNombreNuevoModif = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.txtEmailNuevoModif = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.cmbRolNuevoModif = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.txtErrorNuevo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.loadingPanelNuevo = ((Flotix2021.Controls.LoadingProgressBar)(target));
                return;

            case 27:
                this.btnEliminar = ((System.Windows.Controls.Button)(target));

            #line 406 "..\..\..\..\View\AjustesView.xaml"
                this.btnEliminar.Click += new System.Windows.RoutedEventHandler(this.btn_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btnModifAceptar = ((System.Windows.Controls.Button)(target));

            #line 413 "..\..\..\..\View\AjustesView.xaml"
                this.btnModifAceptar.Click += new System.Windows.RoutedEventHandler(this.btn_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.btnCancelar = ((System.Windows.Controls.Button)(target));

            #line 420 "..\..\..\..\View\AjustesView.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btn_Click);

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