Esempio n. 1
0
        private void StoryService_StoryClosing(object sender, StoryClosingEventArgs e)
        {
            machine            = null;
            reader             = null;
            currentInstruction = null;
            hasStepped         = false;

            ChangeState(DebuggerState.Unavailable);

            var handler = MachineDestroyed;

            if (handler != null)
            {
                handler(this, new MachineDestroyedEventArgs());
            }
        }
Esempio n. 2
0
 private void StoryService_StoryClosing(object sender, StoryClosingEventArgs e)
 {
     SaveSettings(e.Story);
 }