/* * Process each line in the reference input text * Running the algo for each! * Output to results pane */ private void btnRun_Click(object sender, EventArgs e) { String[] lines = txtSequence.Lines; String html = htmlStart(); bool blankRepeats = chkRpts.Checked; foreach (String reference in lines) { PagingSequencer sequencer = new PagingSequencer(reference, blankRepeats); html += sequencer.runAsHtmlReport(false); } html += htmlEnd(); browser.DocumentText=html; }
/* * Process each line in the reference input text * Running the algo for each! * Output to results pane */ private void btnRun_Click(object sender, EventArgs e) { String[] lines = txtSequence.Lines; String html = htmlStart(); bool blankRepeats = chkRpts.Checked; foreach (String reference in lines) { PagingSequencer sequencer = new PagingSequencer(reference, blankRepeats); html += sequencer.runAsHtmlReport(false); } html += htmlEnd(); browser.DocumentText = html; }