Пример #1
0
        private void lvUploads_KeyDown(object sender, KeyEventArgs e)
        {
            switch (e.KeyData)
            {
            default:
                return;

            case Keys.Enter:
                uim.TryOpen();
                break;

            case Keys.Control | Keys.Enter:
                uim.OpenFile();
                break;

            case Keys.Control | Keys.X:
                uim.CopyURL();
                RemoveSelectedItems();
                break;

            case Keys.Control | Keys.C:
                uim.CopyURL();
                break;

            case Keys.Control | Keys.V:
                UploadManager.ClipboardUploadMainWindow();
                break;

            case Keys.Delete:
                RemoveSelectedItems();
                break;
            }

            e.Handled = true;
        }
Пример #2
0
 private void tsbClipboardUpload_Click(object sender, EventArgs e)
 {
     UploadManager.ClipboardUploadMainWindow();
 }