Winform toolbar ToolStrip and status bar StatusStrip, winformtoolstrip
The settings of the toolbar and status bar are similar to those of the preceding menu.
1. ToolStrip
Drag a form from the toolbar tab and set the position through its Dock. First, the red part is the toolbar, and buttons, Lable, SplitButton, and DropDownButton in the drop-down menu can be placed in the toolbar.
After setting, you can write the Click event to it just like the previous menu.
2. StatusStrip
The so-called status bar is first shown in the figure, which is usually placed at the bottom of the main form. You can set label and ProgressBar. Logon users, copyright information, progress display, and so on are usually set. If event processing is required, you can do the same as above.
3. ToolStripContainer
This control is actually very interesting. There are very few materials on the Internet and it should not be easy to use. However, if the system is large and there are many tool bars, it can still be used. It is actually a tool bar container. After the software runs, we can drag and drop the tool bar to what we need. Here is a simple example. I put a toolbar in another iner. Then you can drag the image and draw a picture. This is the effect of running the software.
As you can see, you can drag and drop the toolbar, and drag it to the place where you are ready. The events of each item in the toolbar are still intact.
Of course, this is not beautiful. If you have a friend who has a better usage of this control, you can paste it to share it.