Winform toolbar ToolStrip and status bar StatusStrip, winformtoolstrip

Source: Internet
Author: User

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.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.