Skip to content

Instantly share code, notes, and snippets.

@icebeam7 icebeam7/App.xaml.cs
Created May 11, 2018

Embed
What would you like to do?
SistemaEscolar: App.xaml.cs
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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.