private void toolStripButton1_Click(object sender, EventArgs e)
        {
            TemplateInput input = new TemplateInput();

            input.Pattern      = results.RegexText;
            input.RegexOptions = results.RegXOptions;
            input.Input        = results.SampleText;

            CodeGenDialog dlg = new CodeGenDialog(input);

            dlg.ShowDialog(this);
        }
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            TemplateInput input = new TemplateInput();
            input.Pattern = results.RegexText;
            input.RegexOptions = results.RegXOptions;
            input.Input = results.SampleText;

            CodeGenDialog dlg = new CodeGenDialog(input);
            dlg.ShowDialog(this);
        }