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

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

            #line 15 "..\..\..\User Controls\HinttableComboBox.xaml"
                this.ComboBox.DropDownOpened += new System.EventHandler(this.HinttableCb_DropDownOpened);

            #line default
            #line hidden

            #line 15 "..\..\..\User Controls\HinttableComboBox.xaml"
                this.ComboBox.DropDownClosed += new System.EventHandler(this.HinttableCb_DropDownClosed);

            #line default
            #line hidden

            #line 15 "..\..\..\User Controls\HinttableComboBox.xaml"
                this.ComboBox.LostFocus += new System.Windows.RoutedEventHandler(this.HinttableCb_LostFocus);

            #line default
            #line hidden

            #line 15 "..\..\..\User Controls\HinttableComboBox.xaml"
                this.ComboBox.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\..\User Controls\HinttableComboBox.xaml"
                this.ComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden

            #line 15 "..\..\..\User Controls\HinttableComboBox.xaml"
                this.ComboBox.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.ComboBox_TextChanged));

            #line default
            #line hidden
                return;

            case 3:
                this.Validator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HintLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 16 "..\..\..\User Controls\HinttableTextBox.xaml"
                this.TextBox.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 16 "..\..\..\User Controls\HinttableTextBox.xaml"
                this.TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.TextBox_LostFocus);

            #line default
            #line hidden

            #line 16 "..\..\..\User Controls\HinttableTextBox.xaml"
                this.TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden

            #line 16 "..\..\..\User Controls\HinttableTextBox.xaml"
                this.TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 16 "..\..\..\User Controls\HinttableTextBox.xaml"
                this.TextBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_GotKeyboardFocus);

            #line default
            #line hidden

            #line 16 "..\..\..\User Controls\HinttableTextBox.xaml"
                this.TextBox.GotKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.TextBox_GotKeyboardFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.Validator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HintLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 14 "..\..\..\User Controls\HinttableDatePicker.xaml"
                this.DatePicker.GotFocus += new System.Windows.RoutedEventHandler(this.DatePicker_GotFocus);

            #line default
            #line hidden

            #line 14 "..\..\..\User Controls\HinttableDatePicker.xaml"
                this.DatePicker.LostFocus += new System.Windows.RoutedEventHandler(this.DatePicker_LostFocus);

            #line default
            #line hidden

            #line 14 "..\..\..\User Controls\HinttableDatePicker.xaml"
                this.DatePicker.GotKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.DatePicker_GotKeyboardFocus);

            #line default
            #line hidden

            #line 14 "..\..\..\User Controls\HinttableDatePicker.xaml"
                this.DatePicker.LostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.DatePicker_LostKeyboardFocus);

            #line default
            #line hidden

            #line 14 "..\..\..\User Controls\HinttableDatePicker.xaml"
                this.DatePicker.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.DatePicker_TextChanged));

            #line default
            #line hidden
                return;

            case 3:
                this.Validator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyTesterAddPage = ((DrivingTestsManagerV1._2.Main_Menu.Tester_Menu.TesterAddPage)(target));

            #line 14 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.MyTesterAddPage.Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.TesterAddPageMainGrid.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TesterAddPageMainGrid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.IdTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 4:
                this.FirstNameTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 5:
                this.LastNameTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 6:
                this.BirthDateDp = ((DrivingTestsManagerV1._2.User_Controls.HinttableDatePicker)(target));
                return;

            case 7:
                this.GenderCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 8:
                this.CityCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 9:
                this.CityBusyIndicator = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 10:
                this.StreetCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 11:
                this.StreetBusyIndicator = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 12:
                this.BuildingTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 13:
                this.WorkTimeExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 14:
                this.MyWorkTime = ((DrivingTestsManagerV1._2.User_Controls.WorkTimeControl)(target));
                return;

            case 15:
                this.WorkHoursValidator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;

            case 16:
                this.PhoneNumberTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 17:
                this.EmailTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 18:
                this.CarTypeCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 19:
                this.MaximalDistance = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 35 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.MaximalDistance.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.MaximalDistance_ValueChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.MaxDistanceValidator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;

            case 21:
                this.Experience = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 37 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.Experience.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.Experience_ValueChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.ExperienceValidator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;

            case 23:
                this.MaxWeeklyTests = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 39 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.MaxWeeklyTests.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.MaxWeeklyTests_ValueChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.MaxWeeklyTestsValidator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;

            case 25:
                this.SendButton = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.SendButton.Click += new System.Windows.RoutedEventHandler(this.SendButton_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.FillButton = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.FillButton.Click += new System.Windows.RoutedEventHandler(this.FillButton_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.ClearButton = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.ClearButton.Click += new System.Windows.RoutedEventHandler(this.ClearButton_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\..\Main Menu\Tester Menu\TesterAddPage.xaml"
                this.RefillButton.Click += new System.Windows.RoutedEventHandler(this.RefillButton_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.ProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyTraineeAddPage = ((DrivingTestsManagerV1._2.Main_Menu.Trainee_Menu.TraineeAddPage)(target));

#line 11 "..\..\..\..\Main Menu\Trainee Menu\TraineeAddPage.xaml"
                this.MyTraineeAddPage.Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

#line default
#line hidden
                return;

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

#line 15 "..\..\..\..\Main Menu\Trainee Menu\TraineeAddPage.xaml"
                this.TraineeAddPageMainGrid.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TraineeAddPageMainGrid_MouseLeftButtonDown);

#line default
#line hidden
                return;

            case 3:
                this.IdTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 4:
                this.FirstNameTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 5:
                this.LastNameTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 6:
                this.BirthDateDp = ((DrivingTestsManagerV1._2.User_Controls.HinttableDatePicker)(target));
                return;

            case 7:
                this.GenderCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 8:
                this.CityCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 9:
                this.CityBusyIndicator = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 10:
                this.StreetCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 11:
                this.StreetBusyIndicator = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
                return;

            case 12:
                this.BuildingTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 13:
                this.PhoneNumberTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 14:
                this.EmailTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 15:
                this.CarTypeCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 16:
                this.GearTypeCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 17:
                this.DrivingSchoolsCitiesCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 18:
                this.DrivingSchoolsNamesCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 19:
                this.DrivingTeacherTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 20:
                this.DrivingLessonsCountNUD = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

#line 33 "..\..\..\..\Main Menu\Trainee Menu\TraineeAddPage.xaml"
                this.DrivingLessonsCountNUD.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.DrivingLessonsCountNUD_ValueChanged);

#line default
#line hidden
                return;

            case 21:
                this.LessonsValidator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;

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

#line 35 "..\..\..\..\Main Menu\Trainee Menu\TraineeAddPage.xaml"
                this.SendButton.Click += new System.Windows.RoutedEventHandler(this.SendButton_Click);

#line default
#line hidden
                return;

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

#line 36 "..\..\..\..\Main Menu\Trainee Menu\TraineeAddPage.xaml"
                this.FillButton.Click += new System.Windows.RoutedEventHandler(this.FillButton_Click);

#line default
#line hidden
                return;

            case 24:
                this.ClearButton = ((System.Windows.Controls.Button)(target));

#line 37 "..\..\..\..\Main Menu\Trainee Menu\TraineeAddPage.xaml"
                this.ClearButton.Click += new System.Windows.RoutedEventHandler(this.ClearButton_Click);

#line default
#line hidden
                return;

            case 25:
                this.RefillButton = ((System.Windows.Controls.Button)(target));

#line 38 "..\..\..\..\Main Menu\Trainee Menu\TraineeAddPage.xaml"
                this.RefillButton.Click += new System.Windows.RoutedEventHandler(this.RefillButton_Click);

#line default
#line hidden
                return;

            case 26:
                this.ProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyPotentialTestersView = ((DrivingTestsManagerV1._2.Main_Menu.Test_Menu.PotentialTestersView)(target));

            #line 15 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.MyPotentialTestersView.Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.testerDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 30 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.testerDataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TesterDataGrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.SelectTesterCmi = ((System.Windows.Controls.MenuItem)(target));

            #line 99 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.SelectTesterCmi.Click += new System.Windows.RoutedEventHandler(this.SelectTesterCmi_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.idColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 5:
                this.firstNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 6:
                this.lastNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 7:
                this.genderColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 8:
                this.dateOfBirthColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 9:
                this.ageColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 10:
                this.addressColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.phoneNumberColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.emailAddressColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.carTypeColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.maximalDistanceColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.weeklyTestsCountColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.maximalWeeklyTestsColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.yearsOfExperienceColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.FilterGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.traineeIdTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 20:
                this.traineeNameTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 21:
                this.traineeCarTypeCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 22:
                this.DMVCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 23:
                this.testDateTimeDtp = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));

            #line 135 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.testDateTimeDtp.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.DateTimePicker_ValueChanged);

            #line default
            #line hidden

            #line 135 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.testDateTimeDtp.Loaded += new System.Windows.RoutedEventHandler(this.TestDateTimeDtp_Loaded);

            #line default
            #line hidden

            #line 135 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.testDateTimeDtp.MouseEnter += new System.Windows.Input.MouseEventHandler(this.TestDateTimeDtp_MouseEnter);

            #line default
            #line hidden

            #line 135 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.testDateTimeDtp.LostFocus += new System.Windows.RoutedEventHandler(this.TestDateTimeDtp_LostFocus);

            #line default
            #line hidden

            #line 135 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.testDateTimeDtp.MouseLeave += new System.Windows.Input.MouseEventHandler(this.TestDateTimeDtp_MouseLeave);

            #line default
            #line hidden
                return;

            case 24:
                this.testDateTimeValidator = ((DrivingTestsManagerV1._2.User_Controls.CircleValidator)(target));
                return;

            case 25:
                this.testCityCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 26:
                this.testStreetCb = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 27:
                this.testersInRangeButton = ((System.Windows.Controls.Button)(target));

            #line 139 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.testersInRangeButton.Click += new System.Windows.RoutedEventHandler(this.TestersInRangeButton_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.distanceTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 29:
                this.testerDistanceTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 30:
                this.distanceSpinner = ((FontAwesome.WPF.ImageAwesome)(target));
                return;

            case 31:
                this.findClosetTesterButton = ((System.Windows.Controls.Button)(target));

            #line 144 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.findClosetTesterButton.Click += new System.Windows.RoutedEventHandler(this.FindClosetTesterButton_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.selectTesterButton = ((System.Windows.Controls.Button)(target));

            #line 145 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.selectTesterButton.Click += new System.Windows.RoutedEventHandler(this.SelectTesterButton_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.ClearFieldsButton = ((System.Windows.Controls.Button)(target));

            #line 146 "..\..\..\..\Main Menu\Test Menu\PotentialTestersView.xaml"
                this.ClearFieldsButton.Click += new System.Windows.RoutedEventHandler(this.ClearFieldsButton_Click);

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