NanoByte.Common  2.9.0
NanoByte.Common.Controls.OKCancelDialog Class Reference

A base-class for creating fixed-size dialog boxes with an OK and a Cancel button. More...

Inheritance diagram for NanoByte.Common.Controls.OKCancelDialog:

Protected Member Functions

virtual void OnOKClicked ()
 This hook is called when the user clicks the OK button. More...
 
virtual void OnCancelClicked ()
 This hook is called when the user clicks the Cancel button. More...
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Protected Attributes

System.Windows.Forms.Button buttonOK
 
System.Windows.Forms.Button buttonCancel
 

Detailed Description

A base-class for creating fixed-size dialog boxes with an OK and a Cancel button.

Member Function Documentation

◆ Dispose()

override void NanoByte.Common.Controls.OKCancelDialog.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

◆ OnCancelClicked()

virtual void NanoByte.Common.Controls.OKCancelDialog.OnCancelClicked ( )
inlineprotectedvirtual

This hook is called when the user clicks the Cancel button.

◆ OnOKClicked()

virtual void NanoByte.Common.Controls.OKCancelDialog.OnOKClicked ( )
inlineprotectedvirtual

This hook is called when the user clicks the OK button.


The documentation for this class was generated from the following files: