private void Bt1_Click(object sender, RoutedEventArgs e) { VentanaPrestamosImpl ventaPrestamos = VentanaPrestamosImpl.GetInstance(); ventaPrestamos.Show(); this.Hide(); }
public static VentanaPrestamosImpl GetInstance() { if (instance == null) { instance = new VentanaPrestamosImpl(); } Debug.WriteLine("<<< INSTANCIA"); return(instance); }