Пример #1
0
 /// <summary>
 /// The refresh button has been clicked, refresh the data.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void _buttonRefresh_Click(object sender, EventArgs e)
 {
     try
     {
         if (AutoUpdate.Download(LicenceKey.Keys) == LicenceKeyResults.Success)
         {
             WebProvider.Refresh();
         }
     }
     catch (Exception ex)
     {
         EventLog.Warn(new MobileException("Exception refreshing data.", ex));
     }
 }