lukos / simsig_importer

.Net Desktop Application for converting Excel simplified timetables into Simsig timetables
GNU General Public License v3.0
3 stars 1 forks source link

remember export location #46

Open breadje opened 2 years ago

breadje commented 2 years ago

Would it be possible to not only let the exporter remember the location of the imported excel, but also the location of the last exported WTT?

lukos commented 2 years ago

Yes, I need to work out how to do this. There is a built-in mechanism in .Net but it is not supported in the version of code I am using.

lukos commented 2 years ago

I think we could do this directly with the properties functionality, you just need to add some more properties to the ImporterProperties class and get/set them when dialogs are opened and closed. Need to use two settings, one for import and the other for export. You can use Path.GetDirectory(path) once the dialog has closed to extract the directory name from the file they have just chosen.