h.clear(桌面的背景色);
或者
h。clear(Color.Transparent)
Graphics h = Graphics.FromHwndInternal(Win32Api.GetDesktopWindow());
h.clear(Color.Transparent)或者h.clear(桌面的背景色); 都可以!!
Pen mypen = new Pen(ys , 1);
h.DrawLine(mypen, no1,no2 );
h.Dispose();