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

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

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

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