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