public ControlNotificar() { InitializeComponent(); //combos de notificacion try { db = new Conexion(); alertaEstado = db.getAlertaEstado(); this.cbAlertaEstado.DataSource = alertaEstado; this.cbAlertaEstado.DisplayMember = "Descripcion"; this.cbAlertaEstado.ValueMember = "Id"; usuarios = db.getUsuario(); this.cbDestinatario.DataSource = usuarios; this.cbDestinatario.DisplayMember = "Nombre"; this.cbDestinatario.ValueMember = "Cod_Usua"; } catch (Exception e) { } }