private void btnListaFacAsociado_Click(object sender, RoutedEventArgs e) { try { AsociadoMantenimiento asociado = new AsociadoMantenimiento(); if (asociado.AutenticaAsociado(txbAsociado.Text) != null) { wnwFacturasPendientes ventana = new wnwFacturasPendientes(txbAsociado.Text, solicitud); ventana.ShowDialog(); } else { throw new ArgumentException("La información suministrada no coincide con ningún registro."); } } catch (Exception ex) { MessageBox.Show("Error: " + ex.Message, "SIGEEA", MessageBoxButton.OK, MessageBoxImage.Error); } }
private void btnListaFacAsociado_Click(object sender, RoutedEventArgs e) { try { AsociadoMantenimiento asociado = new AsociadoMantenimiento(); if (asociado.AutenticaAsociado(txbAsociado.Text) != null) { wnwFacturasPendientes ventana = new wnwFacturasPendientes(txbAsociado.Text,solicitud); ventana.ShowDialog(); } else { throw new ArgumentException("La información suministrada no coincide con ningún registro."); } } catch(Exception ex) { MessageBox.Show("Error: " + ex.Message, "SIGEEA", MessageBoxButton.OK, MessageBoxImage.Error); } }
private void btnTodas_Click(object sender, RoutedEventArgs e) { wnwFacturasPendientes ventana = new wnwFacturasPendientes(null, solicitud); ventana.ShowDialog(); }
private void btnTodas_Click(object sender, RoutedEventArgs e) { wnwFacturasPendientes ventana = new wnwFacturasPendientes(null,solicitud); ventana.ShowDialog(); }