示例#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);
 }