SDownload.Dialogs.UpdateAvailableDialog.Prompt C# (CSharp) Method

Prompt() public static method

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

            _form.Show();
        }
    }