/// <summary> /// Handles the New Server Info event of the Teamspeak Service /// </summary> private void TeamspeakService_NewServerInfo(object sender, TS3.Data.NewServerInfoEventArgs e) { Threading.InvokeOnUI(() => { this.ServerName = e.ServerName; this.ServerAddress = e.ServerAddress; this.ChatMessages.Clear(); this.Notifications.Clear(); }); }
/// <summary> /// Handles the New Server Info event of the Teamspeak Service /// </summary> private void TeamspeakService_NewServerInfo(object sender, TS3.Data.NewServerInfoEventArgs e) { this.ServerName = e.ServerName; this.ServerAddress = e.ServerAddress; }