Formatted code with visual studio

This commit is contained in:
2022-05-31 14:19:33 +02:00
parent 730c09d94e
commit a10da16f12
4 changed files with 31 additions and 30 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ namespace Paint_2
private void ForceRefresh() private void ForceRefresh()
{ {
canvas.Image = sketch.ForcePaint(); canvas.Image = sketch.ForcePaint();
//RefreshUi(); RefreshUi();
} }
private void RefreshUi() private void RefreshUi()
{ {
+2 -1
View File
@@ -60,7 +60,8 @@ namespace Paint_2
try try
{ {
CurrentTool = ToolList[toolId]; CurrentTool = ToolList[toolId];
}catch (Exception ex) }
catch (Exception ex)
{ {
Console.WriteLine("Oooops..."); Console.WriteLine("Oooops...");
} }