Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Paint.NET style ToolWindow

Tags:

c#

.net

winforms

Can anyone tell me how to make Paint.NET style ToolWindow(s)? Sorry I don't know if there is some kind of terminology to describe this better.

Currently my ToolWindows take focus whenever I click on a control inside of the ToolWindow or the ToolWindow itself. This means that if I click on the ToolBar or the MenuBar in the main form of my program that only bring the form into focus and doesn't actually click on the ToolBar / Menu. I don't want that.

like image 838
smack0007 Avatar asked Nov 27 '25 22:11

smack0007


1 Answers

You can donwload source code od Paint.NET and look how implemented "ToolWindows".

download page

like image 113
MicTech Avatar answered Nov 29 '25 11:11

MicTech



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!