Kevin Cope
GetRichTextBox().LoadFile(openFile1.FileName);
GetRichTextBox().LoadFile(openFile1.FileName, RichTextBoxStreamType.PlainText);
OpenFileDialog openFile1 = new OpenFileDialog(); openFile1.DefaultExt = "*.rtf"; openFile1.Filter = "RTF Files|*.rtf|Text Documents|*.txt|All Files|*.*"; if (openFile1.ShowDialog() == System.Windows.Forms.DialogResult.OK && openFile1.FileName.Length > 0) { GetRichTextBox().LoadFile(openFile1.FileName);