在桌面绘图,为什么屏幕未出现Ellipse?
IntPtr hwnd = GetDesktopWindow();
Graphics g = Graphics.FromHwnd(hwnd);
g.DrawEllipse(Pens.White, 200, 200, 200, 200);
ReleaseDC((IntPtr)null, hwnd);
g.Dispose();
IntPtr hwnd = GetDesktopWindow();
Graphics g = Graphics.FromHwnd(hwnd);
g.DrawEllipse(Pens.White, 200, 200, 200, 200);
ReleaseDC((IntPtr)null, hwnd);
g.Dispose();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货