Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 private void btnOpenLocalFile_Click(object sender, EventArgs e)
 {
     him.OpenFile();
 }