private void btnCMPGatewaySaveChanges_Click(object sender, EventArgs e)
 {
     try
     {
         frmSQLRestore frmRestoreDB = new frmSQLRestore("CMktSDG");
         frmRestoreDB.ShowDialog();
     }
     catch (Exception ex)
     {
         LogManager.WriteLog("btnCMPGatewaySaveChanges_Click" + ex.Message.ToString() + ex.Source.ToString(), LogManager.enumLogLevel.Error);
         ExceptionManager.Publish(ex);
     }
 }       
 /// <summary>
 /// For restorring the exchange Database  
 /// <param name=""></param>
 /// <returns></returns>
 /// </summary>
 private void btnexchangeDBRestore_Click(object sender, EventArgs e)
 {
     try
     {
         Cursor = Cursors.WaitCursor;
         frmSQLRestore frmRestoreDB = new frmSQLRestore("Exchange");
         frmRestoreDB.ShowDialog();
     }
     catch (Exception ex)
     {
         LogManager.WriteLog("btnexchangeDBRestore_Click" + ex.Message.ToString() + ex.Source.ToString(), LogManager.enumLogLevel.Error);
         ExceptionManager.Publish(ex);
     }
     finally
     {
         Cursor = Cursors.Default;
     }
 }