C# Class Habanero.Faces.Win.CloseBOEditorDialogWin

This is a Dialog Box that is specialiased for dealing with the Closing of any form or application that is editing Business Objects. The dialogue box will display a sensible message to the user to determine whether they want to Close the Original form without saving, Save the BO and then Close or Cancel the Closing of the original form.
Inheritance: FormWin, ICloseBOEditorDialog
Show file Open project: Chillisoft/habanero.faces

Public Methods

Method Description
CloseBOEditorDialogWin ( IControlFactory controlFactory ) : System

Constructor

ShowDialog ( IBusinessObject businessObject ) : CloseBOEditorDialogResult

Protected Methods

Method Description
ShowForm ( ) : void

Private Methods

Method Description
ButtonClick ( object sender, EventArgs eventArgs ) : void
ConstructControl ( IControlFactory controlFactory ) : void

Construct the Dialog form for any situation e.g. where the Form being closed has Mutliple Business Objects is a wizard etc.

SetSize ( ) : void

Method Details

CloseBOEditorDialogWin() public method

Constructor
public CloseBOEditorDialogWin ( IControlFactory controlFactory ) : System
controlFactory IControlFactory The control Factory used to construct buttons, labels etc by ths control
return System

ShowDialog() public method

public ShowDialog ( IBusinessObject businessObject ) : CloseBOEditorDialogResult
businessObject IBusinessObject
return CloseBOEditorDialogResult

ShowForm() protected method

protected ShowForm ( ) : void
return void