I want to centre a button in .NET Compact Framework. I dont see any property like StartPosition in .NET CF Form object.
Can someone please sugge开发者_如何学Cst me how to centre button in .NET CF 3.5?
You mean you want to center the button in it's container along these lines?
myButton.Left = myButton.Parent.Left + (myButton.Width / 2);
精彩评论