Esempio n. 1
0
 private void SelectionChangedTipoEvento()
 {
     if (cboTipoEvento.SelectedValue == null)
     {
         cboTipoEventoNombre.ItemsSource = null;
     }
     else
     {
         int evento = int.Parse(cboTipoEvento.SelectedValue.ToString());
         cboTipoEventoNombre.ItemsSource = null;
         cboTipoEventoNombre.ItemsSource = ModalidadServicioCollection.BuscarModalidad(evento);
     }
 }
Esempio n. 2
0
        private void SelectionChangedModalidad()
        {
            if (cboTipoEventoNombre.SelectedValue == null)
            {
                txtAsistentes.Text        = null;
                txtPersonalAdicional.Text = null;
            }
            else
            {
                string evento = cboTipoEventoNombre.SelectedValue.ToString();

                txtPersonalBase.Text = ModalidadServicioCollection.personalBase(evento).ToString();
            }
        }