public override void GetGlobalLocationRelativeToRoot(out int x, out int y) { float globalX, globalY; _principalBox.GetGlobalLocationRelativeToRoot(out globalX, out globalY); x = (int)globalX; y = (int)globalY; }