Skip to content

Commit

Permalink
#2, #1
Browse files Browse the repository at this point in the history
#2 , #1
  • Loading branch information
NL-Cristi committed Mar 22, 2022
1 parent 80bccdc commit 74114ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file modified src/.vs/FrebIt/v17/.suo
Binary file not shown.
8 changes: 8 additions & 0 deletions src/FrebIt/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ private void FirstScanButton_Click(object sender, EventArgs e)
myFunctions.PopulateXSL(FirstFolderTextBox.Text);
this.FirstDataGridView.DataSource = myFunctions.ToDataTable(myFunctions.GetDataForGrid(FirstFolderTextBox.Text));
}
catch (NullReferenceException ex)
{
MessageBox.Show($"No XML files found at destination:\n{ FirstFolderTextBox.Text}");
}
catch (Exception ex)
{
MessageBox.Show("Something bad happened. Please report it to [email protected]. \nMessage : " + ex.Message + " Stack : \n" + ex.StackTrace);
Expand All @@ -128,6 +132,10 @@ private void SecondScanButton_Click(object sender, EventArgs e)
myFunctions.PopulateXSL(SecondFolderTextBox.Text);
this.SecondDataGridView.DataSource = myFunctions.ToDataTable(myFunctions.GetDataForGrid(SecondFolderTextBox.Text));
}
catch (NullReferenceException ex)
{
MessageBox.Show($"No XML files found at destination:\n{ SecondFolderTextBox.Text}");
}
catch (Exception ex)
{
MessageBox.Show("Something bad happened. Please report it to [email protected]. \nMessage : " + ex.Message + " Stack : \n" + ex.StackTrace);
Expand Down
Binary file not shown.

0 comments on commit 74114ec

Please sign in to comment.