Select And Open Multiple Files in the C# Windows Application
When I Select Multiple Files in My Computer And Open开发者_如何学Go , each File Open with one Instance in My Application. In Configure Windows Application to Run One Instance,But One File Open with My Application.How Can I Open Selected Files And Add Address Files in a List Box in My Application.
There are many ways you can control single instance of your application..For example see this thread: Run single instance of an application using Mutex. If you want your program to open multiple files-you'll have to pass some parameters to your program when checking its running instances or something like this.
精彩评论