From d66a71754b15729878908ac3562bbc256680dece Mon Sep 17 00:00:00 2001 From: d3agle Date: Thu, 17 Sep 2015 03:56:50 -0500 Subject: [PATCH] Small revisions --- Server/Controls/RapidPictureBox.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/Controls/RapidPictureBox.cs b/Server/Controls/RapidPictureBox.cs index a393116d..2e7d1778 100644 --- a/Server/Controls/RapidPictureBox.cs +++ b/Server/Controls/RapidPictureBox.cs @@ -92,6 +92,8 @@ namespace xServer.Controls /// public void Start() { + _frameCounter = new FrameCounter(); + _sWatch = Stopwatch.StartNew(); Running = true; @@ -149,8 +151,6 @@ namespace xServer.Controls public RapidPictureBox() { this.SetStyle(ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true); - - _frameCounter = new FrameCounter(); } protected override CreateParams CreateParams