protected void projektUpdateClick(object sender, RoutedEventArgs e) { pControl.Change = false; pControl.projectUpdate(getData()); grid.Children.Clear(); grid.Children.Add(projectDataSheet = new ProjectDataSheet(grid)); }
protected void projectOpenClick(object sender, RoutedEventArgs e) { ProjectListItems items = (sender as Button).DataContext as ProjectListItems; pControl.ProjektID = items.id; grid.Children.Clear(); grid.Children.Add(projectDataSheet = new ProjectDataSheet(grid)); }
protected void navigateToProjectDataSheet(object sender, RoutedEventArgs e) { Button button = sender as Button; SmallProjectListItems items = button.DataContext as SmallProjectListItems; pControl.ProjektID = items.id; grid.Children.Clear(); grid.Children.Add(projectDataSheet = new ProjectDataSheet(grid)); }
protected void projektInsertClick(object sender, RoutedEventArgs e) { pControl.Change = false; try { pControl.projectInsert(getData()); grid.Children.Clear(); grid.Children.Add(projectDataSheet = new ProjectDataSheet(grid)); } catch (Exception) { MessageBox.Show("Nem lehet kitöltetlen mező!"); } }
protected void telephoneDeclineClick(object sender, RoutedEventArgs e) { MessageBoxResult result = MessageBox.Show("Biztosan elutasítja? \n", "HR Cloud", MessageBoxButton.YesNoCancel); switch (result) { case MessageBoxResult.Yes: pControl.jeloltKapcsUpdate(aControl.ApplicantID, 3); grid.Children.Clear(); grid.Children.Add(projectDataSheet = new ProjectDataSheet(grid)); break; case MessageBoxResult.No: break; case MessageBoxResult.Cancel: break; } }
protected void backToProjectDataSheet(object sender, RoutedEventArgs e) { grid.Children.Clear(); grid.Children.Add(projectDataSheet = new ProjectDataSheet(grid)); }