B
bob
Hello,
If i try and set the x part of Point returned from a Forms location
property the compiler says No.
e.g.
myForm.Location.X = 100;
It seems that the location property is magically returning a readonly
object. How is this so? I could really do with this feature but my
property doesn't seem happy with const or readonly next to it.
Any ideas?
Thanks,
bob
If i try and set the x part of Point returned from a Forms location
property the compiler says No.
e.g.
myForm.Location.X = 100;
It seems that the location property is magically returning a readonly
object. How is this so? I could really do with this feature but my
property doesn't seem happy with const or readonly next to it.
Any ideas?
Thanks,
bob