Remember in VB6 when you could set a picturebox's drawmode to XOR, then if you draw a line and then draw it again, the line would dissapear?

How can this be achieved in .Net without having to refresh the entire picturebox area?

I need to be able to drag a line using the mouse and I need rapid responding code without flicker.

How is it done?

Help!