Esempio n. 1
0
 public UserViewPage(trainee a_trainee, scalodromEntities3 a_db_context)
 {
     InitializeComponent();
     DataContext    = this;
     currentTrainee = new TraineeWrapper(a_trainee);
     db_context     = a_db_context;
 }
Esempio n. 2
0
        private void btn_takePicture_Click(object sender, RoutedEventArgs e)
        {
            trainee l_trainee = traineeDataGrid.SelectedItem as trainee;

            if (l_trainee != null)
            {
            }
        }
Esempio n. 3
0
        private void traineeDataGrid_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
        {
            trainee l_trainee = traineeDataGrid.SelectedItem as trainee;

            if (l_trainee != null)
            {
                UserViewPage l_usrPage = new UserViewPage(l_trainee, db_context);
                l_usrPage.cb_save.Click += Cb_save_Click;
                userPageFrame.Content    = l_usrPage;
            }
        }
Esempio n. 4
0
 public TraineeWrapper()
 {
     i_trainee = new trainee();
 }
Esempio n. 5
0
 public TraineeWrapper(trainee a_trainee)
 {
     i_trainee = a_trainee;
 }