C# Class Heroes.Core.Castle.frmCommonBuyUpg

Show file Open project: edwardsak/homm

Public Methods

Method Description
ShowDialog ( Heroes town, Building buildingPurArmy ) : DialogResult
frmCommonBuyUpg ( ) : System

Protected Methods

Method Description
NewArmy ( ) : Heroes.Core.Army

Private Methods

Method Description
ValidateQty ( ) : bool
cmdBuy_Click ( object sender, EventArgs e ) : void
cmdClose_Click ( object sender, EventArgs e ) : void
txtQty_TextChanged ( object sender, EventArgs e ) : void

Method Details

NewArmy() protected method

protected NewArmy ( ) : Heroes.Core.Army
return Heroes.Core.Army

ShowDialog() public method

public ShowDialog ( Heroes town, Building buildingPurArmy ) : DialogResult
town Heroes
buildingPurArmy Building
return DialogResult

frmCommonBuyUpg() public method

public frmCommonBuyUpg ( ) : System
return System