Click here to Skip to main content
15,890,374 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I want my form starts at right corner of the screen.
what should I do?
thanks.
Posted

1 solution

Try putting this in Form.Load:
Left = Screen.PrimaryScreen.Bounds.Width - Width;
Top = 0;
 
Share this answer
 
Comments
#realJSOP 31-Mar-11 15:15pm    
5 - Proposed as answer
JOAT-MON 31-Mar-11 15:34pm    
5 - I'll second the motion.
Sergey Alexandrovich Kryukov 1-Apr-11 14:12pm    
This is because of IRCD. Please see:
http://www.codeproject.com/Answers/175616/WARNING-Black-Line-of-Death-in-windows-phone-7.aspx

(Sorry Griff, you already know that.)
:-)
--SA
mehdi_k 31-Mar-11 15:39pm    
thanks brother.
Sergey Alexandrovich Kryukov 1-Apr-11 14:10pm    
LOL, a 5!
--SA

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