예제 #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;
 }
예제 #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;
        }