Great series man, it helps a lot for learning this technology. Personaly i am more intrested on managing Data files. Hope it gets explained later on the series. Thank you
Thanks! There are several ways you could do that - you could: 1. make the string fileName a property in the class scope, so when the method finishes, it is stored there and you could use it as you like. (you could also create a get method or make it a public property to access from elsewhere) 2. use a viewmodel to separate this info from the GUI (see tutorial #23) 3. create a separate class to store the information and create an object of that class to pass around to where you need it (this would be a model, like class FileData with public string FileName) hope this helps!!
Hover over .SafeFileNames in the line that says: string[] fileName = fileDialog.SafeFileNames; A small pane should show below .SafeFileNames; Click View to see the opened files.
Remember to add a breakpoint on the } above the else statement. do that by Hovering far left on the line, left of the line numbers too. A red dot appears that you can click
Thank you, and thanks for watching! Between working full time, contracting, and family, I'm pretty much at my capacity doing one per week for now. Hopefully in the future I can put out more!