close
public Form1()
{
InitializeComponent();
richTextBox1.LoadFile("note.txt", RichTextBoxStreamType.PlainText);
}
private void button1_Click(object sender, EventArgs e)
{
richTextBox1.SaveFile("note.txt", RichTextBoxStreamType.PlainText);
}
全站熱搜