Пример #1
0
 /// <summary>
 /// Notify subscribers about an update of the datafiles.
 /// </summary>
 /// <remarks>Invoked on the UI thread.</remarks>
 private static void OnDataUpdateAvailable(string updateUrl, List <DatafileVersion> changedFiles)
 {
     if (DataUpdateAvailable != null)
     {
         DataUpdateAvailableEventArgs e = new DataUpdateAvailableEventArgs();
         e.UpdateUrl    = updateUrl;
         e.ChangedFiles = changedFiles;
         DataUpdateAvailable(null, e);
     }
 }
Пример #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public DataUpdateNotifyForm(DataUpdateAvailableEventArgs args)
     : this()
 {
     m_args = args;
 }