private void regularGrammarToolStripMenuItem_Click(object sender, EventArgs e) { FrmRegularGrammar regularGrammar = new FrmRegularGrammar(); regularGrammar.MdiParent = this; regularGrammar.WindowState = FormWindowState.Maximized; regularGrammar.Show(); }
private void tsbToRegram_Click(object sender, EventArgs e) { DFA <string, char> dfa = getDFA(); if (dfa == null) { return; } Regram <string, char> regram = SearchAlgorithmParser.Converter <string, char> .ConvertToRegram(dfa); FrmRegularGrammar frmRegram = new FrmRegularGrammar(regram); frmRegram.MdiParent = this.MdiParent; frmRegram.Show(); }
private void tsbToRegram_Click(object sender, EventArgs e) { NDFA <string, char> ndfa = getNDFA(); if (ndfa == null) { return; } Regram <MultiState <string>, char> regram = SearchAlgorithmParser.Converter <string, char> .ConvertToRegram(ndfa, new SearchAlgorithmParser.MultiStateViewConcat <string>("", "O")); FrmRegularGrammar frmRegram = new FrmRegularGrammar(regram); frmRegram.MdiParent = this.MdiParent; frmRegram.Show(); }