Try this one :
frm.Top = (Screen.PrimaryScreen.WorkingArea.Height - frm.Height) / 2
frm.Left = (Screen.PrimaryScreen.WorkingArea.Width - frm.Width) / 2
Wednesday, July 16, 2008
Subscribe to:
Post Comments (Atom)
coding library of php code, .net code, java code....
|
No comments:
Post a Comment