Method | Description | |
---|---|---|
BypassCertificateError ( ) : void |
Neglect the ssl handshake error with authentication server
|
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
|
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.
|
public static BypassCertificateError ( ) : void | ||
return | void |
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 |
protected UpdateButton_Click ( object sender, EventArgs e ) : void | ||
sender | object | object, that invoked this method |
e | EventArgs | EventArgs, specific to this method |
return | void |