Esempio n. 1
0
        /// <summary>
        /// Destroys current screen and displays the screen below it
        /// </summary>
        /// <param Name="bc"></param>
        private void PopSceen(BaseCommand Bc)
        {
            this.Pause();
            Active.Pop();
            if (Active.Count == 0)
            {
                OnExitRequest?.Invoke(this, EventArgs.Empty);
            }

            Active.Peek()?.Resume();
        }
Esempio n. 2
0
 public void InvokeOnExitRequest()
 {
     OnExitRequest?.Invoke(this, null);
 }
Esempio n. 3
0
 protected virtual void OnExit()
 {
     OnExitRequest?.Invoke(this, EventArgs.Empty);
 }