ya, i am setting the StartPosition to FormStartPosition.Manual. but i dont
have the control over the intiital form size,
"Saravanan" <Saravanan@discussions.microsoft.com> schrieb:
> ya, i am setting the StartPosition to FormStartPosition.Manual. but i
> dont
> have the control over the intiital form size,
Please describe how you are attempting to set the form size.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Saravanan - 26 Feb 2007 03:43 GMT
Hi,
I am setting the form size as like this
Form aForm = new Form();
aForm.BackColor = Color.WhiteSmoke;
aForm.Location = new Point(100, 100);
aForm.StartPosition = FormStartPosition.Manual;
aForm.Size = new Size(10,10);
aForm.AutoSize = true;
aForm.ClientSize = new Size(10, 10);
aForm.ControlBox = false;
aForm.FormBorderStyle = FormBorderStyle.FixedSingle;
> "Saravanan" <Saravanan@discussions.microsoft.com> schrieb:
> > ya, i am setting the StartPosition to FormStartPosition.Manual. but i
> > dont
> > have the control over the intiital form size,
>
> Please describe how you are attempting to set the form size.