private void TestPanel_MouseMove(object sender, MouseEventArgs e)
{
if (_move)
{
WindowPanel.Top -= (_ty - e.Y);
WindowPanel.Left -= (_tx - e.X);
}
int x = _style.Images[0].Width*_style.Zoom;
int y = _style.Images[0].Height*_style.Zoom;
int w = WindowPanel.Width - (x + x);
int h = WindowPanel.Height - (y + y);
Cursor = PointWithin(e.Location, x, y, w, h) ? Cursors.SizeAll : Cursors.Default;
}