Exemple #1
0
 private void captureToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.Capturing) return;
     this.Capturing = true;
     frmCaptureImage img = new frmCaptureImage();
     if (img.ShowDialog() == DialogResult.OK)
     {
         UploadFile(img.Result);
     }
     this.Capturing = false;
 }
Exemple #2
0
        private void captureToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.Capturing)
            {
                return;
            }
            this.Capturing = true;
            frmCaptureImage img = new frmCaptureImage();

            if (img.ShowDialog() == DialogResult.OK)
            {
                UploadFile(img.Result);
            }
            this.Capturing = false;
        }