Esempio n. 1
0
 //Methods
 public void LoseFocus(HinttableTextBox hinttableTb)
 {
     if (hinttableTb.TextBox.Text == "")
     {
         HintLabel.Visibility = Visibility.Visible;
     }
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.settingsWin = ((DrivingTestsManagerV1._2.SettingsWin)(target));
                return;

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

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

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

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

            case 6:
                this.minDaysBetweenTestsTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 7:
                this.minTesterAgeTb = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 8:
                this.maxTesterAge = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

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

            #line 27 "..\..\SettingsWin.xaml"
                this.SendButton.Click += new System.Windows.RoutedEventHandler(this.Send_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.RestoreButton = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\SettingsWin.xaml"
                this.RestoreButton.Click += new System.Windows.RoutedEventHandler(this.RestoreButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyTesterEditPage = ((DrivingTestsManagerV1._2.Main_Menu.Trainee_Menu.TesterEditPage)(target));

            #line 11 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.MyTesterEditPage.Loaded += new System.Windows.RoutedEventHandler(this.MyTesterEditPage_Loaded);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.testerDataGrid.Sorting += new System.Windows.Controls.DataGridSortingEventHandler(this.TesterDataGrid_Sorting);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.WorkTimeCmi.Click += new System.Windows.RoutedEventHandler(this.WorkTimeCmi_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.AddCmi = ((System.Windows.Controls.MenuItem)(target));

            #line 100 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.AddCmi.Click += new System.Windows.RoutedEventHandler(this.AddCmi_Clicked);

            #line default
            #line hidden
                return;

            case 5:
                this.EditCmi = ((System.Windows.Controls.MenuItem)(target));

            #line 105 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.EditCmi.Click += new System.Windows.RoutedEventHandler(this.EditCmi_Clicked);

            #line default
            #line hidden
                return;

            case 6:
                this.RemoveCmi = ((System.Windows.Controls.MenuItem)(target));

            #line 110 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.RemoveCmi.Click += new System.Windows.RoutedEventHandler(this.RemoveCmi_Clicked);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 22:
                this.IdFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 23:
                this.firstNameFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 24:
                this.lastNameFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

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

            case 26:
                this.ageFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 27:
                this.dayFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

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

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

            case 30:
                this.cityFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 31:
                this.streetFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 32:
                this.buildingFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 33:
                this.carTypeFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 34:
                this.emailAddressFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 35:
                this.phoneNumberFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 36:
                this.maxDistFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 37:
                this.experienceFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 38:
                this.weeklyTestsCountFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 39:
                this.maxWeeklyTestsFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 40:
                this.IsGroupingEnabledCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 160 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.IsGroupingEnabledCheckBox.Checked += new System.Windows.RoutedEventHandler(this.IsGroupingEnabledCheckBox_Checked);

            #line default
            #line hidden

            #line 160 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.IsGroupingEnabledCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.IsGroupingEnabledCheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 41:
                this.ClearFiltersButton = ((System.Windows.Controls.Button)(target));

            #line 161 "..\..\..\..\Main Menu\Tester Menu\TesterEditPage.xaml"
                this.ClearFiltersButton.Click += new System.Windows.RoutedEventHandler(this.ClearFiltersButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 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;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyTestEditPage = ((DrivingTestsManagerV1._2.Main_Menu.Test_Menu.TestEditPage)(target));

            #line 13 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.MyTestEditPage.Loaded += new System.Windows.RoutedEventHandler(this.MyTestEditPage_Loaded);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.testDataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TestDataGrid_SelectionChanged);

            #line default
            #line hidden

            #line 28 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.testDataGrid.Loaded += new System.Windows.RoutedEventHandler(this.TestDataGrid_Loaded);

            #line default
            #line hidden

            #line 28 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.testDataGrid.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.TestDataGrid_ContextMenuOpening);

            #line default
            #line hidden

            #line 28 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.testDataGrid.Sorting += new System.Windows.Controls.DataGridSortingEventHandler(this.TestDataGrid_Sorting);

            #line default
            #line hidden
                return;

            case 3:
                this.testIdColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

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

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

            case 7:
                this.isPassedColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target));
                return;

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

            case 9:
                this.TesterNotesCmi = ((System.Windows.Controls.MenuItem)(target));

            #line 73 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.TesterNotesCmi.Click += new System.Windows.RoutedEventHandler(this.TesterNotesCmi_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.AddCmi = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.EditCmi = ((System.Windows.Controls.MenuItem)(target));

            #line 84 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.EditCmi.Click += new System.Windows.RoutedEventHandler(this.EditCmi_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 15:
                this.testerIdFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

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

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

            case 18:
                this.yearFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

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

            case 20:
                this.cityFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

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

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

            case 23:
                this.isPassedFilter = ((System.Windows.Controls.CheckBox)(target));

            #line 110 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.isPassedFilter.Click += new System.Windows.RoutedEventHandler(this.IsPassedFilter_Changed);

            #line default
            #line hidden
                return;

            case 24:
                this.drivingSchoolCityFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

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

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

            case 27:
                this.IsGroupingEnabledCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 114 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.IsGroupingEnabledCheckBox.Checked += new System.Windows.RoutedEventHandler(this.IsGroupingEnabledCheckBox_Checked);

            #line default
            #line hidden

            #line 114 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.IsGroupingEnabledCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.IsGroupingEnabledCheckBox_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\..\..\Main Menu\Test Menu\TestEditPage.xaml"
                this.ClearFiltersButton.Click += new System.Windows.RoutedEventHandler(this.ClearFiltersButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 6
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.loginWin = ((DrivingTestsManagerV1._2.Main_Menu.Home_Menu.LoginWin)(target));
                return;

            case 2:

            #line 20 "..\..\..\..\Main Menu\Home Menu\LoginWin.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.loginCloseButton = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\..\Main Menu\Home Menu\LoginWin.xaml"
                this.loginCloseButton.Click += new System.Windows.RoutedEventHandler(this.LoginCloseButton_Click);

            #line default
            #line hidden

            #line 21 "..\..\..\..\Main Menu\Home Menu\LoginWin.xaml"
                this.loginCloseButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.LoginCloseButton_MouseEnter);

            #line default
            #line hidden

            #line 21 "..\..\..\..\Main Menu\Home Menu\LoginWin.xaml"
                this.loginCloseButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.LoginCloseButton_MouseLeave);

            #line default
            #line hidden
                return;

            case 4:
                this.closeIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

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

            case 7:
                this.passwordPb = ((System.Windows.Controls.PasswordBox)(target));

            #line 48 "..\..\..\..\Main Menu\Home Menu\LoginWin.xaml"
                this.passwordPb.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBox_PasswordChanged);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\..\Main Menu\Home Menu\LoginWin.xaml"
                this.loginButton.Click += new System.Windows.RoutedEventHandler(this.LoginButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.registerButton = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\..\..\Main Menu\Home Menu\LoginWin.xaml"
                this.registerButton.Click += new System.Windows.RoutedEventHandler(this.RegisterButton_Click);

            #line default
            #line hidden
                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;
        }
