private void btnFiltrar_Click(object sender, RoutedEventArgs e) { lblFaltaFiltro.Content = (""); if (cboFiltro.SelectedIndex == 1) { BuscarCliente lr = new BuscarCliente(); lr.ShowDialog(); } if (cboFiltro.SelectedIndex == 2) { ListarSexo ls = new ListarSexo(); ls.ShowDialog(); } if (cboFiltro.SelectedIndex == 3) { ListarEstado le = new ListarEstado(); le.ShowDialog(); } if (cboFiltro.SelectedIndex == 0) { lblFaltaFiltro.Content = ("Seleccione Filtro"); lblFaltaFiltro.Foreground = Brushes.Red; } }
private void MenuItem_Click_2(object sender, RoutedEventArgs e) { BuscarCliente lr = new BuscarCliente(); lr.ShowDialog(); }
private void buscarClienteToolStripMenuItem_Click(object sender, EventArgs e) { BuscarCliente bc = new BuscarCliente(); bc.ShowDialog(); }
private void button2_Click(object sender, RoutedEventArgs e) { BuscarCliente bus = new BuscarCliente(); bus.ShowDialog(); }