C# Class BF2Statistics.GamespyRedirectForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Свойство Type Description
Services string[]
Step int

Méthodes publiques

Méthode Description
GamespyRedirectForm ( ) : System

Creates a new instance of GamespyRedirectForm

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

AfterSelectProcessing() protected méthode

When the Step is changed, this method handles the processing of the next step
protected AfterSelectProcessing ( ) : void
Résultat void

Dispose() protected méthode

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

GamespyRedirectForm() public méthode

Creates a new instance of GamespyRedirectForm
public GamespyRedirectForm ( ) : System
Résultat System

VerifyDnsCache() protected méthode

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
Résultat bool

Property Details

Services protected_oe static_oe property

The list of services we are verifying on the Diagnostic tab
protected static string[] Services
Résultat string[]

Step protected_oe property

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