C# 클래스 SMS_App2, API-Platform

Class file for SMS_Apps application
상속: System.Web.UI.Page
파일 보기 프로젝트 열기: attdevsupport/API-Platform

공개 메소드들

메소드 설명
BypassCertificateError ( ) : void

Neglect the ssl handshake error with authentication server

보호된 메소드들

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

비공개 메소드들

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

메소드 상세

BypassCertificateError() 공개 정적인 메소드

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

Page_Load() 보호된 메소드

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

UpdateButton_Click() 보호된 메소드

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