C# 클래스 BF2Statistics.GamespyRedirectForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Services string[]
Step int

공개 메소드들

메소드 설명
GamespyRedirectForm ( ) : System

Creates a new instance of GamespyRedirectForm

보호된 메소드들

메소드 설명
AfterSelectProcessing ( ) : void

When the Step is changed, this method handles the processing of the next step

Dispose ( bool disposing ) : void

Clean up any resources being used.

VerifyDnsCache ( ) : bool

This method ping's the gamepsy services and verifies that the Redirect services are working. This method effectivly replaces the Redirector.VerifyDNSCache() method.

비공개 메소드들

메소드 설명
CancelBtn_Click ( object sender, EventArgs e ) : void

Event fired if the Cancel Button is pressed

DnsRadio_CheckedChanged ( object sender, EventArgs e ) : void
GetRedirectAddressesAsync ( ) : Task

Fetches the IP addresses of the hostnames provided in the redirect address boxes, and returns whether the provided hostnames were valid

HostsRadio_CheckedChanged ( object sender, EventArgs e ) : void
IcsRadio_CheckedChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

NextBtn_Click ( object sender, EventArgs e ) : void

Event fired when the Next button is pushed

PrevBtn_Click ( object sender, EventArgs e ) : void

Event fired when the Previous button is pushed

RedirectStatusUpdate ( TaskStep Step ) : void

Updates the Verify Hosts(ics) tab UI steps with status icons

Callback method for the Redirector.ApplyRedirectsAsync Method's IProgress.

SetHostStatus ( int i, string ImgText, Bitmap Img ) : void

Fills in the details of a Hosts(Ics) tab progress step on the GUI

SetStatus ( int i, string address, Bitmap Img, string ImgText = "" ) : void

This method sets the address, image, and image balloon text for the services listed in this form by service index.

ShowDnsErrorPage ( ) : void
ShowHostsErrorPage ( ) : void

메소드 상세

AfterSelectProcessing() 보호된 메소드

When the Step is changed, this method handles the processing of the next step
protected AfterSelectProcessing ( ) : void
리턴 void

Dispose() 보호된 메소드

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

GamespyRedirectForm() 공개 메소드

Creates a new instance of GamespyRedirectForm
public GamespyRedirectForm ( ) : System
리턴 System

VerifyDnsCache() 보호된 메소드

This method ping's the gamepsy services and verifies that the Redirect services are working. This method effectivly replaces the Redirector.VerifyDNSCache() method.
protected VerifyDnsCache ( ) : bool
리턴 bool

프로퍼티 상세

Services 보호되어 있는 정적으로 프로퍼티

The list of services we are verifying on the Diagnostic tab
protected static string[] Services
리턴 string[]

Step 보호되어 있는 프로퍼티

The current step of the form's progress
Used to track which page ID we are moving to next
protected int Step
리턴 int