private void 保存SToolStripMenuItem_Click(object sender, EventArgs e) { MyDialog.SaveToTextFile(richTextBox1.Text, MyTime.GetNowTimeCode(3)); }
private void button3_Click(object sender, EventArgs e)//另存为 { MyDialog.SaveToTextFile(richTextBox1.Text, textBox2.Text); }