Formatted code with visual studio
This commit is contained in:
+1
-1
@@ -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
@@ -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...");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user