private void btnFormatSqlToHtml_Click(object sender, EventArgs e) { tbCtrlStage.SelectedIndex = 1; setupformatoptions(); setuphighlighterAttributes(); TGSqlParser sqlparser = new TGSqlParser(getDBVendor()); sqlparser.SqlText.Text = inputsql.Text; webBrowser1.DocumentText = sqlparser.ToHtml(TOutputFmt.ofhtml); }