/// <summary> /// Creates an update dialog to prompt the user /// </summary> /// <param name="fileUrl">The URL of the new version to download</param> /// <param name="contracts">The response received from the SDownload regarding the new version</param> public static void Prompt(String fileUrl, List <GithubReleaseItemContract> contracts) { if (_form == null || _form.IsDisposed) { _form = new UpdateAvailableDialog(fileUrl, contracts); } _form.Show(); }
/// <summary> /// Creates an update dialog to prompt the user /// </summary> /// <param name="fileUrl">The URL of the new version to download</param> /// <param name="contracts">The response received from the SDownload regarding the new version</param> public static void Prompt(String fileUrl, List<GithubReleaseItemContract> contracts) { if (_form == null || _form.IsDisposed) _form = new UpdateAvailableDialog(fileUrl, contracts); _form.Show(); }