Small revisions

This commit is contained in:
d3agle 2015-09-17 03:56:50 -05:00
parent ac10341b88
commit d66a71754b
1 changed files with 2 additions and 2 deletions

View File

@ -92,6 +92,8 @@ namespace xServer.Controls
/// </summary>
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