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)); } }
public PreconstructedDecksWindow(PreconstructedDecksViewModel vm) { DataContext = vm; InitializeComponent(); }