private ScreenShotForm ShowScreenShotForm() { Hide(); Thread.Sleep(100); ScreenShotForm f = new ScreenShotForm(); f.DidTakeScreenShot = (bitmap) => SaveScreenShot(bitmap); f.Show(); return(f); }
private void screenShotMenuItem_Click(object sender, EventArgs e) { ScreenShotForm f = ShowScreenShotForm(); f.PrintScreen(); }
private ScreenShotForm ShowScreenShotForm() { Hide(); Thread.Sleep(100); ScreenShotForm f = new ScreenShotForm(); f.DidTakeScreenShot = (bitmap) => SaveScreenShot(bitmap); f.Show(); return f; }