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

            case 2:
                this.clmNumeroLocal = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 3:
                this.clmDireccion = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 4:
                this.clmBotonEliminar = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

            #line 40 "..\..\RegistrarEmpresaPage.xaml"
                this.btnRegistrar.Click += new System.Windows.RoutedEventHandler(this.btnRegistrar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.controlesEmpresa = ((View.CamposEmpresaControl)(target));
                return;

            case 7:
                this.controlesLocal = ((View.CamposLocalControl)(target));
                return;

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

            #line 59 "..\..\RegistrarEmpresaPage.xaml"
                this.btnGuardarLocal.Click += new System.Windows.RoutedEventHandler(this.btnGuardarLocal_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.dtLocal = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 53 "..\..\ModificarEmpresaPage.xaml"
                this.btnModificarEmpresa.Click += new System.Windows.RoutedEventHandler(this.btnModificarEmpresa_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.controlesEmpresa = ((View.CamposEmpresaControl)(target));
                return;

            case 5:
                this.controlesLocal = ((View.CamposLocalControl)(target));
                return;

            case 6:
                this.btnAñadirLocal = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\ModificarEmpresaPage.xaml"
                this.btnAñadirLocal.Click += new System.Windows.RoutedEventHandler(this.btnAñadirLocal_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.controlesLocal = ((View.CamposLocalControl)(target));
                return;

            case 2:
                this.cbxEmpresa = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 36 "..\..\RegistrarLocalPage.xaml"
                this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.btnGuardar_Click);

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