private void dataGridDetalis_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            DataGrid dg = sender as DataGrid;

            if (dg.SelectedIndex > -1)
            {
                nanny           = dg.SelectedItem as BE.Nanny;
                contract.isHour = nanny.isByHourNanny;
                if (nanny.isByHourNanny)
                {
                    contract.salaryPerHour = bl.getSalary(contract.idChild, nanny.nannyId, true, false);
                }
                else
                {
                    contract.salaryPerHour = 0;
                }
                contract.salaryPerMonth = bl.getSalary(contract.idChild, nanny.nannyId, false, false);
                contract.idNanny        = nanny.nannyId;
            }
        }