Esempio n. 1
0
        public Editor(ViewModel.ViewModel viewModel)
        {
            InitializeComponent();

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

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

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