private void lvHistory_KeyDown(object sender, KeyEventArgs e) { switch (e.KeyData) { default: return; case Keys.Enter: him.TryOpen(); break; case Keys.Control | Keys.Enter: him.OpenFile(); break; case Keys.Control | Keys.C: him.CopyURL(); break; } e.Handled = true; }
private void btnCopyURL_Click(object sender, EventArgs e) { him.CopyURL(); }