예제 #1
0
     private void AddBinding(
   MidiCommandType commandType,
   int index,
   Binding.bindingCallback callback
 )
     {
         Binding binding = new Binding();
           binding.key = new BindingKey(commandType, index);
           binding.callback = callback;
           if (!this.bindings.ContainsKey(binding.key)) {
         this.bindings.Add(binding.key, new List<Binding>());
           }
           this.bindings[binding.key].Add(binding);
     }
예제 #2
0
     private void AddBinding(
   MidiCommandType commandType,
   Binding.bindingCallback callback
 )
     {
         this.AddBinding(commandType, -1, callback);
     }