private void CalculateRectangles(float x, float y)
{
CalculateClientRectangle(x, y);
_drawRect.Offset(x, y);
_clientRect.Offset(x, y);
_actualX = _drawRect.X;
_actualY = _drawRect.Y;
foreach(DrawWindow drawWindow in _drawWindows)
{
if(drawWindow.Window != null)
{
drawWindow.Window.CalculateRectangles(_clientRect.X + _offsetX, _clientRect.Y + _offsetY);
}
}
_drawRect.Offset(-x, -y);
_clientRect.Offset(-x, -y);
}