C# Class P02Project.TitleBarControl

Interaction logic for TitleBarControl.xaml
Inheritance: System.Windows.Controls.UserControl
显示文件 Open project: raouldc/OptiDev

Public Methods

Method Description
TitleBarControl ( ) : System

constructor

setColour ( Color col ) : void

set the background of the titlebar

setSubtitle ( String sub ) : void

Set the subtitle

setTopPage ( TopLevelPage top ) : void

setter of the topLevelPage

Private Methods

Method Description
Back_Click ( object sender, RoutedEventArgs e ) : void

this method called when the back button has been clicked

CCF_Button_Click ( object sender, RoutedEventArgs e ) : void
ResetTimer ( ) : void
dt_Tick ( object sender, EventArgs e ) : void

Method Details

TitleBarControl() public method

constructor
public TitleBarControl ( ) : System
return System

setColour() public method

set the background of the titlebar
public setColour ( Color col ) : void
col Color
return void

setSubtitle() public method

Set the subtitle
public setSubtitle ( String sub ) : void
sub String
return void

setTopPage() public method

setter of the topLevelPage
public setTopPage ( TopLevelPage top ) : void
top P02Project.Screens.TopLevelPage
return void