C# 클래스 FdoToolbox.Base.Controls.ViewContent

상속: System.Windows.Forms.UserControl, IViewContent
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox

공개 메소드들

메소드 설명
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