Class OKCancelDialog
A base-class for creating fixed-size dialog boxes with an OK and a Cancel button.
public class OKCancelDialog : Form
- Inheritance
-
objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormOKCancelDialog
- Extension Methods
Constructors
OKCancelDialog()
public OKCancelDialog()
Fields
buttonCancel
protected Button buttonCancel
Field Value
- Button
buttonOK
protected Button buttonOK
Field Value
- Button
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposing
booltrue if managed resources should be disposed; otherwise, false.
OnCancelClicked()
This hook is called when the user clicks the Cancel button.
protected virtual void OnCancelClicked()
OnOKClicked()
This hook is called when the user clicks the OK button.
protected virtual void OnOKClicked()