private void EditButton_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                //On Edit Button click, pulls the data from that row of the datagrid, and stores it as a DataRowView object
                regionRow = (DataRowView)((Button)e.Source).DataContext;
                List <int> IDList = Helper.FillIDList(RegionQuery());

                // this PrioritizeBySystemPage, is being passed so it can be updated
                //regionRow is a DataRowView object containing the data from that row of PBS datagrid
                EditRecord editRecord = new EditRecord(this, arr, regionRow, IDList);
                editRecord.Show();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }
        /*Name: Michael Figueroa
         * Function Name: EditButton_Click
         * Purpose: Event handler for edit button click
         * Parameters: Auto-generated
         * Return Value: None
         * Local Variables: DataRowView priorBySystemRow
         * Algorithm: The DataRow in which the Edit button was clicked is retrieved, and the EditRecord form is opened using that DataRowView in the constructor
         * Version: 2.0.0.4
         * Date modified: Prior to 1/1/20 - This method will be simplified by Mike at a later date
         * Assistance Received: N/A
         */
        public void EditButton_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                //On Edit Button click, pulls the data from that row of the datagrid, and stores it as a DataRowView object
                priorBySystemRow = (DataRowView)((Button)e.Source).DataContext;
                List <int> IDList = Helper.FillIDList(reportQuery);

                //priorBySystemRow is a DataRowView object containing the data from that row of PBS datagrid
                EditRecord editRecord = new EditRecord(this, arr, priorBySystemRow, IDList);
                editRecord.Show();
                //MessageBox.Show(priorBySystemRow[1].ToString());
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }
        //opens edit record form so the user can edit their items that are about to age
        private void AgingButton_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                //On Edit Button click, pulls the data from that row of the datagrid, and stores it as a DataRowView object
                DataTable closeToAging = ReportHelper.FillAgingOwnerSpecific(arr[2]);
                DataView  viewAging    = closeToAging.DefaultView;
                reportRow = viewAging[0];
                List <int> IDArray = Helper.FillIDList(ReportHelper.OwnerAgingQuery(arr[2]));

                // this PrioritizeBySystemPage, is being passed so it can be updated
                //priorBySystemRow is a DataRowView object containing the data from that row of PBS datagrid
                EditRecord editRecord = new EditRecord(arr, reportRow, IDArray);
                editRecord.Show();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }