private void btnReport_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         wndReports reports = new wndReports();
         reports.ShowDialog();
         this.Close();
     }
     catch (Exception)
     {}
 }
 private void btnReports_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         wndReports report = new wndReports();
         this.Close();
         report.ShowDialog();
     }
     catch (Exception Ex)
     {
         //Log the Error to the Error Log table
         ErrorLoger.save("wndShipmentScanPage - btnReports_Click", "[" + DateTime.UtcNow.ToString() + "]" + Ex.ToString(), DateTime.UtcNow, Global.LoggedUserId);
     }
 }