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