建议一个C# Windows工程项目
在窗体上面放一个richTextBox控件和一个button控件,如下是代码:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
StringBuilder allText = new StringBuilder();