private void button_build_Click(object sender, EventArgs e) { pbs.ForEach(panel1.Controls.Remove); pbs.Clear(); nfa = new NFA(textbox_RE.Text); textbox_PostfixRE.Text = nfa.PostixRegularExpression; textbox_InfixRE.Text = nfa.InfixRegularExpression; nfa.build(textbox_graph); is_builded = true; createPictureBoxes(nfa.grid.Count); drawLines(); button_save.Enabled = true; button_check.Enabled = true; }
public CheckForm(NFA nfa) { InitializeComponent(); this.nfa = nfa; }