Beispiel #1
0
        protected virtual void OnScenarioFinishEvent(EventArgs e)
        {
            IsInScenario = false;
            ScenarioEventHandler handler = ScenarioFinish;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
        protected virtual void OnScenarioStartEvent(EventArgs e)
        {
            IsInScenario = true;
            ScenarioEventHandler handler = ScenarioStart;

            if (handler != null)
            {
                handler(this, e);
            }
        }