diff --git a/src/TestApplications/TestSilverlightApplication.Web/Properties/AssemblyInfo.cs b/src/TestApplications/TestSilverlightApplication.Web/Properties/AssemblyInfo.cs deleted file mode 100644 index f020f66b..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("TestSilverlightApplication.Web")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("TestSilverlightApplication.Web")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("af4baa25-d3eb-4e6e-9653-f4ec1b610ccd")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/TestApplications/TestSilverlightApplication.Web/Silverlight.js b/src/TestApplications/TestSilverlightApplication.Web/Silverlight.js deleted file mode 100644 index 80ff3970..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/Silverlight.js +++ /dev/null @@ -1,2 +0,0 @@ -//v2.0.30511.0 -if(!window.Silverlight)window.Silverlight={};Silverlight._silverlightCount=0;Silverlight.__onSilverlightInstalledCalled=false;Silverlight.fwlinkRoot="http://go2.microsoft.com/fwlink/?LinkID=";Silverlight.__installationEventFired=false;Silverlight.onGetSilverlight=null;Silverlight.onSilverlightInstalled=function(){window.location.reload(false)};Silverlight.isInstalled=function(b){if(b==undefined)b=null;var a=false,m=null;try{var i=null,j=false;if(window.ActiveXObject)try{i=new ActiveXObject("AgControl.AgControl");if(b===null)a=true;else if(i.IsVersionSupported(b))a=true;i=null}catch(l){j=true}else j=true;if(j){var k=navigator.plugins["Silverlight Plug-In"];if(k)if(b===null)a=true;else{var h=k.description;if(h==="1.0.30226.2")h="2.0.30226.2";var c=h.split(".");while(c.length>3)c.pop();while(c.length<4)c.push(0);var e=b.split(".");while(e.length>4)e.pop();var d,g,f=0;do{d=parseInt(e[f]);g=parseInt(c[f]);f++}while(f");delete a.id;delete a.width;delete a.height;for(var c in a)if(a[c])b.push('');b.push("");return b.join("")};Silverlight.createObjectEx=function(b){var a=b,c=Silverlight.createObject(a.source,a.parentElement,a.id,a.properties,a.events,a.initParams,a.context);if(a.parentElement==null)return c};Silverlight.buildPromptHTML=function(b){var a="",d=Silverlight.fwlinkRoot,c=b.version;if(b.alt)a=b.alt;else{if(!c)c="";a="Get Microsoft Silverlight";a=a.replace("{1}",c);a=a.replace("{2}",d+"108181")}return a};Silverlight.getSilverlight=function(e){if(Silverlight.onGetSilverlight)Silverlight.onGetSilverlight();var b="",a=String(e).split(".");if(a.length>1){var c=parseInt(a[0]);if(isNaN(c)||c<2)b="1.0";else b=a[0]+"."+a[1]}var d="";if(b.match(/^\d+\056\d+$/))d="&v="+b;Silverlight.followFWLink("149156"+d)};Silverlight.followFWLink=function(a){top.location=Silverlight.fwlinkRoot+String(a)};Silverlight.HtmlAttributeEncode=function(c){var a,b="";if(c==null)return null;for(var d=0;d96&&a<123||a>64&&a<91||a>43&&a<58&&a!=47||a==95)b=b+String.fromCharCode(a);else b=b+"&#"+a+";"}return b};Silverlight.default_error_handler=function(e,b){var d,c=b.ErrorType;d=b.ErrorCode;var a="\nSilverlight error message \n";a+="ErrorCode: "+d+"\n";a+="ErrorType: "+c+" \n";a+="Message: "+b.ErrorMessage+" \n";if(c=="ParserError"){a+="XamlFile: "+b.xamlFile+" \n";a+="Line: "+b.lineNumber+" \n";a+="Position: "+b.charPosition+" \n"}else if(c=="RuntimeError"){if(b.lineNumber!=0){a+="Line: "+b.lineNumber+" \n";a+="Position: "+b.charPosition+" \n"}a+="MethodName: "+b.methodName+" \n"}alert(a)};Silverlight.__cleanup=function(){for(var a=Silverlight._silverlightCount-1;a>=0;a--)window["__slEvent"+a]=null;Silverlight._silverlightCount=0;if(window.removeEventListener)window.removeEventListener("unload",Silverlight.__cleanup,false);else window.detachEvent("onunload",Silverlight.__cleanup)};Silverlight.__getHandlerName=function(b){var a="";if(typeof b=="string")a=b;else if(typeof b=="function"){if(Silverlight._silverlightCount==0)if(window.addEventListener)window.addEventListener("onunload",Silverlight.__cleanup,false);else window.attachEvent("onunload",Silverlight.__cleanup);var c=Silverlight._silverlightCount++;a="__slEvent"+c;window[a]=b}else a=null;return a};Silverlight.onRequiredVersionAvailable=function(){};Silverlight.onRestartRequired=function(){};Silverlight.onUpgradeRequired=function(){};Silverlight.onInstallRequired=function(){};Silverlight.IsVersionAvailableOnError=function(d,a){var b=false;try{if(a.ErrorCode==8001&&!Silverlight.__installationEventFired){Silverlight.onUpgradeRequired();Silverlight.__installationEventFired=true}else if(a.ErrorCode==8002&&!Silverlight.__installationEventFired){Silverlight.onRestartRequired();Silverlight.__installationEventFired=true}else if(a.ErrorCode==5014||a.ErrorCode==2106){if(Silverlight.__verifySilverlight2UpgradeSuccess(a.getHost()))b=true}else b=true}catch(c){}return b};Silverlight.IsVersionAvailableOnLoad=function(b){var a=false;try{if(Silverlight.__verifySilverlight2UpgradeSuccess(b.getHost()))a=true}catch(c){}return a};Silverlight.__verifySilverlight2UpgradeSuccess=function(d){var c=false,b="2.0.31005",a=null;try{if(d.IsVersionSupported(b+".99")){a=Silverlight.onRequiredVersionAvailable;c=true}else if(d.IsVersionSupported(b+".0"))a=Silverlight.onRestartRequired;else a=Silverlight.onUpgradeRequired;if(a&&!Silverlight.__installationEventFired){a();Silverlight.__installationEventFired=true}}catch(e){}return c} \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplication.Web.csproj b/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplication.Web.csproj deleted file mode 100644 index 8d925f3d..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplication.Web.csproj +++ /dev/null @@ -1,111 +0,0 @@ - - - - - Debug - AnyCPU - - - 2.0 - {C186FEFC-D0B7-4FED-822D-688302B3B8A0} - {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - TestSilverlightApplication.Web - TestSilverlightApplication.Web - v4.0 - false - - - - - {EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}|..\TestSilverlightApplication\TestSilverlightApplication.csproj|ClientBin|False - - - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Web.config - - - Web.config - - - - - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - - - - - True - True - 18183 - / - http://localhost/TestSilverlightApplication.Web - False - False - - - False - - - - - - \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplication.Web.ncrunchproject b/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplication.Web.ncrunchproject deleted file mode 100644 index 575717ac..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplication.Web.ncrunchproject +++ /dev/null @@ -1,20 +0,0 @@ - - false - false - false - true - false - false - false - false - true - true - false - true - true - 60000 - - - - AutoDetect - \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplicationTestPage.aspx b/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplicationTestPage.aspx deleted file mode 100644 index 35ebc8bf..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplicationTestPage.aspx +++ /dev/null @@ -1,74 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" %> - - - - - TestSilverlightApplication - - - - - -
-
- - - - - - - - Get Microsoft Silverlight - -
-
- - diff --git a/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplicationTestPage.html b/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplicationTestPage.html deleted file mode 100644 index 7bcecaf6..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/TestSilverlightApplicationTestPage.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - TestSilverlightApplication - - - - - -
-
- - - - - - - - Get Microsoft Silverlight - -
-
- - diff --git a/src/TestApplications/TestSilverlightApplication.Web/Web.Debug.config b/src/TestApplications/TestSilverlightApplication.Web/Web.Debug.config deleted file mode 100644 index 2e302f9f..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/Web.Debug.config +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication.Web/Web.Release.config b/src/TestApplications/TestSilverlightApplication.Web/Web.Release.config deleted file mode 100644 index c3584446..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/Web.Release.config +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication.Web/Web.config b/src/TestApplications/TestSilverlightApplication.Web/Web.config deleted file mode 100644 index 742a9250..00000000 --- a/src/TestApplications/TestSilverlightApplication.Web/Web.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication/App.xaml b/src/TestApplications/TestSilverlightApplication/App.xaml deleted file mode 100644 index b9daa82e..00000000 --- a/src/TestApplications/TestSilverlightApplication/App.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/src/TestApplications/TestSilverlightApplication/App.xaml.cs b/src/TestApplications/TestSilverlightApplication/App.xaml.cs deleted file mode 100644 index 930c0524..00000000 --- a/src/TestApplications/TestSilverlightApplication/App.xaml.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Shapes; - -namespace TestSilverlightApplication -{ - public partial class App : Application - { - - public App() - { - this.Startup += this.Application_Startup; - this.Exit += this.Application_Exit; - this.UnhandledException += this.Application_UnhandledException; - - InitializeComponent(); - } - - private void Application_Startup(object sender, StartupEventArgs e) - { - this.RootVisual = new MainPage(); - } - - private void Application_Exit(object sender, EventArgs e) - { - - } - - private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) - { - // If the app is running outside of the debugger then report the exception using - // the browser's exception mechanism. On IE this will display it a yellow alert - // icon in the status bar and Firefox will display a script error. - if (!System.Diagnostics.Debugger.IsAttached) - { - - // NOTE: This will allow the application to continue running after an exception has been thrown - // but not handled. - // For production applications this error handling should be replaced with something that will - // report the error to the website and stop the application. - e.Handled = true; - Deployment.Current.Dispatcher.BeginInvoke(delegate { ReportErrorToDOM(e); }); - } - } - - private void ReportErrorToDOM(ApplicationUnhandledExceptionEventArgs e) - { - try - { - string errorMsg = e.ExceptionObject.Message + e.ExceptionObject.StackTrace; - errorMsg = errorMsg.Replace('"', '\'').Replace("\r\n", @"\n"); - - System.Windows.Browser.HtmlPage.Window.Eval("throw new Error(\"Unhandled Error in Silverlight Application " + errorMsg + "\");"); - } - catch (Exception) - { - } - } - } -} diff --git a/src/TestApplications/TestSilverlightApplication/Controls/TestButton.cs b/src/TestApplications/TestSilverlightApplication/Controls/TestButton.cs deleted file mode 100644 index a2523b18..00000000 --- a/src/TestApplications/TestSilverlightApplication/Controls/TestButton.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Windows.Controls; - -namespace TestSilverlightApplication.Controls -{ - public class TestButton : Button - { - protected override void OnClick() - { - CursorManager.WaitAndPerform(this, () => base.OnClick()); - } - } -} \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication/Controls/TestComboBox.cs b/src/TestApplications/TestSilverlightApplication/Controls/TestComboBox.cs deleted file mode 100644 index 116598aa..00000000 --- a/src/TestApplications/TestSilverlightApplication/Controls/TestComboBox.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Windows.Controls; -using System.Windows.Input; - -namespace TestSilverlightApplication.Controls -{ - public class TestComboBox : ComboBox - { - protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e) - { - CursorManager.WaitAndPerform(this, () => base.OnMouseLeftButtonDown(e)); - } - - protected override void OnDropDownClosed(EventArgs e) - { - CursorManager.WaitAndPerform(this, () => base.OnDropDownClosed(e)); - } - - protected override void OnDropDownOpened(EventArgs e) - { - CursorManager.WaitAndPerform(this, () => base.OnDropDownOpened(e)); - } - } -} \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication/CursorManager.cs b/src/TestApplications/TestSilverlightApplication/CursorManager.cs deleted file mode 100644 index 8a573df1..00000000 --- a/src/TestApplications/TestSilverlightApplication/CursorManager.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Windows; -using System.Windows.Input; - -namespace TestSilverlightApplication -{ - public static class CursorManager - { - public delegate void Do(); - - public static void WaitAndPerform(FrameworkElement frameworkElement, Do @do) - { - frameworkElement.Cursor = Cursors.Wait; - try - { - @do(); - } - finally - { - frameworkElement.Cursor = Cursors.Arrow; - } - } - } -} \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication/HorizontalGridSplitter.xaml b/src/TestApplications/TestSilverlightApplication/HorizontalGridSplitter.xaml deleted file mode 100644 index bd138e8d..00000000 --- a/src/TestApplications/TestSilverlightApplication/HorizontalGridSplitter.xaml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/src/TestApplications/TestSilverlightApplication/HorizontalGridSplitter.xaml.cs b/src/TestApplications/TestSilverlightApplication/HorizontalGridSplitter.xaml.cs deleted file mode 100644 index b8ae7c84..00000000 --- a/src/TestApplications/TestSilverlightApplication/HorizontalGridSplitter.xaml.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Shapes; - -namespace TestSilverlightApplication -{ - public partial class HorizontalGridSplitter : ChildWindow - { - public HorizontalGridSplitter() - { - InitializeComponent(); - } - - private void OKButton_Click(object sender, RoutedEventArgs e) - { - this.DialogResult = true; - } - - private void CancelButton_Click(object sender, RoutedEventArgs e) - { - this.DialogResult = false; - } - } -} - diff --git a/src/TestApplications/TestSilverlightApplication/ListControls.xaml b/src/TestApplications/TestSilverlightApplication/ListControls.xaml deleted file mode 100644 index d965bb23..00000000 --- a/src/TestApplications/TestSilverlightApplication/ListControls.xaml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - Test - Test2 - Test3 - Test4 - Test5 - Test6 - Test7 - Test8 - Test9 - Test10 - Test11 - Test12 - Test13 - Test14 - Test15 - Test16 - Test17 - Test18 - Test19 - Test20 - ReallyReallyReallyLongTextHere - - - - - - - - - Item1 - Item2 - Item3 - Item4 - - - - diff --git a/src/TestApplications/TestSilverlightApplication/ListControls.xaml.cs b/src/TestApplications/TestSilverlightApplication/ListControls.xaml.cs deleted file mode 100644 index 9e21d0c0..00000000 --- a/src/TestApplications/TestSilverlightApplication/ListControls.xaml.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace TestSilverlightApplication -{ - public partial class ListControls - { - public ListControls() - { - InitializeComponent(); - } - } -} diff --git a/src/TestApplications/TestSilverlightApplication/MainPage.xaml b/src/TestApplications/TestSilverlightApplication/MainPage.xaml deleted file mode 100644 index d0f856b1..00000000 --- a/src/TestApplications/TestSilverlightApplication/MainPage.xaml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - STATUS HERE - -