C# Класс FdoToolbox.Base.Controls.ViewContent

Наследование: System.Windows.Forms.UserControl, IViewContent
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Close() публичный Метод

Closes the view. This raises the ViewContentClosing event
public Close ( ) : void
Результат void

Confirm() публичный Метод

Make a request for confirmation
public Confirm ( string title, string message ) : bool
title string The title of the confirmation message
message string The message
Результат bool

ConfirmFormatted() публичный Метод

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
Результат bool

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

OnBeforeConnectionRemove() защищенный Метод

protected OnBeforeConnectionRemove ( object sender, ConnectionBeforeRemoveEventArgs e ) : void
sender object
e FdoToolbox.Base.Services.ConnectionBeforeRemoveEventArgs
Результат void

OnConnectionAdded() защищенный Метод

protected OnConnectionAdded ( object sender, FdoToolbox e ) : void
sender object
e FdoToolbox
Результат void

OnConnectionRefreshed() защищенный Метод

protected OnConnectionRefreshed ( object sender, FdoToolbox e ) : void
sender object
e FdoToolbox
Результат void

OnConnectionRemoved() защищенный Метод

protected OnConnectionRemoved ( object sender, FdoToolbox e ) : void
sender object
e FdoToolbox
Результат void

OnConnectionRenamed() защищенный Метод

protected OnConnectionRenamed ( object sender, ConnectionRenameEventArgs e ) : void
sender object
e FdoToolbox.Base.Services.ConnectionRenameEventArgs
Результат void

ShowError() публичный Метод

Displays an exception message
public ShowError ( Exception ex ) : void
ex System.Exception The exception object
Результат void

ShowError() публичный Метод

Displays an error message
public ShowError ( string message ) : void
message string The message
Результат void

ShowMessage() публичный Метод

Displays an alert message
public ShowMessage ( string title, string message ) : void
title string The title of this message
message string The message
Результат void

ViewContent() публичный Метод

Initializes a new instance of the ViewContent class.
public ViewContent ( ) : System
Результат System