Example #1
0
        void IsDBExists()
        {
            oDatabase = new DataAccess.BackupRestoreDB();
            if (!oDatabase.IsDatabaseExits())
            {
                oFrmMsgBox = new Forms.frmMessageBox(eVariable.TransactionMessage.DATABASE_DOES_NOT_EXISTS.ToString().Replace("_", " "));
                oFrmMsgBox.m_MessageType = Forms.frmMessageBox.MESSAGE_TYPE.INFO;
                oFrmMsgBox.ShowDialog();

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

                return;
            }
        }
Example #2
0
 private void btnDBBackup_Click(object sender, EventArgs e)
 {
     ClearControls();
     Maintenance.frmBackupRestoreDB oFrm = new Maintenance.frmBackupRestoreDB();
     oFrm.ShowDialog();
 }