Method dialog.Default Overload Sets default button. It responds to the Enter key. public dialog Default(int id) Parameters id (int) Button id. If 0 - the first button in the list. Returns dialog