垂直进度条 [英] Vertical progress bar
本文介绍了垂直进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
VS 2005 SP3
VS 2005 SP3
我与进度条合作过很多次。
I have worked with the progress bar many times.
不过,我需要有一个是垂直的。但是,我无法找到将它旋转的任何财产。
However, I need to have one that is vertical. However, I can't find any property that will rotate it.
时的进度条始终处于水平位置,不能更改。
Is the progress bar always in a horizontal position and cannot be changed.
非常感谢,
推荐答案
试试这个:
public class VerticalProgressBar : ProgressBar {
protected override CreateParams CreateParams {
get {
CreateParams cp = base.CreateParams;
cp.Style |= 0x04;
return cp;
}
}
}
从:MSDN论坛
这篇关于垂直进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文