예제 #1
0
        private void FrmPrincipal_Load(object sender, EventArgs e)
        {
            var ctx = new GoldenContext();

            ctx.Dispose();

            lblVersao.Text = string.Format("Versão: {0}", Application.ProductVersion);

            if (File.Exists(Globais.ArquivoDados)) return;

            Application.Exit();
        }
예제 #2
0
 public NotasEntity()
 {
     Ctx = new GoldenContext();
 }
예제 #3
0
 public ClientesEntity()
 {
     Ctx = new GoldenContext();
 }