Ejemplo n.º 1
0
 public void ToDo(MyCommandEnum myCommandEnum, object obj)
 {
     if (myCommandEnum == MyCommandEnum.RefreshMasterList)
     {
         LoadMasterList();
     }
 }
Ejemplo n.º 2
0
        public void ToDo(MyCommandEnum myCommandEnum, object obj)
        {
            if (myCommandEnum == MyCommandEnum.ChangeToPlayerMode)
            {
                HideAll();
                Player1.Visibility = System.Windows.Visibility.Visible;
                (Player1 as IMyCommand).ToDo(MyCommandEnum.PlayVocabulary, obj);
            }

            if (myCommandEnum == MyCommandEnum.ChangeToHomeMode)
            {
                HideAll();
                Main1.Visibility = System.Windows.Visibility.Visible;
            }

            if (myCommandEnum == MyCommandEnum.DeleteMaster)
            {
                (Main1 as IMyCommand).ToDo(MyCommandEnum.RefreshMasterList, null);
            }
        }
Ejemplo n.º 3
0
 public void ToDo(MyCommandEnum changeToPlayMode, object obj)
 {
     PlayList(obj);
 }