Пример #1
0
 private void MoneyDelegate(MoneyEntity ME)
 {
     foreach (UIMoney x in MoneyDelegateList)
     {
         //x.Invoke(ME);
         x(ME);
     }
 }
Пример #2
0
 private void MoneyDelegate(MoneyEntity ME)
 {
     foreach(UIMoney x in MoneyDelegateList)
     {
         //x.Invoke(ME);
         x(ME);
     }
 }
Пример #3
0
 public void UpdateData(MainWindow main, MoneyEntity ME)
 {
     main.setUser(ME.name);
     main.setPrincipal(ME.principal);
     main.setTotal(ME.now + win);
     main.setNow(ME.now);
 }
Пример #4
0
 private void GetDelegateValues(MoneyEntity ME)
 {
     Action<MainWindow, MoneyEntity> updateAction = new Action<MainWindow, MoneyEntity>(UpdateData);
     this.Dispatcher.BeginInvoke(updateAction, this, ME);
     //setUser(ME.name);
     //setPrincipal(ME.principal);
     //setTotal(ME.now + win);
     //setNow(ME.now);
 }