Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.groupBox_UserData = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 2:
                this.stackPanel_UserData = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.username = ((StudentInfoSystem.VisualControls.LabelTextBox)(target));
                return;

            case 4:
                this.password = ((StudentInfoSystem.VisualControls.LabelTextBox)(target));
                return;

            case 5:
                this.button_Login = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.labelTextBox = ((StudentInfoSystem.VisualControls.LabelTextBox)(target));
                return;

            case 2:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }