我在button1_Click写 
this.CreateGraphics().DrawRectangle(new Pen(Color.Blue, 3), 50, 0, 100, 100);
和在OnPaint中写
e.Graphics().DrawRectangle(new Pen(Color.Blue, 3), 50, 0, 100, 100);
效果是一样的。
 可写TranslateTransform或RotateTransform就只在OnPaint中有效,在button1_Click写无效,请问这是为什么?
如写
e.Graphics.TranslateTransform(100, 100); //有效果this.CreateGraphics().TranslateTransform(100, 100); //无效果