public static void removeBank(InstrumentBank bank) { int index = _banks.IndexOf(bank); if (index > -1) { removeBank(index); } }
public static void removeBank(string bankname) { InstrumentBank bank = getBank(bankname); if (bank != null) { removeBank(bank); } }
public static int getBankIndex(InstrumentBank bank) { return(_banks.IndexOf(bank)); }
//--Public Static Methods public static void addBank(InstrumentBank bank) { _banks.Add(bank); }