﻿function onSourceDownloadProgressChanged(sender, eventArgs) {
    sender.findName("uxStatus").Text = "Loading: " + Math.round((eventArgs.progress * 1000)) / 10 + "%";
    sender.findName("uxProgressBar").ScaleY = eventArgs.progress * 356;
}



//if (!window.DynamicSoft.Web)
//	window.DynamicSoft.Web = {};

//DynamicSoft.Web.DsSplashScreen = function() 
//{
//}

//DynamicSoft.Web.DsSplashScreen.prototype =
//{
//	handleLoad: function(plugIn, userContext, rootElement) 
//	{
//		this.plugIn = plugIn;
//		
//		// Sample button event hookup: Find the button and then attach event handlers
//		// this.button = rootElement.children.getItem(0);	
//		
//		// this.button.addEventListener("MouseDown", Silverlight.createDelegate(this, this.handleMouseDown));
//	}
//	
//	// Sample event handler
//	//handleMouseDown: function(sender, eventArgs) 
//	//{
//	//}
//}
