jglim / CaesarSuite

Library and applications to work with Dаіmlеr diagnostics CBF files.
MIT License
125 stars 33 forks source link

Drag and Drop #22

Closed N0cynym closed 3 years ago

N0cynym commented 3 years ago

How about loading files by drag and drop? Sorry I'm not a professional in C# so I'm still trying, failing and sending an idea...

N0cynym commented 3 years ago

Please ignore this i send it to my own because I hoped to make two file change with one commit...

N0cynym commented 3 years ago

Note I only tried different ways to code it in debug mode. I'm not sure if it needs to build to a release to run Drag and Drop succesful.

jglim commented 3 years ago

Thanks for the effort, I have fixed up the file loading. Your general implementation seems alright, though it might be good to note that the form itself might not be able to receive the DragDrop event, so I moved it onto the TreeView instead.