Пример #1
0
        public void LoadInventoryItem(InventoryData data)
        {
            this.invData                = data;
            this.NudItemId.Value        = data.Item.Id;
            this.NudAmount.Value        = data.Amount;
            this.TxtItemName.Text       = data.Item.Name;
            this.CbPrefix.SelectedIndex = data.Prefix;
            this.LblRaw.Text            = $"Current Raw: {data.RawData.ToHex()}";

            this.SwitchControlStatus(false);
            if (data.Item.Id > -1)
            {
                this.SwitchControlStatus(true);
            }
        }
Пример #2
0
 public ItemEditorSavedEventArgs()
 {
     this.InventoryData = new InventoryData();
 }