C# Class ARCed.Database.Enemies.TreasureSelectDialog

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

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

SetTreasure() public method

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
return void

TreasureSelectDialog() public method

Default constructor
public TreasureSelectDialog ( ) : System
return System