Ejemplo n.º 1
0
        private ScreenShotForm ShowScreenShotForm()
        {
            Hide();
            Thread.Sleep(100);

            ScreenShotForm f = new ScreenShotForm();

            f.DidTakeScreenShot = (bitmap) => SaveScreenShot(bitmap);
            f.Show();

            return(f);
        }
Ejemplo n.º 2
0
        private void screenShotMenuItem_Click(object sender, EventArgs e)
        {
            ScreenShotForm f = ShowScreenShotForm();

            f.PrintScreen();
        }
Ejemplo n.º 3
0
        private ScreenShotForm ShowScreenShotForm()
        {
            Hide();
            Thread.Sleep(100);

            ScreenShotForm f = new ScreenShotForm();
            f.DidTakeScreenShot = (bitmap) => SaveScreenShot(bitmap);
            f.Show();

            return f;
        }