C# Класс BF2Statistics.HostsFileTestForm

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

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

Свойство Тип Описание
ServiceTask Task
Services string[]

Открытые методы

Метод Описание
HostsFileTestForm ( ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

VerifyDnsCache ( ) : void

This method ping's the gamepsy services and verifies that the HOSTS file redirects are working correctly

Приватные методы

Метод Описание
CloseBtn_Click ( object sender, EventArgs e ) : void

Event fired when the Close button is clicked

HostsFileTestForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Event fired when the form begins to close

HostsFileTestForm_Shown ( object sender, EventArgs e ) : void

Event fired after the form has been displayed to the user

InitializeComponent ( ) : void

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

RefreshBtn_Click ( object sender, EventArgs e ) : void

Event fired when the refresh button is clicked

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.

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

HostsFileTestForm() публичный Метод

public HostsFileTestForm ( ) : System
Результат System

VerifyDnsCache() защищенный Метод

This method ping's the gamepsy services and verifies that the HOSTS file redirects are working correctly
protected VerifyDnsCache ( ) : void
Результат void

Описание свойств

ServiceTask защищенное свойство

Our cache verifying task
protected Task ServiceTask
Результат Task

Services защищенное статическое свойство

The list of services we are verifying
protected static string[] Services
Результат string[]