예제 #1
0
 public CameraPreview()
 {
     this.InitializeComponent();
     ViewModel = DependencyCore.Instance.GetInstance <ICameraPreviewViewModel>();
     ViewModel.CaptureElement = captureElement;
     DataContext = ViewModel;
 }
 public CameraPreview()
 {
     this.InitializeComponent();
     ViewModel = DependencyCore.Instance.GetInstance<ICameraPreviewViewModel>();
     ViewModel.CaptureElement = captureElement;
     DataContext = ViewModel;
 }