Jump to content

Before I Dive In, Plug In Overview Question


Recommended Posts

I have a Nuget package called DataJuggler.PixelDatabase, and a new website that uses it https://pixeldatabase.net , and I have installed Code Labs on my computer.

 

The UI samples I saw all used sliders, and my program needs a text editor to type or paste in text for BQL, which stands for Bitmap Query language, which is very similar to SQL for databases.

 

Is is possible to build a UI where a user can type or paste in Text like this?

 

BQL to remove the black background:


Hide

Total < 50

 

Click the Apply Button:

 

I think this would be a useful add on for Paint.Net. I wrote my program to do some of the things I couldn't do with Paint.Net.

 

Thanks for any guidance. The code to replace the pixels looks straight forward in the plug Render method, as I do the same thing already I just don't break it up into smaller rectangles. 

 

 

 

 

 

 

BeforeQuery1.png

AfterQuery1.png

Edited by DataJuggler
Link to comment
Share on other sites

7 minutes ago, DataJuggler said:

Is is possible to build a UI where a user can type or paste in Text like this?

 

Yes, a multiline text control is available.

In CodeLab, open the Interface Designer (Ctrl+I).  There are many different controls to choose from.

 

 

You can also create fully custom WinForms dialog for your plugin, but that's usually unnecessary (also not support within CodeLab).

  • Like 1
Link to comment
Share on other sites

2 minutes ago, toe_head2001 said:

Windows Forms is my background, I read the Visual Studio part. 

 

2 minutes ago, toe_head2001 said:

Yes, a multiline text control is available.

In CodeLab, open the Interface Designer (Ctrl+I).  There are many different controls to choose from.

 

 

You can also create fully custom WinForms dialog for your plugin, but that's usually unnecessary (also not support within CodeLab).

 

Thanks, I have another question, I will start another thread because it is two part.

 

 

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.

 Share

×
×
  • Create New...