public FindOpenVehicleMainProblemsDataSet FindOpenVehicleMainProblems()
        {
            try
            {
                aFindOpenVehicleMainProblemsDataSet      = new FindOpenVehicleMainProblemsDataSet();
                aFindOpenVehicleMainProblemsTableAdpater = new FindOpenVehicleMainProblemsDataSetTableAdapters.FindOpenVehicleMainProblemsTableAdapter();
                aFindOpenVehicleMainProblemsTableAdpater.Fill(aFindOpenVehicleMainProblemsDataSet.FindOpenVehicleMainProblems);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Vehicle Problems Class // Find Open Vehicle Problems " + Ex.Message);
            }

            return(aFindOpenVehicleMainProblemsDataSet);
        }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            TheFindOpenVehicleMainProblemsDataSet = TheVehicleProblemClass.FindOpenVehicleMainProblems();

            dgrResults.ItemsSource = TheFindOpenVehicleMainProblemsDataSet.FindOpenVehicleMainProblems;
        }
        private void Window_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            TheFindOpenVehicleMainProblemsDataSet = TheVehicleProblemClass.FindOpenVehicleMainProblems();

            dgrResults.ItemsSource = TheFindOpenVehicleMainProblemsDataSet.FindOpenVehicleMainProblems;
        }