Exemplo n.º 1
0
        private void InicializaBanco()
        {
            var b = Config;

            if (b == null)
            {
                b = Configurações.BuscarConfig();
            }
            timer        = b.timer;
            PastaEntrada = b.CaminhoEntradaUnimake;
            PastaSaida   = b.Saida;
        }
Exemplo n.º 2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            Config = Configurações.BuscarConfig();
            if (!Configurações.IsConfigurado())
            {
                ChamaConfig();
                timer = 0;
            }

            InicializaBanco();
            SetaLabel(timer);
            Atualiza.Start();

            this.Hide();
        }