Form Load Event:
The following code shows you form load event.. at load what your form should look a like... you can explicitly set properties of form.
Code
private void Form1_Load(object sender, EventArgs e)
{
this.Opacity = 0.95; ' Setting Transparency
this.BackColor = Color.White;
this.MaximizeBox = false;
this.MinimizeBox = true;
this.Height = 400;
this.Width = 400;
this.StartPosition = FormStartPosition.CenterScreen;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.BackgroundImageLayout = ImageLayout.Center;
}
0 comments:
Post a Comment