示例#1
0
        private void Btn_cliente_contrato_Click(object sender, RoutedEventArgs e)
        {
            List <cliente>     listaClientes = new List <cliente>();
            v_listado_clientes vl_clientes   = new v_listado_clientes(coleccion, txt_rut_asociado, listaClientes);

            vl_clientes.Visibility           = Visibility.Visible;
            vl_clientes.btn_hecho.Visibility = Visibility.Visible;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.v_lista_clientes = ((vista.ventanas.v_listado_clientes)(target));
                return;

            case 2:
                this.dtg_clientes_lista = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:
                this.rdb_rut = ((System.Windows.Controls.RadioButton)(target));

            #line 26 "..\..\..\ventanas\v_listado_clientes.xaml"
                this.rdb_rut.Checked += new System.Windows.RoutedEventHandler(this.Rdb_rut_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.rdb_actividad = ((System.Windows.Controls.RadioButton)(target));

            #line 27 "..\..\..\ventanas\v_listado_clientes.xaml"
                this.rdb_actividad.Checked += new System.Windows.RoutedEventHandler(this.Rdb_actividad_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.rdb_tipo = ((System.Windows.Controls.RadioButton)(target));

            #line 28 "..\..\..\ventanas\v_listado_clientes.xaml"
                this.rdb_tipo.Checked += new System.Windows.RoutedEventHandler(this.Rdb_tipo_Checked);

            #line default
            #line hidden
                return;

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

            case 7:
                this.cmb_filtro_actividad = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.cmb_filtro_tipo = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 32 "..\..\..\ventanas\v_listado_clientes.xaml"
                this.btn_filtro_buscar.Click += new System.Windows.RoutedEventHandler(this.Btn_filtro_buscar_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btn_hecho = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\ventanas\v_listado_clientes.xaml"
                this.btn_hecho.Click += new System.Windows.RoutedEventHandler(this.Btn_hecho_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.tbl_filtro_utilizar = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.tbl_registro_lista = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 36 "..\..\..\ventanas\v_listado_clientes.xaml"
                this.btn_desplegar_todo_lc.Click += new System.Windows.RoutedEventHandler(this.Btn_desplegar_todo_lc_Click);

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