private void matchingToolStripMenuItem_Click(object sender, EventArgs e) { DialogResult dialogResult = MessageBox.Show("Are you sure you want to start matching? ", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (dialogResult == DialogResult.Yes) { ScanForm sf = new ScanForm(); sf.Show(); } }
private void performMatchingToolStripMenuItem_Click(object sender, EventArgs e) { ScanForm sf = new ScanForm(); sf.Show(); }