关键代码为 Screen sc = Screen.PrimaryScreen; Rectangle rct = sc.Bounds; Image img = new Bitmap(rct.Width, rct.Height); Graphics gp = Graphics.FromImage(img); gp.CopyFromScreen(, ), , ), new Size(rct.Width, rct.Height)); SolidBrush sb = new SolidBrush(Colo…