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