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(); }
public NotasEntity() { Ctx = new GoldenContext(); }
public ClientesEntity() { Ctx = new GoldenContext(); }