//刷新用户组下拉框 ygc 2012-9-3 private void RefreshComBoxGroupUsers() { List <string> DistinctGroupUsers = LogTable.GetGroupUser(); ComBoxGroupUsers.Items.Clear(); foreach (string groupUser in DistinctGroupUsers) { ComBoxGroupUsers.Items.Add(groupUser); } if (ComBoxGroupUsers.Items.Count > 0) { ComBoxGroupUsers.SelectedIndex = 0; } }