コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ventanaPrincipal1 = ((Proyecto_ArmandoSarrionGonzalez.MainWindow)(target));
                return;

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

            case 3:
                this.btnRegistro = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ventanaPrincipal1 = ((Proyecto_ArmandoSarrionGonzalez.MainWindow)(target));

            #line 8 "..\..\..\Vistas-Controladores\ventanaInicio.xaml"
                this.ventanaPrincipal1.Loaded += new System.Windows.RoutedEventHandler(this.VentanaPrincipal1_Loaded);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\Vistas-Controladores\ventanaInicio.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.BtnLogin_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\Vistas-Controladores\ventanaInicio.xaml"
                this.btnRegistro.Click += new System.Windows.RoutedEventHandler(this.BtnRegistro_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.imgBienvenido = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }