Created
May 11, 2018 12:19
-
-
Save icebeam7/b9dfe3dd35d6618752fe5462c29691f8 to your computer and use it in GitHub Desktop.
SistemaEscolar: App.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xamarin.Forms; | |
using SistemaEscolar.Datos; | |
using SistemaEscolar.Helpers; | |
namespace SistemaEscolar | |
{ | |
public partial class App : Application | |
{ | |
public App () | |
{ | |
InitializeComponent(); | |
MainPage = new NavigationPage(new Paginas.PaginaListaEscuelas()); | |
} | |
static BaseDatos bd; | |
public static BaseDatos BD | |
{ | |
get | |
{ | |
if (bd == null) | |
{ | |
bd = new BaseDatos(Constantes.NombreBD); | |
} | |
return bd; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment