public HomeScreen()
        {
            InitializeComponent();
            viewModel   = new MainViewModel(BarcoApplicationDataService.Instance());
            DataContext = viewModel;

            registryName();
        }
Esempio n. 2
0
        public Login()
        {
            viewModel   = new MainViewModel(BarcoApplicationDataService.Instance());
            DataContext = viewModel;
            viewModel.insertDivisionIntoComboBox();

            ifRegistryEmpty();
        }
Esempio n. 3
0
 public MainWindow()
 {
     InitializeComponent();
     controlInitials();
     controlDivision();
     viewModel   = new MainViewModel(BarcoApplicationDataService.Instance());
     DataContext = viewModel;
     viewModel.insertDivisionIntoComboBox();
     viewModel.insertJobNatureIntoComboBox();
     //MessageBox.Show(viewModel.)
 }
Esempio n. 4
0
 public DetailJobrequest()
 {
     InitializeComponent();
     viewModel   = new MainViewModel(BarcoApplicationDataService.Instance());
     DataContext = viewModel;
 }