예제 #1
0
        private void btnAddTrainee_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                bl.addTrainee(HodayaY);
            }

            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
예제 #2
0
        private void btnAddTrainee_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                bl.addTrainee(Abigail);
                MessageBox.Show("You have successfully added a trainee");
            }

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