Exemple #1
0
        private void btnVotersPass_Click(object sender, EventArgs e)
        {
            ClearControls();
            pnlRSubMenu.Visible = false;
            Forms.frmLock oFrm = new Forms.frmLock(eVariable.sPassword);
            oFrm.ShowDialog();

            Maintenance.frmGenerateKey oFx = new Maintenance.frmGenerateKey();
            oFx.ShowDialog();
        }
Exemple #2
0
        private void btnLock_Click(object sender, EventArgs e)
        {
            oDatabase = new DataAccess.SystemFunction();
            if (!oDatabase.IsDatabaseExits())
            {
                oFrmMsgBox             = new Forms.frmMessageBox("DATABASE DOES NOT EXISTS. PLEASE RESTORE FIRST THE DATABASE. THANK YOU");
                oFrmMsgBox.MessageType = Forms.frmMessageBox.MESSAGE_TYPE.INFO;
                oFrmMsgBox.ShowDialog();

                Maintenance.frmBackupRestoreDB oFrmDB = new Maintenance.frmBackupRestoreDB();
                oFrmDB.ShowDialog();

                return;
            }

            ClearControls();
            Forms.frmLock oFrm = new Forms.frmLock(eVariable.sPassword);
            oFrm.ShowDialog();
        }