C# Класс Server.ServerSideConfirm

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

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

Свойство Тип Описание
answer int

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

Метод Описание
ServerSideConfirm ( ServerSideMenu _sMenu ) : System

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

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

Clean up any resources being used.

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

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

False_Click. This method is called when the user clicks the "No" button. It sets the answer to zero and closes the form.

InitializeComponent ( ) : void

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

ServerSideConfirm_Load ( object sender, EventArgs e ) : void

ServerSideConfirm_Load. This initialzes the values of all the labels when the form is loaded. (ie the number of players, the max health, the max points).

True_Click ( object sender, EventArgs e ) : void

True_Click. This method is called when the user clicks the "Yes" button. It sets the answer to 1 and closes the form

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

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

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

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

public ServerSideConfirm ( ServerSideMenu _sMenu ) : System
_sMenu ServerSideMenu
Результат System

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

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

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