Dotnet Programing
It provides the solution of any query about C# windows forms, Asp.net,HTML,CSS,Sql Server
Pages
Home
C# Interview Questions & Answers
Tuesday, September 27, 2011
Set child form at the center of Mdi parent form
Place this code at page_load event
this
.Location =
new
Point
(
this
.MdiParent.ClientSize.Width / 2 -
this
.Width / 2,
this
.MdiParent.ClientSize.Height / 2 -
this
.Height / 2 - 50);
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment