void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.person = ((UIwpf.PersonUserControl)(target));
                return;

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

            case 3:
                this.GearboxInput = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 5:
                this.TeacherNameInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.LessonsCounterInput = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PersonAttribute = ((UIwpf.PersonUserControl)(target));
                return;

            case 2:
                this.ExperienceInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.MaxTestInput = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.SpecialityInput = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.ScheduleTable = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PersonAttribute = ((UIwpf.PersonUserControl)(target));
                return;

            case 2:
                this.ExperienceInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.MaxTestInput = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.SpecialityInput = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.ScheduleTable = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.Done = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\AddTesrer.xaml"
                this.Done.Click += new System.Windows.RoutedEventHandler(this.Done_Click);

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