C# Class MissionPlanner.Controls.BackstageView.BackstageView

A Control to somewhat emulate the 'backstage view' as in MS Office 2010
'Tabs' are added as a control in a BackstageViewPage
Inheritance: System.Windows.Forms.UserControl, IContainerControl
Afficher le fichier Open project: ArduPilot/MissionPlanner Class Usage Examples

Private Properties

Свойство Type Description
BackstageView_Load void
ButtonClick void
CreateLinkButton void
PageHasChildren bool
UpdateButtonAppearance void
lnkButton_DoubleClick void
popoutForm_FormClosing void

Méthodes publiques

Méthode Description
ActivatePage ( BackstageViewPage associatedPage ) : void
AddPage ( Type userControl, string headerText, BackstageViewPage Parent, bool advanced ) : BackstageViewPage

Add a page (tab) to this backstage view. Will be added at the end/bottom

AddSpacer ( int spacerheight ) : void

Add a spacer to this backstage view. Will be added at the end/bottom

BackstageView ( ) : System
Close ( ) : void
DrawMenu ( BackstageViewPage CurrentPage, bool force = false ) : void
UpdateDisplay ( ) : void

Méthodes protégées

Méthode Description
OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
BackstageView_Load ( object sender, EventArgs e ) : void
ButtonClick ( object sender, EventArgs e ) : void
CreateLinkButton ( BackstageViewPage page, bool haschild = false, bool child = false ) : void
PageHasChildren ( BackstageViewPage parent ) : bool
UpdateButtonAppearance ( ) : void
lnkButton_DoubleClick ( object sender, EventArgs e ) : void
popoutForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Method Details

ActivatePage() public méthode

public ActivatePage ( BackstageViewPage associatedPage ) : void
associatedPage BackstageViewPage
Résultat void

AddPage() public méthode

Add a page (tab) to this backstage view. Will be added at the end/bottom
public AddPage ( Type userControl, string headerText, BackstageViewPage Parent, bool advanced ) : BackstageViewPage
userControl System.Type
headerText string
Parent BackstageViewPage
advanced bool
Résultat BackstageViewPage

AddSpacer() public méthode

Add a spacer to this backstage view. Will be added at the end/bottom
public AddSpacer ( int spacerheight ) : void
spacerheight int the amount to space by
Résultat void

BackstageView() public méthode

public BackstageView ( ) : System
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

DrawMenu() public méthode

public DrawMenu ( BackstageViewPage CurrentPage, bool force = false ) : void
CurrentPage BackstageViewPage
force bool
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

UpdateDisplay() public méthode

public UpdateDisplay ( ) : void
Résultat void