如何在用户查看之前在运行时绘制我们的更改
我有一个 Windows 窗体,每当我想要它的控件(例如图片框)正常更新时,我需要隐藏它并显示它以让更改发生。这会导致我想避免的眨眼。
有人知道我有什么选择吗? 它是一个从 form1 复制到 form2 的图片框,让用户看到更改。
谢谢
I am having a windows form that whenever I want its controls like picturebox update normally I need to hide it and show it to let the cahnges happen. This causes a blink which I want to avoid.
Does anybody know what are my options?
It is a picture box from form1 being copied to form2 and let the user see the changes.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为什么不能在不隐藏控件的情况下更改其属性?
一些选项:
如果这些选项没有帮助,请更详细地描述您的问题,我将尽力提供帮助。
Why can you not change the control's attributes without hiding it?
Some options:
If these options don't help, please describe your issue in more detail and I will try to provide assistance.
我不知道这是否有帮助,但是,您可以尝试:
复制图片框后,而不是隐藏图片框
I don't know if this will help, but, instead of hiding the picturebox, you can try:
after you copy the picturebox