D
D
des1roer2016-06-21 14:32:01
C++ / C#
des1roer, 2016-06-21 14:32:01

C# leave only collapse button?

There is an application in the tray. Those. click on the menu from the tray - a window opens, does something and collapses.
How can I leave only the collapse button in the top corner?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2016-06-21
@streetflush

On OnClose we hang up the collapse event. Delov then

I
Iron Bug, 2016-06-21
@rare

To disable the "maximize" button: MaximizeBox = false
To disable the "close" button: stackoverflow.com/a/7301828

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question