Exemple #1
0
 private void OnAccountChange(object sender, AccountDataEventArgs e)
 {
     if (currentAccount == null || currentAccount.Id != e.AccountIndex)
     {
         LoadProfile(e.AccountIndex);
     }
 }
Exemple #2
0
 private void OnAccountRemoved(object sender, AccountDataEventArgs e)
 {
     if (currentAccount != null && currentAccount.Id == e.AccountIndex)
     {
         LoadProfileUnknown();
     }
 }
Exemple #3
0
 private void Dispatcher_AccountData(object sender, AccountDataEventArgs args)
 {
     this.InvokeAction((Action)(() => this.AddAccountData(args.Data)));
 }
 private void Dispatcher_AccountData(object sender, AccountDataEventArgs args)
 {
     this.InvokeAction((Action)(() => this.AddAccountData(args.Data)));
 }
Exemple #5
0
 protected void OnAccountUpdateHandler(AccountDataEventArgs e)
 {
     OnAccountUpdate?.Invoke(this, e);
 }