Exemple #1
0
        private void SaveasButtonEvent(object sender, RoutedEventArgs e)
        {
            IWritable cb      = new NoteBook();
            var       content = new TextRange(MyText.Document.ContentStart, MyText.Document.ContentEnd).Text;

            cb.Saveas(content);
        }
Exemple #2
0
        private void OpenNoteBook_Click(object sender, RoutedEventArgs e)
        {
            ClearRichTextBox();
            NoteBook nb = new NoteBook();

            OpenFile(nb);
            NoteBookStyle();
        }