Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginWindow = ((StudentInfoSystem.Login)(target));
                return;

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

            case 3:
                this.lbPass = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lbUname = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.btnTest = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }