没听过还能擦除的?
只要不是写在OnPaint中,下次屏幕刷新时就会消失了。

解决方案 »

  1.   

    同意 1979xt(VS.NET为未来十年作好了准备,你呢)  的说法~~~~
      

  2.   

    You can do it ControlPaint.DrawReversibleLine Method
    The results of this method can be reversed by drawing the same line again. Drawing a line using this method is similar to inverting a region of the screen, except that it provides better performance for a wider variety of colors.Reference: 
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolpaintclasstopic.asp用Graphic 应该也能做到。
      

  3.   

    用clear这个方法可以去除的.g.clear(color.white)就可以了
      

  4.   

    g.Clear(this.BackColor);
    就可以擦掉了!