C# Класс BF2Statistics.GamespyRedirectForm

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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