private void CopyBootstrapLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { BootstrapItem item = BootstrapList.SelectedItem as BootstrapItem; if (item == null) { return; } Clipboard.SetText(item.ToString()); }
private void RemoveBootstrapLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { BootstrapItem item = BootstrapList.SelectedItem as BootstrapItem; if (item == null) { return; } item.Core.Network.Cache.BootstrapContacts.Remove(item.Contact.CacheHash()); RefreshBootstrapList(); }