Link to home
Start Free TrialLog in
Avatar of amielDorel
amielDorel

asked on

C# Setting a Label (and other components) Location in run time

C# Setting a Label (and other components) Location in run time
Label1.Location.Y = 10 or
Label1.Location.X = 5  get me an error
Error      1      Cannot modify the return value of 'System.Windows.Forms.Control.Location' because it is not a variable
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial