Click here to Skip to main content
15,884,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I m not getting Location property for the form. If i create form programatically getting location property. If i create object form the form already created the location property not coming. Pls help
Posted
Updated 6-Nov-12 22:22pm
v2

1 solution

This may b your solution.

Form fm = new Form();
fm.Location.X = 20;
fm.Location.Y = 20;
 
Share this answer
 
Comments
Red Chocolate 7-Nov-12 5:23am    
No instead of creating form i have created wpf window what is the difference between wpf forms and windows?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900