Beispiel #1
0
 /// <summary>
 /// Updates the selected equipment label with the given item info.
 /// </summary>
 /// <param name="label"></param>
 /// <param name="item"></param>
 private void UpdateEquipmentLabel(ItemLabel label, Item item)
 {
     label.Image = new Bitmap(string.Format("{0}\\Data\\Items\\item_{1}.png", Application.StartupPath, item.NetID));
     this.m_Tooltip.SetToolTip(label, item.ToString());
 }