Exemplo n.º 1
0
        private void BtCapture_Click(object sender, EventArgs e)
        {
            Capturer = new FormCapturer();

            this.Hide();

            if ( Capturer.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                LoadImage(Capturer.LoadBitmapFromScreen());
            }

            Capturer.Dispose();

            this.Show();
        }