コード例 #1
0
ファイル: frmPrincipal.cs プロジェクト: GatoNinja/golden
        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
ファイル: NotasEntity.cs プロジェクト: GatoNinja/golden
 public NotasEntity()
 {
     Ctx = new GoldenContext();
 }
コード例 #3
0
ファイル: ClientesEntity.cs プロジェクト: GatoNinja/golden
 public ClientesEntity()
 {
     Ctx = new GoldenContext();
 }