T
TS
When I set the anchor property in code, the button doesn't move:
this.cmdStartTutorial.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right);
When I change the anchor property from top & left defaults at design time I
get one of these errors depending on which sides I set:
"object type cannot be converted to target type"
"cannot widen from target type to primitive type"
What is the matter with this?
Also, I eventually want to put this positioning on a base class that the
form will inherit from. Will there be any reason for this not working if it
works on a regular form?
thank you!
this.cmdStartTutorial.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right);
When I change the anchor property from top & left defaults at design time I
get one of these errors depending on which sides I set:
"object type cannot be converted to target type"
"cannot widen from target type to primitive type"
What is the matter with this?
Also, I eventually want to put this positioning on a base class that the
form will inherit from. Will there be any reason for this not working if it
works on a regular form?
thank you!