Inheritance: System.EventArgs
 void control_DragDrop(object sender, DragEventArgs e)
 {
     System.Array ar = e.Data.GetData(DataFormats.FileDrop) as System.Array;
     if (ar != null && this.DropNotice!=null)
     {
         DropFileEventArgs dfe = new DropFileEventArgs(ar.Cast<string>());
         DropNotice(sender, dfe);
     }
 }
Exemple #2
0
 void control_DragDrop(object sender, DragEventArgs e)
 {
     System.Array ar = e.Data.GetData(DataFormats.FileDrop) as System.Array;
     if (ar != null && this.DropNotice != null)
     {
         DropFileEventArgs dfe = new DropFileEventArgs(ar.Cast <string>());
         DropNotice(sender, dfe);
     }
 }
 void drop_DropNotice(object sender, DropFileEventArgs e)
 {
     foreach (var item in e.Files)
     {
         this.Open(
         ((FormMain)main).faTabStripMain, item);
         //this.Open( , item);
     }
 }