Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.welcome = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 60 "..\..\..\Trainee\AddTraineePage.xaml"
                this.IdtextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBox_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

            case 5:
                this.DateOfBirth = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 64 "..\..\..\Trainee\AddTraineePage.xaml"
                this.PhoneNumbertextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBox_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 7:
                this.EmailtextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 9:
                this.StreettextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.HousetextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 12:
                this.CarcomboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.GearcomboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.LessonstextBox = ((PLWPF.UpDown)(target));
                return;

            case 15:
                this.InternalTestcheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.GlassescheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 75 "..\..\..\Trainee\AddTraineePage.xaml"
                this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.OKbutton = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\..\Trainee\AddTraineePage.xaml"
                this.OKbutton.Click += new System.Windows.RoutedEventHandler(this.OKbutton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.welcome = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 59 "..\..\..\..\Tester\Windows\AddTester.xaml"
                this.IdtextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBox_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.DateOfBirth = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.PhoneNumbertextBox = ((System.Windows.Controls.TextBox)(target));

            #line 63 "..\..\..\..\Tester\Windows\AddTester.xaml"
                this.PhoneNumbertextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBox_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            case 9:
                this.CitytextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.StreettextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.HousetextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.GendercomboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.YearstextBox = ((PLWPF.UpDown)(target));
                return;

            case 14:
                this.GlassescheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 16:
                this.MaxDis = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.AmoutOfTestPerWeek = ((PLWPF.UpDown)(target));
                return;

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

            case 19:
                this.activecheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

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

            case 22:
                this.OKbutton = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\..\..\Tester\Windows\AddTester.xaml"
                this.OKbutton.Click += new System.Windows.RoutedEventHandler(this.OKbutton_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\..\..\Tester\Windows\AddTester.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

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