1

I have a WinForms application with registration Form.. I created a skin for that form and added panels with Labels and TextBoxes.

But when the form is loading it first doesn't look good and twitching.. and after some second it looks as it suppose to be ... I try to set the form property

DoubleBuffered = true; but it doesn't help..

I set the form backgroundImage to the image I want and in the form c'tor I have this code lines to set the form shape as the image:

      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
        this.TransparencyKey = Color.FromArgb(0, 255, 0);

this is what i see when the form is first loading when to form is loading

now this is what I want to see when the form is first loading: enter image description here

4

0 回答 0