Exemplo n.º 1
0
        private void Btn_Save_Click(object sender, EventArgs e)
        {
            SaveFileDialog sfd = new SaveFileDialog();

            if (sfd.ShowDialog() == DialogResult.OK)
            {
                FileKezelo.SaveData(sfd.FileName, richTextBox1.Text);
            }
        }
Exemplo n.º 2
0
        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;
            }
        }