private void recognizeUserChooseApplyToolStripMenuItem_Click(object sender, EventArgs e) { if (checkForSeedAndRuleSets()) { /* just as in the GA we were using, one can define a custom RecognizeChooseApply method/class * so long as the name is GenerationApproach. So, the definition of the class * chooseViaHumanGui may not be used in the future with completely automated design. */ Boolean display = (DialogResult.Yes == MessageBox.Show("Would you like to see the graph " + "after each rule application?", "Display Interim Graphs", MessageBoxButtons.YesNo, MessageBoxIcon.Information)); chooseViaHumanGui GenerationApproach = new chooseViaHumanGui(display); addAndShowSearchController(new searchProcessController(GenerationApproach), true); searchControls[searchControls.Count - 1].SendToBack(); } }
private void recognizeUserChooseApplyToolStripMenuItem_Click(object sender, EventArgs e) { if (checkForSeedAndRuleSets()) { /* just as in the GA we were using, one can define a custom RecognizeChooseApply method/class * so long as the name is GenerationApproach. So, the definition of the class * chooseViaHumanGui may not be used in the future with completely automated design. */ Boolean display = (DialogResult.Yes == MessageBox.Show("Would you like to see the graph " + "after each rule application?", "Display Interim Graphs", MessageBoxButtons.YesNo, MessageBoxIcon.Information)); chooseViaHumanGui GenerationApproach = new chooseViaHumanGui(display); addAndShowSearchController(new searchProcessController(GenerationApproach), true); searchControls[searchControls.Count - 1].SendToBack(); } }