C# Класс FdoToolbox.Base.Workbench

Represents the main application window
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

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

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