Esempio n. 1
0
        /* private void btnUpdateChild_Click(object sender, RoutedEventArgs e)
         * {
         *
         * }
         *
         * private void btnUpdateContract_Click(object sender, RoutedEventArgs e)
         * {
         *
         * }
         *
         * private void btnUpdateMommy_Click(object sender, RoutedEventArgs e)
         * {
         *
         * }*/

        private void btnFindTestersByDis_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                List <BE.Tester> found = bl.getAllTestersByDis(Convert.ToInt32(txtFindTestersByDis.Text), txtfindtestersbyadd.Text);

                foreach (BE.Tester item in found)
                {
                    MessageBox.Show(item.ToString());
                }
                ;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }