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