API
Form.AcceptButton
Specifies the default button for Enter.
Formal Syntax & Structure
csharp syntaxcsharp
AcceptButton = button;Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.AcceptButton = button;Specifies the default button for Enter.
AcceptButton = button;// Documentary fragment; see mapped lesson for context.AcceptButton = button;