Silence warnings about exceptions

master
Nathan Crawford 2016-03-31 19:49:00 -04:00
rodzic 9d2b208a52
commit 89c706588a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -197,7 +197,7 @@ namespace embroideryReader
settings.getValue(SECTION_BACKGROUND_COLOR, SETTING_BACKGROUND_COLOR_GREEN, -1),
settings.getValue(SECTION_BACKGROUND_COLOR, SETTING_BACKGROUND_COLOR_BLUE, -1));
}
catch(ArgumentException argEx)
catch(ArgumentException /*argEx*/)
{
return System.Drawing.Color.FromKnownColor(System.Drawing.KnownColor.Control);
}
@ -374,7 +374,7 @@ namespace embroideryReader
settings.getValue(SECTION_TRANSPARENCY_GRID, SETTING_TRANSPARENCY_GRID_COLOR_GREEN, -1),
settings.getValue(SECTION_TRANSPARENCY_GRID, SETTING_TRANSPARENCY_GRID_COLOR_BLUE, -1));
}
catch(ArgumentException argEx)
catch(ArgumentException /*argEx*/)
{
return System.Drawing.Color.LightGray;
}