0
我嘗試在我的表單中添加背景圖像。當我運行它時,在表單完全加載圖像之前會有一些閃爍。如何在窗體中添加背景圖像的最佳方式 - WinForm?
我已經試過:
public Form1()
{
this.TransparencyKey = Color.Empty;
this.SetStyle(ControlStyles.DoubleBuffer, true);
this.SetStyle(ControlStyles.UserPaint, true);
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
InitializeComponent();
}
,但似乎它只是減少了一點。有什麼我想念的嗎?謝謝。
yup感謝您的信息。 – VinkyH 2010-11-09 03:38:27