예제 #1
0
        private void saveButton_Click(object sender, RoutedEventArgs e)
        {
            // open a new text editor window to be able to edit or open parallel files
            TextEditorWindow mainWindow = new TextEditorWindow();

            saveFileFunc();
        }
예제 #2
0
        void createFileFunc()
        {
            // open text editing window and close the starter one
            TextEditorWindow themainWindow = new TextEditorWindow();

            themainWindow.Show();
            Close();
        }
예제 #3
0
        // NEW file function
        void newFileFunc()
        {
            TextEditorWindow newFile = new TextEditorWindow();

            newFile.Show();
        }