示例#1
0
文件: Form1.cs 项目: mate1213/6_ora
        private void Btn_Save_Click(object sender, EventArgs e)
        {
            SaveFileDialog sfd = new SaveFileDialog();

            if (sfd.ShowDialog() == DialogResult.OK)
            {
                FileKezelo.SaveData(sfd.FileName, richTextBox1.Text);
            }
        }
示例#2
0
文件: Form1.cs 项目: mate1213/6_ora
        private void Btn_Load_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();

            if (ofd.ShowDialog() == DialogResult.OK)
            {
                string temp;
                FileKezelo.LoadData(ofd.FileName, out temp);
                richTextBox1.Text = temp;
            }
        }