private void clearListVariables()
 {
     txtMyChoice.Text = String.Empty;
     cboInventoryClasses.Current = 0;
     cboWieldAttrib.Current = 0;
     cboDamageType.Current = 0;
     cboLevel.Current = 0;
     cboArmorSet.Current = 0;
     cboMaterial.Current = 0;
     cboArmorLevel.Current = 0;
     cboSalvWork.Current = 0;
     cboEmbues.Current = 0;
     lstHudInventory.ClearRows();
     Search = new InventorySearchSettings();
 }
Beispiel #2
0
 private void clearArmorAvailableHudListVariables()
 {
     try{
         if (ArmorAvailableHudList != null) { ArmorAvailableHudList.ClearRows(); }
         if (txtArmorAvailableChoice != null) { txtArmorAvailableChoice.Text = ""; }
         if (SearchArmorItems != null) { SearchArmorItems.Clear(); }
     cboArmorAvailableCovers.Current = 0;
     cboArmorAvailableClass.Current = 0;
     cboArmorAvailableSet.Current = 0;
     Search.ArmorCoverage = 0;
     Search.ArmorSet = 0;
     Search.ObjectClass = 0;
     //    AvailableResults.Clear();
     Search = new InventorySearchSettings();
     }
     catch (Exception ex) { LogError(ex); }
 }