예제 #1
0
파일: Form1.cs 프로젝트: silvath/siscobras
        private void m_btTimeKeyGenerate_Click(object sender, System.EventArgs e)
        {
            CreateDataBase();
            this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
            mdlRegistro.clsRegistro obj = new mdlRegistro.clsRegistro(ref m_cls_tre_tratadorErro, ref m_cls_dba_ConnectionBD, m_txtPath.Text);
            string strKeyTime           = "";

            obj.vKeyTimeGenerate(out strKeyTime, m_dpDataHoje.Value, m_dpDataAtualizacao.Value, m_dpDataVencimento.Value);
            m_txtKeyTime.Text = strKeyTime;
            this.Cursor       = System.Windows.Forms.Cursors.Default;
            obj = null;
        }