Create a System-tray styled box in Winforms (C#)

后端 未结 4 711
感动是毒
感动是毒 2020-12-09 14:08

I\'ve been hunting about for some resources on this, and I can\'t find any, so I\'ll bring in here.

I want to make a window similar in style to the quick launch box

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-09 14:27

    It's quite simple. Create a new form, and set ControlBox, MaximizeBox, and MinimizeBox properties to false. Set the Title property to an empty string. This will effectively eliminate the the nonclient title bar area, giving you this:

    Simple winforms window without nonclient area

    The the interior section (like with "Customize") can be duplicated with a properly sized Panel and Link.

提交回复
热议问题