public Camera() { InitializeComponent(); vm = new InputStreamService(); // vm.InitCamera(viewfinderBrush); // vm.InitSpaceChannel(new Model.SpaceChannel() { id_channel = 27 }); vm.OnChannelCreationCompleted += vm_OnChannelCreationCompleted; }
void PhotoChooser_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { InputStreamService service = new InputStreamService(); service.SaveInputStream(e,0); } }