Exemple #1
0
        private void ShowPreconstructedDecksCommandExecute(object o)
        {
            PreconstructedDecksViewModel vm = new PreconstructedDecksViewModel();

            OnEventRaise(PreconstructedDecksRequested, vm);

            if (vm.Result == true)
            {
                Loading = true;
                ThreadPool.QueueUserWorkItem(AsyncCalling, new ThreadPoolArgs(AddPreconstructedDeckToCollectionAsync, vm));
            }
        }
Exemple #2
0
 public PreconstructedDecksWindow(PreconstructedDecksViewModel vm)
 {
     DataContext = vm;
     InitializeComponent();
 }