Ejemplo n.º 1
0
        public Task <bool> NewVersionAvailable(Version currentVersion, Version latestVersion, string downloadURL, string changeLog, object parent = null)
        {
            bool res = MessagesHelpers.NewVersionAvailable(currentVersion, latestVersion, downloadURL,
                                                           changeLog, GetParentWidget(parent));

            return(AsyncHelpers.Return(res));
        }
Ejemplo n.º 2
0
 public bool NewVersionAvailable(Version currentVersion, Version latestVersion,
                                 string downloadURL, string changeLog, object parent = null)
 {
     if (parent == null)
     {
         parent = mainWindow;
     }
     return(MessagesHelpers.NewVersionAvailable(currentVersion, latestVersion, downloadURL,
                                                changeLog, parent as Widget));
 }