예제 #1
0
        private void nDFAToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmNDFA ndfa = new FrmNDFA();

            ndfa.MdiParent   = this;
            ndfa.WindowState = FormWindowState.Maximized;
            ndfa.Show();
        }
        private void tsbToNDFA_Click(object sender, EventArgs e)
        {
            if (this.regex != null)
            {
                NDFA <string, char> ndfa = SearchAlgorithmParser.Converter <string, char> .ConvertToNDFA(this.regex, 'e');

                FrmNDFA frmNdfa = new FrmNDFA(ndfa);
                frmNdfa.MdiParent = this.MdiParent;
                frmNdfa.Show();
            }
        }
예제 #3
0
        private void tsbToNDFA_Click(object sender, EventArgs e)
        {
            Regram <string, char> regram = getRegram();

            if (regram == null)
            {
                return;
            }

            NDFA <string, char> ndfa = SearchAlgorithmParser.Converter <string, char> .ConvertToNDFA(regram, 'e');

            FrmNDFA frmNdfa = new FrmNDFA(ndfa);

            frmNdfa.MdiParent = this.MdiParent;
            frmNdfa.Show();
        }