private void classTypePictureBox_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
 {
     if (item != null)
     {
         CpMediaItem[] items = new CpMediaItem[1];
         items[0] = item;
         classTypePictureBox.DoDragDrop(items, DragDropEffects.Copy | DragDropEffects.Move);
     }
 }
        private void mediaListView_DoubleClick(object sender, System.EventArgs e)
        {
            if (mediaListView.SelectedItems.Count == 0)
            {
                return;
            }

            if (mediaListView.SelectedItems[0].Tag.GetType() == typeof(CpMediaItem))
            {
                CpMediaItem mi = (CpMediaItem)mediaListView.SelectedItems[0].Tag;
                parent.PopupMediaPropertyDialog(mi);
            }
        }