public UserViewPage(trainee a_trainee, scalodromEntities3 a_db_context) { InitializeComponent(); DataContext = this; currentTrainee = new TraineeWrapper(a_trainee); db_context = a_db_context; }
private void btn_takePicture_Click(object sender, RoutedEventArgs e) { trainee l_trainee = traineeDataGrid.SelectedItem as trainee; if (l_trainee != null) { } }
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; } }
public TraineeWrapper() { i_trainee = new trainee(); }
public TraineeWrapper(trainee a_trainee) { i_trainee = a_trainee; }