void createFileFunc() { // open text editing window and close the starter one TextEditorWindow themainWindow = new TextEditorWindow(); themainWindow.Show(); Close(); }
// NEW file function void newFileFunc() { TextEditorWindow newFile = new TextEditorWindow(); newFile.Show(); }