Exemple #1
0
 private void MoneyDelegate(MoneyEntity ME)
 {
     foreach (UIMoney x in MoneyDelegateList)
     {
         //x.Invoke(ME);
         x(ME);
     }
 }
Exemple #2
0
 private void MoneyDelegate(MoneyEntity ME)
 {
     foreach(UIMoney x in MoneyDelegateList)
     {
         //x.Invoke(ME);
         x(ME);
     }
 }
Exemple #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);
 }
Exemple #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);
 }