Exemplo n.º 1
0
        protected override void cleanupBeforeExit()
        {
            Helper.Events.Input.ButtonPressed -= this.Input_ButtonPressed;
            Taskbar = null;
            Children.Clear();

            base.cleanupBeforeExit();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Replaces <see cref="Taskbar"/> with some new <see cref="Interface.Taskbar"/>
 /// </summary>
 private void AddTaskbar(Taskbar taskbar = null)
 {
     Taskbar = taskbar ?? new Taskbar();
 }