C# Class FdoToolbox.Base.Controls.ViewContent

Inheritance: System.Windows.Forms.UserControl, IViewContent
Afficher le fichier Open project: jumpinjackie/fdotoolbox

Méthodes publiques

Méthode Description
Close ( ) : void

Closes the view. This raises the ViewContentClosing event

Confirm ( string title, string message ) : bool

Make a request for confirmation

ConfirmFormatted ( string title, string format ) : bool

Make a request for confirmation

ShowError ( Exception ex ) : void

Displays an exception message

ShowError ( string message ) : void

Displays an error message

ShowMessage ( string title, string message ) : void

Displays an alert message

ViewContent ( ) : System

Initializes a new instance of the ViewContent class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnBeforeConnectionRemove ( object sender, ConnectionBeforeRemoveEventArgs e ) : void
OnConnectionAdded ( object sender, FdoToolbox e ) : void
OnConnectionRefreshed ( object sender, FdoToolbox e ) : void
OnConnectionRemoved ( object sender, FdoToolbox e ) : void
OnConnectionRenamed ( object sender, ConnectionRenameEventArgs e ) : void

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

OnDisposed ( object sender, EventArgs e ) : void

Method Details

Close() public méthode

Closes the view. This raises the ViewContentClosing event
public Close ( ) : void
Résultat void

Confirm() public méthode

Make a request for confirmation
public Confirm ( string title, string message ) : bool
title string The title of the confirmation message
message string The message
Résultat bool

ConfirmFormatted() public méthode

Make a request for confirmation
public ConfirmFormatted ( string title, string format ) : bool
title string The title of the confirmation message
format string The message template
Résultat bool

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

OnBeforeConnectionRemove() protected méthode

protected OnBeforeConnectionRemove ( object sender, ConnectionBeforeRemoveEventArgs e ) : void
sender object
e FdoToolbox.Base.Services.ConnectionBeforeRemoveEventArgs
Résultat void

OnConnectionAdded() protected méthode

protected OnConnectionAdded ( object sender, FdoToolbox e ) : void
sender object
e FdoToolbox
Résultat void

OnConnectionRefreshed() protected méthode

protected OnConnectionRefreshed ( object sender, FdoToolbox e ) : void
sender object
e FdoToolbox
Résultat void

OnConnectionRemoved() protected méthode

protected OnConnectionRemoved ( object sender, FdoToolbox e ) : void
sender object
e FdoToolbox
Résultat void

OnConnectionRenamed() protected méthode

protected OnConnectionRenamed ( object sender, ConnectionRenameEventArgs e ) : void
sender object
e FdoToolbox.Base.Services.ConnectionRenameEventArgs
Résultat void

ShowError() public méthode

Displays an exception message
public ShowError ( Exception ex ) : void
ex System.Exception The exception object
Résultat void

ShowError() public méthode

Displays an error message
public ShowError ( string message ) : void
message string The message
Résultat void

ShowMessage() public méthode

Displays an alert message
public ShowMessage ( string title, string message ) : void
title string The title of this message
message string The message
Résultat void

ViewContent() public méthode

Initializes a new instance of the ViewContent class.
public ViewContent ( ) : System
Résultat System