C# Класс Client.ClientSideMenu

Lacey Townes
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
info ClientConfirm
shiptype int
testIP object
userName String

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

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

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

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

Clean up any resources being used.

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

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

BStart_Click. This method is called when the "Start" button is clicked. It creates a new ClientConfirm form, passes itself. It only closes the ClientSideMenu if the user selects yes from the confirm method.

IIPAddresses_SelectedIndexChanged ( object sender, EventArgs e ) : void

IIPAddresses_SelectedIndexChanged method. This method is called when the user selects an IP address from the dropdown list

IName_TextChanged ( object sender, EventArgs e ) : void

IName_TextChanged. Method that is called when "IName" text has changed. It sets userName to whatever is entered.

IShiptype_SelectedIndexChanged ( object sender, EventArgs e ) : void

IShiptype_SlectedIndexChanged. Method that is called when the user selects an item from the drop down list of ship types. It sets shipType

InitializeComponent ( ) : void

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

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

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

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

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

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

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

info публичное свойство

public ClientConfirm,Client info
Результат ClientConfirm

shiptype публичное свойство

public int shiptype
Результат int

testIP публичное свойство

public object testIP
Результат object

userName публичное свойство

The ClientSideMenu constructor, this initilizes the components and sets the testIp addresses
public String userName
Результат String