public void miCopyXRef_Click(object sender, EventArgs e) { var list = ListChecks.GetSelectedItems(); var text = new StringBuilder(); foreach (var item in list) { var checkObj = (TreeTools.CheckObj)item; text.Append(checkObj.Rec.XRef); text.Append("\r\n"); } UIHelper.SetClipboardText(text.ToString()); }
private void btnIntoList_Click(object sender, EventArgs e) { fController.CreateLocationRecord(ListPlaces.GetSelectedItems()); }