C# 클래스 FdoToolbox.Base.Workbench

Represents the main application window
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

공개 메소드들

메소드 설명
AddToolbar ( string name, ToolStrip toolbar, ToolbarRegion region, bool canToggleVisibility ) : void

Adds the toolbar.

GetToolbar ( string name ) : ToolStrip

Gets the toolbar.

InitializeWorkbench ( string title ) : void

Initializes the workbench.

InvokeMethod ( Delegate del ) : void

Invokes the method in the GUI thread context

SetStatusLabel ( string text ) : void

Sets the status label.

SetTitle ( string title ) : void

Sets the title.

SetToolbarVisibility ( string toolbarName, bool visible ) : void

Sets the toolbar visibility.

ShowContent ( IViewContent vc, ViewRegion region ) : void

Shows the content.

보호된 메소드들

메소드 설명
WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void
OnApplicationIdle ( object sender, EventArgs e ) : void
UpdateMenuItemStatus ( ) : void

Update Enabled/Visible state of items in the main menu based on conditions

Workbench ( ) : System

메소드 상세

AddToolbar() 공개 메소드

Adds the toolbar.
public AddToolbar ( string name, ToolStrip toolbar, ToolbarRegion region, bool canToggleVisibility ) : void
name string The name.
toolbar System.Windows.Forms.ToolStrip The toolbar.
region ToolbarRegion The region.
canToggleVisibility bool if set to true [can toggle visibility].
리턴 void

GetToolbar() 공개 메소드

Gets the toolbar.
public GetToolbar ( string name ) : ToolStrip
name string The name.
리턴 System.Windows.Forms.ToolStrip

InitializeWorkbench() 공개 정적인 메소드

Initializes the workbench.
public static InitializeWorkbench ( string title ) : void
title string
리턴 void

InvokeMethod() 공개 메소드

Invokes the method in the GUI thread context
public InvokeMethod ( Delegate del ) : void
del System.Delegate The delegate to invoke
리턴 void

SetStatusLabel() 공개 메소드

Sets the status label.
public SetStatusLabel ( string text ) : void
text string The text.
리턴 void

SetTitle() 공개 메소드

Sets the title.
public SetTitle ( string title ) : void
title string The title.
리턴 void

SetToolbarVisibility() 공개 메소드

Sets the toolbar visibility.
public SetToolbarVisibility ( string toolbarName, bool visible ) : void
toolbarName string Name of the toolbar.
visible bool if set to true [visible].
리턴 void

ShowContent() 공개 메소드

Shows the content.
public ShowContent ( IViewContent vc, ViewRegion region ) : void
vc IViewContent The vc.
region ViewRegion The region.
리턴 void

WndProc() 보호된 메소드

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
리턴 void