C# Class AmandaInterface.FileManagerTabControl

Inheritance: System.Windows.Forms.TabControl
显示文件 Open project: remco138/amanda

Public Methods

Method Description
AddNewFile ( ) : void
CloseFile ( FileEditorTab fileTab ) : void
CloseSelectedTab ( ) : void
FileManagerTabControl ( ) : System
OpenFile ( ) : void
UpdateAutocompleteIdentifiers ( List StockIdentifiers ) : void

Protected Methods

Method Description
OnPaintBackground ( PaintEventArgs pevent ) : void

Private Methods

Method Description
ConvertRectangleBounds_CloseButton ( Rectangle r ) : Rectangle

Converts a Tab Rectangle to the bounding rectangle of the close button

ConvertRectangleBounds_CloseButton ( int tabIndex ) : Rectangle
OpenExistingFile ( string pathToFile ) : void
_DragDrop ( object sender, DragEventArgs e ) : void
_DragEnter ( object sender, DragEventArgs e ) : void
_MouseClick ( object sender, MouseEventArgs e ) : void
_MouseLeave ( object sender, EventArgs e ) : void
_MouseMove ( object sender, MouseEventArgs e ) : void

Method Details

AddNewFile() public method

public AddNewFile ( ) : void
return void

CloseFile() public method

public CloseFile ( FileEditorTab fileTab ) : void
fileTab FileEditorTab
return void

CloseSelectedTab() public method

public CloseSelectedTab ( ) : void
return void

FileManagerTabControl() public method

public FileManagerTabControl ( ) : System
return System

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
return void

OpenFile() public method

public OpenFile ( ) : void
return void

UpdateAutocompleteIdentifiers() public method

public UpdateAutocompleteIdentifiers ( List StockIdentifiers ) : void
StockIdentifiers List
return void