开发者

Saving application specific save files C# visual studio

开发者 https://www.devze.com 2023-03-01 06:36 出处:网络
I have created an application in C# with visual studio. The 开发者_Go百科application has a Save dialog box which saves to an xml file and a Load dialog box which loads the xml data into the applicatio

I have created an application in C# with visual studio. The 开发者_Go百科application has a Save dialog box which saves to an xml file and a Load dialog box which loads the xml data into the application.

This all works well but what I really want to do is when the application saves the file it creates an application specific file that if the user double clicks it, it will open the application and load the data into it kinda like if you double click a .psd file it will open photoshop and load the file.

Any help would greatly be appreciated!

Thanks so much, Airlok


You could save the file with a custom extension and register it. See this question.

0

精彩评论

暂无评论...
验证码 换一张
取 消