Esempio n. 1
0
        private void btnRemoveTrainee_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                bl.deleteTrainee(HodayaY);
            }

            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Esempio n. 2
0
        private void btnRemoveTrainee_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                bl.deleteTrainee(Abigail);
                MessageBox.Show("you have successfully removed a trainee");
            }

            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }