C#读取文件并显示到文本框的代码如下:
using System;
using System.IO;
using System.Windows.Forms;
namespace ReadFileAndShowToTextBox
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, Event