protected virtual void OnCurrentSceneChange(YamahaDesk desk, int scenenumber) { var handler = CurrentSceneChange; if (handler != null) { handler(desk, scenenumber); } }
internal SceneCollection(YamahaDesk desk, SnapshotCollection collection) { _desk = desk; collection.SnapshotUpdated += OnSnapshotUpdated; foreach (var item in collection) { _scenes[item.Index] = new Scene(item); } }
internal SnapshotCollection(YamahaDesk desk, string address) { _desk = desk; _address = address; }