Example #1
0
        private void FormPai_Load(object sender, EventArgs e)
        {
            timerHoraExibicao.Interval = 1000;
            timerHoraExibicao.Start();

            localBanco = ConfigINI.LerINI(@"configuracoes.ini", "[LocalBanco]");
            FormCloseButtonDisabler.DisableCloseButton(this.Handle.ToInt32());
            lblBemVindo.Text = nome;
            timer1.Interval  = 100;
            timer1.Start();
        }
Example #2
0
 private void FormLogin_Load(object sender, EventArgs e)
 {
     nomedoDominio = ConfigINI.LerINI(@"configuracoes.ini", "[NomeDoDominio]");
     localBanco    = ConfigINI.LerINI(@"configuracoes.ini", "[LocalBanco]");
     FormCloseButtonDisabler.DisableCloseButton(this.Handle.ToInt32());
 }