C# Class SIL.ObjectBrowser.ObjectBrowser

FDOBrowserForm Class
Inheritance: System.Windows.Forms.Form
Mostra file Open project: sillsdev/FieldWorks

Public Properties

Property Type Description
m_updateFlag bool
m_virtualFlag bool

Protected Properties

Property Type Description
m_appCaption string
m_currOpenedProject string
m_dockPanel WeifenLuo.WinFormsUI.Docking.DockPanel
m_ruFiles List

Public Methods

Method Description
ObjectBrowser ( ) : System

Constructor.

ShowNewInspectorWndOne ( ) : InspectorWnd
ShowNewInspectorWndTwo ( object obj, string text, string toolTipText, InspectorWnd wnd ) : InspectorWnd

Protected Methods

Method Description
DockPanelContentAdded ( object sender, DockContentEventArgs e ) : void

Handles the ContentAdded event of the m_dockPanel control.

DockPanelContentRemoved ( object sender, DockContentEventArgs e ) : void

Handles the ContentRemoved event of the m_dockPanel control.

GetNewInspectorList ( ) : IInspectorList

Gets the new inspector list.

GetNewInspectorWndTitle ( object obj ) : string

Gets the title for a new inspector window being built for the specified object.

HandleFileOpenClick ( object sender, EventArgs e ) : void

Handles the Click event of the openToolStripMenuItem control.

HandleOpenObjectInNewWindowContextMenuClick ( object sender, CancelEventArgs e ) : void

Handles the Opening event of the grid's context menu.

HandleWindowClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void

Handles the inspector window closed.

MakeAppCaption ( string text ) : void

Makes the application's caption.

OnFormClosing ( FormClosingEventArgs e ) : void

Raises the E:System.Windows.Forms.Form.FormClosing event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Form.Load event.

OpenFile ( string fileName ) : void

Opens the specified file.

ShowNewInspectorWindow ( object obj ) : InspectorWnd

Creates the new inspector window for the specified object.

ShowNewInspectorWindow ( object obj, string text ) : InspectorWnd

Creates the new inspector window for the specified object.

ShowNewInspectorWindow ( object obj, string text, string toolTipText ) : InspectorWnd

Creates the new inspector window for the specified object.

Private Methods

Method Description
BuildRecentlyUsedFilesMenus ( ) : void

Builds the recently used files menus.

HandleRUFileMenuClick ( object sender, EventArgs l ) : void

Handles the user clicking on one of the recently used file menu items.

HandleWindowMenuItemClick ( object sender, EventArgs e ) : void

Handles the window menu item click.

InspectorGrid_Enter ( object sender, EventArgs e ) : void

Handles the Enter event of the InspectorGrid control.

InspectorGrid_Leave ( object sender, EventArgs e ) : void

Handles the Leave event of the InspectorGrid control.

PutFileAtTopOfRUFileList ( string newfile ) : void

Puts the specified file path at the top of recently used file list.

TileWindows ( DockAlignment alignment ) : void

Tiles the windows.

m_dockPanel_ActiveDocumentChanged ( object sender, EventArgs e ) : void

Handles the ActiveDocumentChanged event of the m_dockPanel control.

m_tsbShowObjInNewWnd_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_tsbShowObjInNewWnd control.

mnuArrangeInline_Click ( object sender, EventArgs e ) : void

Handles the Click event of the mnuArrangeInline control.

mnuExit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the mnuExit control.

mnuOptions_Click ( object sender, EventArgs e ) : void

Handles the Click event of the mnuOptions control.

mnuTileHorizontally_Click ( object sender, EventArgs e ) : void

Handles the Click event of the mnuTileHorizontally control.

mnuTileVertically_Click ( object sender, EventArgs e ) : void

Handles the Click event of the mnuTileVertically control.

mnuWindow_DropDownOpening ( object sender, EventArgs e ) : void

Handles the DropDownOpening event of the mnuWindow control.

Method Details

DockPanelContentAdded() protected method

Handles the ContentAdded event of the m_dockPanel control.
protected DockPanelContentAdded ( object sender, DockContentEventArgs e ) : void
sender object
e WeifenLuo.WinFormsUI.Docking.DockContentEventArgs
return void

DockPanelContentRemoved() protected method

Handles the ContentRemoved event of the m_dockPanel control.
protected DockPanelContentRemoved ( object sender, DockContentEventArgs e ) : void
sender object
e WeifenLuo.WinFormsUI.Docking.DockContentEventArgs
return void

GetNewInspectorList() protected method

Gets the new inspector list.
protected GetNewInspectorList ( ) : IInspectorList
return IInspectorList

GetNewInspectorWndTitle() protected method

Gets the title for a new inspector window being built for the specified object.
protected GetNewInspectorWndTitle ( object obj ) : string
obj object
return string

HandleFileOpenClick() protected method

Handles the Click event of the openToolStripMenuItem control.
protected HandleFileOpenClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

HandleOpenObjectInNewWindowContextMenuClick() protected method

Handles the Opening event of the grid's context menu.
protected HandleOpenObjectInNewWindowContextMenuClick ( object sender, CancelEventArgs e ) : void
sender object
e CancelEventArgs
return void

HandleWindowClosed() protected method

Handles the inspector window closed.
protected HandleWindowClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
sender object The sender.
e System.Windows.Forms.FormClosedEventArgs The /// instance containing the event data.
return void

MakeAppCaption() protected method

Makes the application's caption.
protected MakeAppCaption ( string text ) : void
text string
return void

ObjectBrowser() public method

Constructor.
public ObjectBrowser ( ) : System
return System

OnFormClosing() protected method

Raises the E:System.Windows.Forms.Form.FormClosing event.
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs
return void

OnLoad() protected method

Raises the E:System.Windows.Forms.Form.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

OpenFile() protected method

Opens the specified file.
protected OpenFile ( string fileName ) : void
fileName string
return void

ShowNewInspectorWindow() protected method

Creates the new inspector window for the specified object.
protected ShowNewInspectorWindow ( object obj ) : InspectorWnd
obj object
return InspectorWnd

ShowNewInspectorWindow() protected method

Creates the new inspector window for the specified object.
protected ShowNewInspectorWindow ( object obj, string text ) : InspectorWnd
obj object
text string
return InspectorWnd

ShowNewInspectorWindow() protected method

Creates the new inspector window for the specified object.
protected ShowNewInspectorWindow ( object obj, string text, string toolTipText ) : InspectorWnd
obj object
text string
toolTipText string
return InspectorWnd

ShowNewInspectorWndOne() public method

public ShowNewInspectorWndOne ( ) : InspectorWnd
return InspectorWnd

ShowNewInspectorWndTwo() public method

public ShowNewInspectorWndTwo ( object obj, string text, string toolTipText, InspectorWnd wnd ) : InspectorWnd
obj object
text string
toolTipText string
wnd InspectorWnd
return InspectorWnd

Property Details

m_appCaption protected_oe property

protected string m_appCaption
return string

m_currOpenedProject protected_oe property

protected string m_currOpenedProject
return string

m_dockPanel protected_oe property

protected DockPanel,WeifenLuo.WinFormsUI.Docking m_dockPanel
return WeifenLuo.WinFormsUI.Docking.DockPanel

m_ruFiles protected_oe property

protected List m_ruFiles
return List

m_updateFlag public_oe static_oe property

Specifies whether you want to be able to update class properties here (true) or not (false).
public static bool m_updateFlag
return bool

m_virtualFlag public_oe static_oe property

Specifies whether you want to see all properties of a class (true) or exclude the virtual properties (false).
public static bool m_virtualFlag
return bool