Наследование: System.EventArgs
Пример #1
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);
     }
 }
Пример #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);
     }
 }
Пример #3
0
 void drop_DropNotice(object sender, DropFileEventArgs e)
 {
     foreach (var item in e.Files)
     {
         this.Open(
         ((FormMain)main).faTabStripMain, item);
         //this.Open( , item);
     }
 }