Class OKCancelDialog
A base-class for creating fixed-size dialog boxes with an OK and a Cancel button.
public class OKCancelDialog : Form
- Inheritance
-
OKCancelDialog
- Extension Methods
Constructors
OKCancelDialog()
public OKCancelDialog()
Fields
buttonCancel
protected Button buttonCancel
Field Value
buttonOK
protected Button buttonOK
Field Value
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()