void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblInfo = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 4:
                this.byteUpDnNumChars = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));
                return;

            case 5:
                this.btnGenerate = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.btnAdvanced = ((System.Windows.Controls.Button)(target));
                return;

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

            case 8:
                this.btnSave = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.idTextBox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 37 "..\..\AddTester.xaml"
                this.idTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 37 "..\..\AddTester.xaml"
                this.idTextBox.GotKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.idTextBox_GotKeyboardFocus);

            #line default
            #line hidden
                return;

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

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

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

            case 6:
                this.carTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.dateOfBirthDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.maxDistanceTextBox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));

            #line 49 "..\..\AddTester.xaml"
                this.maxDistanceTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 9:
                this.maxWeeklyTestsTextBox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));

            #line 51 "..\..\AddTester.xaml"
                this.maxWeeklyTestsTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\AddTester.xaml"
                this.phoneNumberTextBox.GotKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.idTextBox_GotKeyboardFocus);

            #line default
            #line hidden

            #line 53 "..\..\AddTester.xaml"
                this.phoneNumberTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 11:
                this.yearsOfExperienceTextBox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));

            #line 55 "..\..\AddTester.xaml"
                this.yearsOfExperienceTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 12:
                this.city = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 14:
                this.building_number = ((System.Windows.Controls.TextBox)(target));

            #line 61 "..\..\AddTester.xaml"
                this.building_number.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 15:
                this.WorkHours = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.addTesterButton = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\AddTester.xaml"
                this.addTesterButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.addTesterButton_MouseLeave);

            #line default
            #line hidden

            #line 91 "..\..\AddTester.xaml"
                this.addTesterButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.errorIdMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.errorPhoneMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.errorMessage = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 36 "..\..\UpdateTester.xaml"
                this.idTextBox.DropDownClosed += new System.EventHandler(this.IdTextBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 6:
                this.carTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.dateOfBirthDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.maxDistanceTextBox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));

            #line 48 "..\..\UpdateTester.xaml"
                this.maxDistanceTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 9:
                this.maxWeeklyTestsTextBox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));

            #line 50 "..\..\UpdateTester.xaml"
                this.maxWeeklyTestsTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\UpdateTester.xaml"
                this.phoneNumberTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 11:
                this.yearsOfExperienceTextBox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));

            #line 54 "..\..\UpdateTester.xaml"
                this.yearsOfExperienceTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 12:
                this.city = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 14:
                this.building_number = ((System.Windows.Controls.TextBox)(target));

            #line 60 "..\..\UpdateTester.xaml"
                this.building_number.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 15:
                this.WorkHours = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.updateTester = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\UpdateTester.xaml"
                this.updateTester.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

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

            case 3:
                this.birthdayDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            case 6:
                this.genderComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.idTextBox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 47 "..\..\AddTrainee.xaml"
                this.idTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 8:
                this.lessonsNumberTextBox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));

            #line 49 "..\..\AddTrainee.xaml"
                this.lessonsNumberTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\AddTrainee.xaml"
                this.phoneNumberTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

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

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

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

            case 14:
                this.city = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.street_name = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 65 "..\..\AddTrainee.xaml"
                this.building_number.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 17:

            #line 66 "..\..\AddTrainee.xaml"
                ((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_MouseLeave);

            #line default
            #line hidden

            #line 66 "..\..\AddTrainee.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TxpaButton = ((System.Windows.Controls.Button)(target));
                return;

            case 2:
                this.NoService = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 3:
                this.HostService = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            case 6:
                this.serviceStatusLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.serviceLed = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.ServiceSelectorRadioButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.firstIpTextbox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));
                return;

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

            case 11:
                this.secondIpTextbox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));
                return;

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

            case 13:
                this.thirdIpTextbox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));
                return;

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

            case 15:
                this.fourthIpTextbox = ((Xceed.Wpf.Toolkit.ByteUpDown)(target));
                return;

            case 16:
                this.StartServiceButton = ((System.Windows.Controls.Button)(target));
                return;

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