コード例 #1
0
 public override void DisposingViewModel(uFrame.MVVM.ViewModel viewModel)
 {
     base.DisposingViewModel(viewModel);
     CardsPileViewModelManager.Remove(viewModel);
 }
コード例 #2
0
 public virtual void InitializeCardsPile(CardsPileViewModel viewModel)
 {
     // This is called when a CardsPileViewModel is created
     viewModel.PileCardsReorder.Action = this.PileCardsReorderHandler;
     CardsPileViewModelManager.Add(viewModel);
 }