我可以将屏幕截图保存在计时器上,但是如何将其保存为新名称而不是每次都覆盖?
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width,
Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
bitmap.Save(@"c:tempscreenshot.bmp", ImageFormat.Bmp);