Beispiel #1
0
        private void buttonClean_Click(object sender, EventArgs e)
        {
            SimpleDocument document;
            ISetting       setting;

            setting = this.SettingCreate();

            try
            {
                document = new SimpleDocument(this.textBoxInput.Text, setting);

                this.DisplayText(document.Source());
            }
            catch (ParseException exception)
            {
                this.DisplayError(exception);
            }
        }
Beispiel #2
0
        private void buttonClean_Click(object sender, EventArgs e)
        {
            SimpleDocument	document;
            ISetting	    setting;

            setting = this.SettingCreate ();

            try
            {
                document = new SimpleDocument (this.textBoxInput.Text, setting);

                this.DisplayText (document.Source ());
            }
            catch (ParseException exception)
            {
                this.DisplayError (exception);
            }
        }