예제 #1
0
        public void AddCamera()
        {
            Camera          camera = new Camera();
            CameraViewModel vm     = new CameraViewModel(camera);

            Cameras.Add(vm);
            _manager.cameras.Add(camera);
        }
예제 #2
0
 public void RemoveCamera(CameraViewModel camera)
 {
     Cameras.Remove(camera);
     _manager.cameras.Remove(camera.Model);
 }