C# Class Spryt.CanvasTabControl

Inheritance: System.Windows.Forms.TabControl
Exibir arquivo Open project: Metapyziks/SprytEditor

Private Properties

Property Type Description
DrawCross void
GetCloseBtnRect System.Drawing.Rectangle

Public Methods

Method Description
CanvasTabControl ( ) : System
CloseTab ( TabPage tp ) : void
CloseTab ( int tabindex ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnDrawItem ( DrawItemEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnTabClosed ( ClosedEventArgs e ) : void
OnTabClosing ( ClosingEventArgs e ) : void

Private Methods

Method Description
DrawCross ( DrawItemEventArgs e, Rectangle btnRect ) : void
GetCloseBtnRect ( Rectangle tabRect ) : Rectangle

Method Details

CanvasTabControl() public method

public CanvasTabControl ( ) : System
return System

CloseTab() public method

public CloseTab ( TabPage tp ) : void
tp System.Windows.Forms.TabPage
return void

CloseTab() public method

public CloseTab ( int tabindex ) : void
tabindex int
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

OnDrawItem() protected method

protected OnDrawItem ( DrawItemEventArgs e ) : void
e System.Windows.Forms.DrawItemEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnTabClosed() protected method

protected OnTabClosed ( ClosedEventArgs e ) : void
e ClosedEventArgs
return void

OnTabClosing() protected method

protected OnTabClosing ( ClosingEventArgs e ) : void
e ClosingEventArgs
return void