Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myToggleButton = ((StudentInfoSystem.VisualControls.MyToggleButton)(target));
                return;

            case 2:
                this.toggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FirstLevelGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.SecondLevelGrid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.textBox_FirstName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.label_MiddleName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 7:
                this.label_LastName = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.textBox_LastName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.ThirdLevelGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.label_Faculty = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.comboBox_Faculty = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.label_Speciality = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.textBox_Speciality = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.label_Degree = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.comboBox_Degree = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.label_Status = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.comboBox_Status = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.label_FacultyNumber = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.textBox_FacultyNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.label_Course = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.textBox_Course = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.label_Stream = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.textBox_Stream = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.label_Group = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.textBox_Group = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.SecondLevelGrid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.toggleButton = ((StudentInfoSystem.VisualControls.MyToggleButton)(target));
                return;

            case 28:
                this.button_Clear = ((System.Windows.Controls.Button)(target));
                return;

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