Beispiel #1
0
        private void countButton_Click(object sender, EventArgs e)
        {
            WordTab wrdTab = new WordTab();
            Parser  parser = new Parser(wrdTab);

            try
            {
                parser.Parse(textBox.Text);
                String table = wrdTab.GetTab();
                wrdTab.PrintTab(table, outputBox);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Beispiel #2
0
 public Parser(WordTab wrdTab)
 {
     tab = wrdTab;
 }