private void Prestamo_Click(object sender, RoutedEventArgs e) { VentanaPrestamosCas prestamos = VentanaPrestamosCas.GetInstance(); prestamos.Show(); this.Hide(); }
public static VentanaPrestamosCas GetInstance() { if (instance == null) { instance = new VentanaPrestamosCas(); } return(instance); }