المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : application start from file open request?



C# Programming
01-29-2010, 08:52 AM
I have an application where the user sets-up a workspace. The workspace has a variety of elements including arrays, bitmaps, generic lists, etc. When the user is done working he/she can save the workspace. The application saves the elements in a sequenced, binary file. When the user comes back, he starts the application and loads the workspace through an “open” menu item. It works.

Now, some users instinctively navigate to the file and double-click to both start the application and load the file. I’m all set with setting the default app for the extension and all that. But, what is the standard procedure for instructing the application to load the selected file if it has opened by way of a file double-click?