C# 如何在消息框上设置进度条
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/949651/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to set Progress bar on Message Box
提问by Shamim
I want to set progress bar on my message box how to set ...progress bar property style have Marquee property..... Message box code is bellow.......
我想在我的消息框上设置进度条如何设置...进度条属性样式具有 Marquee 属性..... 消息框代码如下......
MessageBox.Show("Data process please wait .", "Data progress ", MessageBoxIcon.Information);
回答by Rom
There is no way to do that using MessageBox. You need to implement your own Form which would look like a MessageBox, but contain a progress bar and/or anything else which you want to see there.
使用 MessageBox 无法做到这一点。您需要实现自己的表单,它看起来像一个 MessageBox,但包含一个进度条和/或您想在那里看到的任何其他内容。