private void BtnMostarListado_Click(object sender, RoutedEventArgs e) { WPF_ListadoContratos wlc = new WPF_ListadoContratos(); wlc.Owner = Window.GetWindow(this); wlc.Owner.Name = "WPF_ListadoContratos"; wlc.Show(); }
private void TlListadoContratos_Click(object sender, RoutedEventArgs e) { WPF_ListadoContratos lcontratos = new WPF_ListadoContratos(); lcontratos.ShowDialog(); }