public MainWindow() { InitializeComponent(); //Login ingreso = new Login(); //ingreso.Tag = "vg"; //ingreso.ShowDialog(); Programa from = new Programa(); from.ShowDialog(); }
private void frmPrograma_Click(object sender, RoutedEventArgs e) { Programa from = new Programa(); from.ShowDialog(); }