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; }
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; }