public void Resize(object sender, EventArgs e)
{
var control = sender as ICanvas;
if (control == null) { throw new ArgumentException(); }
this.FirstCamera.Resize(control.Size.Width, control.Size.Height);
this.rootViewPort.Size = control.Size;
this.rootUI.Size = control.Size;
//this.rootCursor.Size = control.Size;
}