private bool LoadStory(string filePath) { if (File.Exists(filePath)) { editingStory = Story.LoadStory(filePath); editorControlHandler = new StoryContentControlHandler(editingStory); return(true); } else { return(false); } }
private void CreateStory(int storyID, string storyName) { editingStory = new Story(storyID, storyName); editorControlHandler = new StoryContentControlHandler(editingStory); }