private void tsmiNewRichTextFile_Click(object sender, EventArgs e)
 {
     RichTextSource sourceEditor = new RichTextSource() { MdiParent = this };
     RichTextEditor rtfEditor = new RichTextEditor() { MdiParent = this, SourceViewer = sourceEditor };
     sourceEditor.Show();
     rtfEditor.Show();
 }
        private void tsmiOpenRichTextFile_Click(object sender, EventArgs e)
        {
            RichTextSource sourceEditor = new RichTextSource() { MdiParent = this };
            RichTextEditor rtfEditor = new RichTextEditor() { MdiParent = this, SourceViewer = sourceEditor };

            if (rtfEditor.OpenFile() == DialogResult.OK)
            {
                sourceEditor.Show();
                rtfEditor.Show();
            }
        }