C# Class Habanero.Faces.Win.OKCancelDialogFactoryWin

Creates OK/Cancel dialogs which contain OK and Cancel buttons, as well as control placed above the buttons, which the developer must provide.
Inheritance: IOKCancelDialogFactory
Exibir arquivo Open project: Chillisoft/habanero.faces

Public Methods

Method Description
CancelButton_ClickHandler ( IFormHabanero form ) : void

Handles the event of the Cancel Button being clicked.

CreateOKCancelForm ( IControlHabanero nestedControl, string formTitle ) : IFormHabanero

Creates a form containing OK and Cancel buttons

CreateOKCancelPanel ( IControlHabanero nestedControl ) : IOKCancelPanel

Creates a panel containing OK and Cancel buttons

OKCancelDialogFactoryWin ( IControlFactory controlFactory ) : System.Windows.Forms

Constructor for OKCancelDialogFactoryWin

OkButton_ClickHandler ( IFormHabanero form ) : void

Handles the event of the OKButton Being Clicked.

Method Details

CancelButton_ClickHandler() public method

Handles the event of the Cancel Button being clicked.
public CancelButton_ClickHandler ( IFormHabanero form ) : void
form IFormHabanero
return void

CreateOKCancelForm() public method

Creates a form containing OK and Cancel buttons
public CreateOKCancelForm ( IControlHabanero nestedControl, string formTitle ) : IFormHabanero
nestedControl IControlHabanero The control to place above the buttons
formTitle string The title shown on the form
return IFormHabanero

CreateOKCancelPanel() public method

Creates a panel containing OK and Cancel buttons
public CreateOKCancelPanel ( IControlHabanero nestedControl ) : IOKCancelPanel
nestedControl IControlHabanero The control to place above the buttons
return IOKCancelPanel

OKCancelDialogFactoryWin() public method

Constructor for OKCancelDialogFactoryWin
public OKCancelDialogFactoryWin ( IControlFactory controlFactory ) : System.Windows.Forms
controlFactory IControlFactory
return System.Windows.Forms

OkButton_ClickHandler() public method

Handles the event of the OKButton Being Clicked.
public OkButton_ClickHandler ( IFormHabanero form ) : void
form IFormHabanero
return void