Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/15/14 19:40:51 (8 years ago)
Author:
bburlacu
Message:

#2265: Added drag&drop file loading support. To avoid confusion between files and all the other data types that can be dragged and dropped in HeuristicLab, the drop area for loading files is restricted to the toolbar and menubar of the HL window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/MainForms/MainForm.Designer.cs

    r11171 r11467  
    5757      this.menuStrip.TabIndex = 0;
    5858      this.menuStrip.Text = "menuStrip";
     59      this.menuStrip.AllowDrop = true;
     60      this.menuStrip.DragEnter += MainFormBase_DragEnter;
     61      this.menuStrip.DragDrop += MainFormBase_DragDrop;
    5962      //
    6063      // toolStrip
     
    6467      this.toolStrip.Size = new System.Drawing.Size(624, 25);
    6568      this.toolStrip.TabIndex = 1;
     69      this.toolStrip.AllowDrop = true;
     70      this.toolStrip.DragEnter += MainFormBase_DragEnter;
     71      this.toolStrip.DragDrop += MainFormBase_DragDrop;
    6672      //
    6773      // statusStrip
     
    7379      this.statusStrip.Text = "statusStrip";
    7480      //
    75       // MainFormBase
     81      // MainForm
    7682      //
    7783      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
Note: See TracChangeset for help on using the changeset viewer.