private void btnVisualiCliente_Click(object sender, RoutedEventArgs e) { VisualizarCliente vzcliente = new VisualizarCliente(cliente); vzcliente.WindowStartupLocation = WindowStartupLocation.CenterScreen; vzcliente.Show(); }
private void visualizar_Click(object sender, RoutedEventArgs e) { VisualizarCliente vc = new VisualizarCliente(cliente); vc.WindowStartupLocation = WindowStartupLocation.CenterScreen; //this.Hide(); vc.ShowDialog(); }