﻿function onSourceDownloadProgressChanged(sender, args) {
    var slPlugin = sender.getHost();
    if (slPlugin) {
        var progress = Math.round((args.progress * 100));
        slPlugin.content.findName("progressText").Text = progress + "%";
        slPlugin.content.findName("progressText2").Text = progress + "%";
    };
};
