C# Class MonitoringApp_V2.DataPanel

显示文件 Open project: projectgroepA1/ProjectgroepA1 Class Usage Examples

Public Methods

Method Description
DataPanel ( Form1 form, Connection connection, Identifier id ) : System
ReturnActualPowerTextBox ( ) : TextBox
ReturnChatBoxText ( ) : TextBox
ReturnChatInputTextBox ( ) : TextBox
ReturnChatTextBox ( ) : TextBox
ReturnDistanceTextBox ( ) : TextBox
ReturnEnergyTextBox ( ) : TextBox
ReturnFirstTime ( ) : bool
ReturnPowerTextBox ( ) : TextBox
ReturnPulseTextBox ( ) : TextBox
ReturnRPM ( ) : TextBox
ReturnSpeedTextBox ( ) : TextBox
ReturnTimeTextBox ( ) : TextBox
ReturnUserNameLabel ( ) : Label
changeChatBoxText ( string chatText ) : void
changeChatBoxTextSelf ( string chatText ) : void
changeFirstTime ( bool first ) : void
returnChart ( ) : Chart

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PowerFormButton_Click ( object sender, EventArgs e ) : void
SessionsHistoryButton_Click ( object sender, EventArgs e ) : void
chart1_Click ( object sender, EventArgs e ) : void
deleteButton_Click ( object sender, EventArgs e ) : void
label1_Click ( object sender, EventArgs e ) : void
newSessionButton_Click ( object sender, EventArgs e ) : void
textBox1_TextChanged ( object sender, EventArgs e ) : void

Method Details

DataPanel() public method

public DataPanel ( Form1 form, Connection connection, Identifier id ) : System
form Form1
connection Connection
id Identifier
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
return bool

ReturnActualPowerTextBox() public method

public ReturnActualPowerTextBox ( ) : TextBox
return TextBox

ReturnChatBoxText() public method

public ReturnChatBoxText ( ) : TextBox
return TextBox

ReturnChatInputTextBox() public method

public ReturnChatInputTextBox ( ) : TextBox
return TextBox

ReturnChatTextBox() public method

public ReturnChatTextBox ( ) : TextBox
return TextBox

ReturnDistanceTextBox() public method

public ReturnDistanceTextBox ( ) : TextBox
return TextBox

ReturnEnergyTextBox() public method

public ReturnEnergyTextBox ( ) : TextBox
return TextBox

ReturnFirstTime() public method

public ReturnFirstTime ( ) : bool
return bool

ReturnPowerTextBox() public method

public ReturnPowerTextBox ( ) : TextBox
return TextBox

ReturnPulseTextBox() public method

public ReturnPulseTextBox ( ) : TextBox
return TextBox

ReturnRPM() public method

public ReturnRPM ( ) : TextBox
return TextBox

ReturnSpeedTextBox() public method

public ReturnSpeedTextBox ( ) : TextBox
return TextBox

ReturnTimeTextBox() public method

public ReturnTimeTextBox ( ) : TextBox
return TextBox

ReturnUserNameLabel() public method

public ReturnUserNameLabel ( ) : Label
return Label

changeChatBoxText() public method

public changeChatBoxText ( string chatText ) : void
chatText string
return void

changeChatBoxTextSelf() public method

public changeChatBoxTextSelf ( string chatText ) : void
chatText string
return void

changeFirstTime() public method

public changeFirstTime ( bool first ) : void
first bool
return void

returnChart() public method

public returnChart ( ) : Chart
return Chart