Jump to content

FileType dialog


Recommended Posts

There should be overloads for things like OnCreateSaveConfigUI or something like that.

If you can't find them in FileType or whatever the class is, you can try deriving from PropertyBasedFileType too.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

For saving it automatically does all of that for you. And if you use IndirectUI (which you really should be!), even the data binding and "Refresh the token" is handled for you.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Also, in order to get the Save dialog, your plugin must support saving and loading, as well as configuration of saving. These are specified as parameters to the base constructor.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...