private void isPymentPerHourCheckBox_Checked(object sender, RoutedEventArgs e)
 {
     try
     {
         C.IsPymentPerHour = false;
         bl.ChangeInfoContract(C);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }