示例#1
0
 public frmSelectArmor(Character objCharacter)
 {
     InitializeComponent();
     LanguageManager.TranslateWinForm(GlobalOptions.Language, this);
     lblMarkupLabel.Visible        = objCharacter.Created;
     nudMarkup.Visible             = objCharacter.Created;
     lblMarkupPercentLabel.Visible = objCharacter.Created;
     _objCharacter = objCharacter;
     MoveControls();
     // Load the Armor information.
     _objXmlDocument = XmlManager.Load("armor.xml");
     CommonFunctions.GenerateBlackMarketMappings(_objCharacter, _objXmlDocument, _setBlackMarketMaps);
 }