void core_GeocachingComAccountChanged(object sender, Framework.EventArguments.GeocacheComAccountEventArgs e) { if (Visible) { UpdateView(MapUpdateReason.DataChanged); } }
void _geocachingComAccount_Changed(object sender, Framework.EventArguments.GeocacheComAccountEventArgs e) { _settingsProvider.SetSettingsValue("Core.GCComAccountName", e.AccountInfo.AccountName); _settingsProvider.SetSettingsValue("Core.GCComAccountToken", e.AccountInfo.APIToken); _settingsProvider.SetSettingsValue("Core.GCComAccountTokenStaging", e.AccountInfo.APITokenStaging); _settingsProvider.SetSettingsValue("Core.GCComAccountMemberType", e.AccountInfo.MemberType); _settingsProvider.SetSettingsValueInt("Core.GCComAccountMemberTypeId", e.AccountInfo.MemberTypeId); GeocachingAccountNames.SetAccountName("GC", e.AccountInfo.AccountName); OnGeocachingComAccountChanged(this); }
void core_GeocachingComAccountChanged(object sender, Framework.EventArguments.GeocacheComAccountEventArgs e) { UpdateList(); }