简体   繁体   English

C#面板背景图片在滚动时分裂

[英]C# panel background image splitting on scrolling

I'm working on a winforms application using C#. 我正在使用C#开发Winforms应用程序。 I have a form with background image, and a panel on that with transparent background. 我有一个带有背景图像的表格,以及一个带有透明背景的面板。 Some data and controls will be dynamically created on this panel. 一些数据和控件将在此面板上动态创建。

This panel has a scroll bar, when I scrolls that background image is splitting and page and data is looking very odd. 此面板上有一个滚动条,当我滚动时,背景图像正在分裂,页面和数据看起来很奇怪。

Can anyone help me in fixing this issue? 谁能帮助我解决此问题? All I need that background image should not split on scrolling of the panel... 我需要的所有背景图片都不应在面板滚动时拆分。

Thanks in Advance. 提前致谢。 Suhasini 苏哈西尼

This seems to be a limitation on winforms. 这似乎是对Winforms的限制。 Check out this post for an explanation. 查看此帖子以获取说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM