Пример #1
0
 private void changeView()
 {
     if (coin == "")
     {
         DataContext = new CoinHistoryViewModel();
     }
     else
     {
         DataContext = new CoinHistoryViewModel(coin, format);
     }
 }
Пример #2
0
 public CoinHistoryUC()
 {
     InitializeComponent();
     DataContext = new CoinHistoryViewModel();
 }