Exemplo n.º 1
0
        public static void removeBank(InstrumentBank bank)
        {
            int index = _banks.IndexOf(bank);

            if (index > -1)
            {
                removeBank(index);
            }
        }
Exemplo n.º 2
0
        public static void removeBank(string bankname)
        {
            InstrumentBank bank = getBank(bankname);

            if (bank != null)
            {
                removeBank(bank);
            }
        }
Exemplo n.º 3
0
 public static int getBankIndex(InstrumentBank bank)
 {
     return(_banks.IndexOf(bank));
 }
Exemplo n.º 4
0
 //--Public Static Methods
 public static void addBank(InstrumentBank bank)
 {
     _banks.Add(bank);
 }