C# Class SIL.FieldWorks.FdoUi.Dialogs.ConfirmDeleteObjectDlg

This dialog window allows for a user to confirm deleting an object, or cancel the deletion.
Inheritance: System.Windows.Forms.Form, IFWDisposable
Show file Open project: sillsdev/FieldWorks

Protected Properties

Property Type Description
m_cache SIL.FieldWorks.FDO.FdoCache

Public Methods

Method Description
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

ConfirmDeleteObjectDlg ( IHelpTopicProvider helpTopicProvider ) : System
SetDlgInfo ( CmObjectUi obj, SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator ) : void
SetDlgInfo ( CmObjectUi obj, SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator, ITsString tssNote ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ConfirmDeleteObjectDlg ( ) : System
ConfirmDeleteObjectDlg_Activated ( object sender, System e ) : void
GrowTextBox ( Panel panel, FwTextBox textBox ) : int
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

buttonHelp_Click ( object sender, EventArgs e ) : void
m_cancelButton_Leave ( object sender, System e ) : void
m_deleteButton_Leave ( object sender, System e ) : void

Method Details

CheckDisposed() public method

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
return void

ConfirmDeleteObjectDlg() public method

public ConfirmDeleteObjectDlg ( IHelpTopicProvider helpTopicProvider ) : System
helpTopicProvider IHelpTopicProvider
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

SetDlgInfo() public method

public SetDlgInfo ( CmObjectUi obj, SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator ) : void
obj CmObjectUi
cache SIL.FieldWorks.FDO.FdoCache
mediator XCore.Mediator
return void

SetDlgInfo() public method

public SetDlgInfo ( CmObjectUi obj, SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator, ITsString tssNote ) : void
obj CmObjectUi
cache SIL.FieldWorks.FDO.FdoCache
mediator XCore.Mediator
tssNote ITsString
return void

Property Details

m_cache protected property

protected FdoCache,SIL.FieldWorks.FDO m_cache
return SIL.FieldWorks.FDO.FdoCache