Removed pointless Console.WriteLine() calls

This commit is contained in:
Lukasz Baldyga committed 2020-10-21 16:42:03 +01:00
1 parent c5fbc13f06
commit 2636ca2027
2 files changed
+1 -4

No files matched your search

@@ -178,7 +178,7 @@ namespace Advanced_Software_Engineering {
double dx = scale * Math.Sin(angle);
double dy = scale * Math.Cos(angle);
points.Add(new Point((int) Math.Round(dx), (int) Math.Round(dy));
points.Add(new Point((int)Math.Round(dx), (int)Math.Round(dy)));
}
this.sides = sides;
@@ -16,8 +16,6 @@ namespace Advanced_Software_Engineering
Graphics graphics;
Commander commander;
int repaintCount = 0;
/// <summary>
/// The draw preview window.
/// </summary>
@@ -59,7 +57,6 @@ namespace Advanced_Software_Engineering
{
graphics = panel1.CreateGraphics();
commander.DrawAllCommands(graphics);
Console.WriteLine("Graphics repainted " + ++repaintCount + "times");
}
private void SubmitCommand(object sender, EventArgs e)