private void Consultar_Click(object sender, RoutedEventArgs e) { ConsultaWindow cw = new ConsultaWindow(); cw.ShowDialog(); }