I know that LoadFile works for RichText, but is there an alternative, if i want to use a simmilar function for normal text?
Thank you in advance
- private void button Open_Click(object sender, EventArgs e)
- {
- if (openFileDialogNotes.ShowDialog()==DialogResult.OK)
- {
- textBoxMain.LoadFile(openFileDialogNotes.FileName);
- }
- }
P.S. is there an alternative for the SaveFile funtion too?