private void btnExtractSamples_Click(object sender, EventArgs e)
 {
     var frmExtractSamples = new SampleExtraction(this.Database, this.capture, getImageKey);
     frmExtractSamples.ShowDialog();
 }
        private void btnExtractSamples_Click(object sender, EventArgs e)
        {
            var frmExtractSamples = new SampleExtraction(this.Database, this.capture, getImageKey);

            frmExtractSamples.ShowDialog();
        }