//Delete Button
        private void Click_DeleteButton(object sender, RoutedEventArgs e)
        {
            MessageBoxResult result = new MessageBoxResult();

            if (jobsModel.SelectedJob.RecruiterId.HasValue)
            {
                result = MessageBox.Show("Do you want to delete the linked recruiter information with this job as well?", "Delete", MessageBoxButton.YesNoCancel, MessageBoxImage.Exclamation);
                if (result == MessageBoxResult.Yes)
                {
                    sql.DeleteSpecificJobWithRecruiter(jobsModel.SelectedJob.CompanyId, jobsModel.SelectedJob.RecruiterId.Value);

                    //button visibility
                    HideAllEditingButtons();
                    HideAllEditingPlanes();
                    SetRecruiterBoxesToReadOnly();
                    SetLocationBoxToReadOnly();
                    SetJobBoxesToReadOnly();

                    ReinitializeListBox();
                }
                if (result == MessageBoxResult.No)
                {
                    result = MessageBox.Show("Recruiter information can be found in View Attributes page. Delete job information now?", "Delete", MessageBoxButton.OKCancel, MessageBoxImage.None);
                    if (result == MessageBoxResult.OK)
                    {
                        sql.DeleteSpecificJob(jobsModel.SelectedJob.CompanyId);

                        //button visibility
                        HideAllEditingButtons();
                        HideAllEditingPlanes();
                        SetRecruiterBoxesToReadOnly();
                        SetLocationBoxToReadOnly();
                        SetJobBoxesToReadOnly();

                        ReinitializeListBox();
                    }
                    else
                    {
                        return;
                    }
                }
            }
            else
            {
                result = MessageBox.Show("Are you sure you want to delete this job? This cannot be undone", "Delete", MessageBoxButton.YesNoCancel, MessageBoxImage.Exclamation);
                if (result == MessageBoxResult.Yes)
                {
                    sql.DeleteSpecificJob(jobsModel.SelectedJob.CompanyId);

                    //button visibility
                    HideAllEditingButtons();
                    HideAllEditingPlanes();
                    SetRecruiterBoxesToReadOnly();
                    SetLocationBoxToReadOnly();
                    SetJobBoxesToReadOnly();

                    ReinitializeListBox();
                }
                else
                {
                    return;
                }
            }
        }