public void Resize() { ResizeCount++; InitGraphics(); // Console.WriteLine ("painterresize {0} {1}",ResizeCount,Control.Name); }