Example #1
0
        public Editor(ViewModel.ViewModel viewModel)
        {
            InitializeComponent();

            DataContext          = viewModel;
            viewModel.EditorText = viewModel.SelectedDocument.OcrText;
        }
Example #2
0
        public Library()
        {
            InitializeComponent();

            _viewModel  = ServiceLocator.Current.GetInstance <ViewModel.ViewModel>();
            DataContext = _viewModel;
        }
Example #3
0
        public Reader(ViewModel.ViewModel viewModel)
        {
            InitializeComponent();

            _viewModel  = viewModel;
            DataContext = _viewModel;
        }
Example #4
0
 public InputText(ViewModel.ViewModel viewModel)
 {
     InitializeComponent();
     this.DataContext = viewModel;
 }