How I can achieve something like this?

enter image description here

I tried to set toolstrip dock to left

enter image description here

toolstrip dock to none

enter image description here

statusstrip dock to none

enter image description here

有帮助吗?

解决方案

You have a Z-order issue. Right click on the control and try "Bring to Front" or "Send to Back". You may also have to click on your other docked controls and change their z-order as well.

其他提示

Go to your Form1.Designer.cs (From1 is the name of your form) designer generated file. Go to the section where the strips are added to the Controls collection of the form, and switch the order, like so:

this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.statusStrip1);

This way the status trip will be in the right Z order (in terms of layouting too).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top