private void DT_Tick(object sender, EventArgs e) { OnlinePlayer.Items.Clear(); foreach (var i in cts.GetServerOnlineData(1)) { OnlinePlayer.Items.Add(new Player { Name = i.Name }); } }
private void DT_Tick(object sender, EventArgs e) { OnlinePlayer.Items.Clear(); foreach (var i in cts.GetServerOnlineData(1)) { OnlinePlayer.Items.Add(new Player { Name = i.Name }); } }