C# Class ARCed.Database.Enemies.TreasureSelectDialog

Dialog for selecting possible treasure to be obtained after defeating enemies.
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: borisblizzard/arcreator Class Usage Examples

Méthodes publiques

Méthode Description
SetTreasure ( int prob, int itemId, int weaponId, int armorId ) : void

Sets the values of the control based on current settings

TreasureSelectDialog ( ) : System

Default constructor

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
ButtonOkClick ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

RadioButtonCheckChanged ( object sender, EventArgs e ) : void

Method Details

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

SetTreasure() public méthode

Sets the values of the control based on current settings
public SetTreasure ( int prob, int itemId, int weaponId, int armorId ) : void
prob int Probablity of obtaining treasure
itemId int ID of item to be obtained
weaponId int ID of weapon to be obtained
armorId int ID of armor to be obtained
Résultat void

TreasureSelectDialog() public méthode

Default constructor
public TreasureSelectDialog ( ) : System
Résultat System