/// <summary>
 /// Richard Carroll
 /// Created: 2019/01/30
 ///
 /// Takes the order information from the grid(if applicable)
 /// and opens a new Detail Window for viewing the order information.
 /// </summary>
 private void BtnViewDetail_Click(object sender, RoutedEventArgs e)
 {
     if (dgInternalOrders.SelectedItem != null)
     {
         var order           = (VMInternalOrder)dgInternalOrders.SelectedItem;
         var viewOrderDetail = new InternalOrderDetail(order);
         viewOrderDetail.ShowDialog();
     }
 }
 /// <summary>
 /// Richard Carroll
 /// Created: 2019/01/30
 ///
 /// Takes the order information from the grid(if applicable)
 /// and opens a new Detail Window for viewing the order information.
 /// </summary>
 private void DgInternalOrders_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (dgInternalOrders.SelectedItem != null)
     {
         var order           = (VMInternalOrder)dgInternalOrders.SelectedItem;
         var viewOrderDetail = new InternalOrderDetail(order);
         viewOrderDetail.ShowDialog();
     }
 }
 /// <remarks>
 /// Updated By: Jared Greenfield
 /// Updated Date: 2019-04-11
 /// Fixed to call correct form and use Employee
 /// </remarks>
 private void BtnAddNewOrder_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         var addOrder = new InternalOrderDetail(_fullUser);
         var result   = addOrder.ShowDialog();
         if (result == true)
         {
             refreshGrid();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("Failed to Retrieve user to Add Orders \n" + ex.Message);
     }
 }