C# Class SMS_App2, API-Platform

Class file for SMS_Apps application
Inheritance: System.Web.UI.Page
ファイルを表示 Open project: attdevsupport/API-Platform

Public Methods

Method Description
BypassCertificateError ( ) : void

Neglect the ssl handshake error with authentication server

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void

This method called when the page is loaded into the web browser. Reads the config values and sets the local variables

UpdateButton_Click ( object sender, EventArgs e ) : void

Method will be called when the user clicks on Update Votes Total button

Private Methods

Method Description
DrawPanelForFailure ( Panel panelParam, string message ) : void

Displays error message

DrawPanelForSuccess ( Panel panelParam, string message ) : void

Display success message

GetCountFromFile ( string filePath ) : int

This method reads from files and returns the number of messages.

ReadConfigFile ( ) : bool

This method reads from config file and assign the values to local variables. Displays error message in case of ay mandatory value not specified

UpdateVoteCount ( ) : void

This method updates the vote counts by reading from the files

drawMessages ( ) : void

This method reads the messages file and draw the table.

Method Details

BypassCertificateError() public static method

Neglect the ssl handshake error with authentication server
public static BypassCertificateError ( ) : void
return void

Page_Load() protected method

This method called when the page is loaded into the web browser. Reads the config values and sets the local variables
protected Page_Load ( object sender, EventArgs e ) : void
sender object object, which invoked this method
e EventArgs EventArgs, which specifies arguments specific to this method
return void

UpdateButton_Click() protected method

Method will be called when the user clicks on Update Votes Total button
protected UpdateButton_Click ( object sender, EventArgs e ) : void
sender object object, that invoked this method
e EventArgs EventArgs, specific to this method
return void