G
Gonzalo Rodriguez
Hi;
Use the Anchor property,
By code:
this.button1.Anchor =
((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bott
om | System.Windows.Forms.AnchorStyles.Left)));
It's easier using the property window.
Gonzalo Rodriguez
e-mid said:i have button at the left bottom corner of the form
whenever i resize the form, i want to the button stay at the same place.
does button have property for this doing this?
Use the Anchor property,
By code:
this.button1.Anchor =
((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bott
om | System.Windows.Forms.AnchorStyles.Left)));
It's easier using the property window.
Gonzalo Rodriguez