コード例 #1
0
 protected void projektUpdateClick(object sender, RoutedEventArgs e)
 {
     pControl.Change = false;
     pControl.projectUpdate(getData());
     grid.Children.Clear();
     grid.Children.Add(projectDataSheet = new ProjectDataSheet(grid));
 }
コード例 #2
0
        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));
        }
コード例 #3
0
        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));
        }
コード例 #4
0
 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ő!");
     }
 }
コード例 #5
0
        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;
            }
        }
コード例 #6
0
 protected void backToProjectDataSheet(object sender, RoutedEventArgs e)
 {
     grid.Children.Clear();
     grid.Children.Add(projectDataSheet = new ProjectDataSheet(grid));
 }