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?

Amit GuptaRank #190 · 12.8K reputationPosted Mar 16, 2020, 5:04 AM EDT
Aleksander Wind9 reputationPosted Mar 16, 2020, 5:19 AM EDT