Esempio n. 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyTesterEditPage = ((DrivingTestsManagerV1._2.Main_Menu.Edit_Menu.TesterEditPage)(target));

            #line 11 "..\..\..\..\Main Menu\Edit Menu\TesterEditPage.xaml"
                this.MyTesterEditPage.Loaded += new System.Windows.RoutedEventHandler(this.MyTesterEditPage_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\..\..\Main Menu\Edit Menu\TesterEditPage.xaml"
                this.AddCmi.Click += new System.Windows.RoutedEventHandler(this.AddCmi_Clicked);

            #line default
            #line hidden
                return;

            case 4:
                this.EditCmi = ((System.Windows.Controls.MenuItem)(target));

            #line 32 "..\..\..\..\Main Menu\Edit Menu\TesterEditPage.xaml"
                this.EditCmi.Click += new System.Windows.RoutedEventHandler(this.EditCmi_Clicked);

            #line default
            #line hidden
                return;

            case 5:
                this.RemoveCmi = ((System.Windows.Controls.MenuItem)(target));

            #line 37 "..\..\..\..\Main Menu\Edit Menu\TesterEditPage.xaml"
                this.RemoveCmi.Click += new System.Windows.RoutedEventHandler(this.RemoveCmi_Clicked);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 21:
                this.firstNameFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 22:
                this.lastNameFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 23:
                this.genderFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

            case 24:
                this.ageFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 25:
                this.cityFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 26:
                this.streetFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 27:
                this.buildingFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 28:
                this.carTypeFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableComboBox)(target));
                return;

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

            case 30:
                this.experienceFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;

            case 31:
                this.maxWeeklyTestsFilter = ((DrivingTestsManagerV1._2.User_Controls.HinttableTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }