private void onToInterest(object sender, EventArgs e) { int iSel = lbGroups.SelectedIndex; if (-1 == iSel) { return; } DCGroup gp = lbGroups.Items[iSel] as DCGroup; PLMPackServiceClient client = WCFClientSingleton.Instance.Client; client.AddInterest(gp.ID); Refill(); }