C# 클래스 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
상속: System.Windows.Forms.UserControl, IContainerControl
파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BackstageView_Load void
ButtonClick void
CreateLinkButton void
PageHasChildren bool
UpdateButtonAppearance void
lnkButton_DoubleClick void
popoutForm_FormClosing void

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

ActivatePage() 공개 메소드

public ActivatePage ( BackstageViewPage associatedPage ) : void
associatedPage BackstageViewPage
리턴 void

AddPage() 공개 메소드

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
리턴 BackstageViewPage

AddSpacer() 공개 메소드

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
리턴 void

BackstageView() 공개 메소드

public BackstageView ( ) : System
리턴 System

Close() 공개 메소드

public Close ( ) : void
리턴 void

DrawMenu() 공개 메소드

public DrawMenu ( BackstageViewPage CurrentPage, bool force = false ) : void
CurrentPage BackstageViewPage
force bool
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

UpdateDisplay() 공개 메소드

public UpdateDisplay ( ) : void
리턴 void