Exemplo n.º 1
0
 public void SetBoardPackage(MonkeyBoardPackage boardPackage)
 {
     if (boardPackage != null)
     {
         BoardPackage         = boardPackage;
         this.PreviewKeyDown += BoardPackage.RestartKeyBinding;
         SetupDisplay();
     }
 }
Exemplo n.º 2
0
 public void ClearBoardPackage()
 {
     if (BoardPackage != null)
     {
         ClearDisplay();
         this.PreviewKeyDown -= BoardPackage.RestartKeyBinding;
         BoardPackage         = null;
     }
 }