/// <summary>
        /// Author Caitlin Abelson
        /// Created 1/25/19
        ///
        /// Add the selected Supplier.
        ///
        /// <remarks>
        /// Updated by James Heim
        /// Updated 2019-03-08
        ///
        /// </remarks>
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void BtnAddSuppliers_Click(object sender, RoutedEventArgs e)
        {
            var createSupplierForm = new frmSupplier();
            var formResult         = createSupplierForm.ShowDialog();

            if (formResult == true)
            {
                // If the create form was saved,
                // clear the filters and refresh the datagrid.
                ClearSupplierFilters();
                refreshSuppliers();
            }
        }
        /// <summary>
        /// Author: James Heim
        /// Created Date: 2019/01/31
        ///
        /// View the selected record.
        /// </summary>
        public void ViewSelectedRecord(Supplier supplier)
        {
            var viewSupplierForm = new frmSupplier(supplier);

            // Capture the result of the Dialog.
            var result = viewSupplierForm.ShowDialog();

            if (result == true)
            {
                // If the form was edited,
                // refresh the suppliers and datagrid.
                refreshSuppliers();
            }
        }