Defines constants that represent common results returned from dialog boxes.
Enum | +--DialogResult
package com.ms.wfc.ui
public class DialogResult
extends Enum
If you assign a DialogResult value to the dialogResult property of a Button control, clicking the button closes the parent form and sets the form's dialogResult property to that value (if the form was displayed using the showDialog method).