예제 #1
0
        public static void removeBank(InstrumentBank bank)
        {
            int index = _banks.IndexOf(bank);

            if (index > -1)
            {
                removeBank(index);
            }
        }
예제 #2
0
        public static void removeBank(string bankname)
        {
            InstrumentBank bank = getBank(bankname);

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