private void button15_Click(object sender, EventArgs e) { if (!generateLLTableInGrid()) { return; } formInputSentence = new FormInputSentence(); formInputSentence.getTable(ll1table, inputGrammer); formInputSentence.Show(); }
private void analyzeByLR <T1, T2>() where T1 : DFAGraphBase where T2 : LRTable { if (!generateLRTableInGrid <T1, T2>()) { return; } formDFADictionary.Hide(); formInputSentence = new FormInputSentence(); formInputSentence.getTable(lRTable, inputGrammer); formInputSentence.Show(); }