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

            }
        }