public StoryForm(AXMA_Story str) { InitializeComponent(); story = str; createLinks(); this.KeyUp += goNextParagraph; this.FormClosing += closing; foreach (var par in story.Paragraphs) { if (par.Name == "Start") { curParagraph = story.Paragraphs.IndexOf(par); prevParagraph = curParagraph; } } }
public Compiler() { story = new AXMA_Story(); InitializeComponent(); BuildGram(); }