internal Dice(ViewModel.DiceViewModel mainViewModel)
 {
     InitializeComponent();
     DataContext = mainViewModel;
 }
Esempio n. 2
0
 public Dice(ViewModel.GameViewModel mainViewModel)
 {
     this.mainViewModel = mainViewModel as ViewModel.DiceViewModel;
     this.mainViewModel.DiceSliderMaximum = Convert.ToDouble(mainViewModel.GetPlayer.Money);
 }