Пример #1
0
        private void Prestamo_Click(object sender, RoutedEventArgs e)
        {
            VentanaPrestamosCas prestamos = VentanaPrestamosCas.GetInstance();

            prestamos.Show();
            this.Hide();
        }
Пример #2
0
        public static VentanaPrestamosCas GetInstance()
        {
            if (instance == null)
            {
                instance = new VentanaPrestamosCas();
            }

            return(instance);
        }