<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<!-- saved from url=(0014)about:internet -->
<head>
<title>CircularGaugeDemo</title>
<style type="text/css">
html, body {
height: 100%;
overflow: auto;
}
body {
padding: 0;
margin: 0;
}
#silverlightControlHost {
height: 100%;
}
</style>
<script type="text/javascript" src="Silverlight.js"></script>
<script type="text/javascript">
function onSilverlightError(sender, args) {
var appSource = "";
if (sender != null && sender != 0) {
appSource = sender.getHost().Source;
}
var errorType = args.ErrorType;
var iErrorCode = args.ErrorCode;
var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n" ;
errMsg += "Code: "+ iErrorCode + " \n";
errMsg += "Category: " + errorType + " \n";
errMsg += "Message: " + args.ErrorMessage + " \n";
if (errorType == "ParserError")
{
errMsg += "File: " + args.xamlFile + " \n";
errMsg += "Line: " + args.lineNumber + " \n";
errMsg += "Position: " + args.charPosition + " \n";
}
else if (errorType == "RuntimeError")
{
if (args.lineNumber != 0)
{
errMsg += "Line: " + args.lineNumber + " \n";
errMsg += "Position: " + args.charPosition + " \n";
}
errMsg += "MethodName: " + args.methodName + " \n";
}
throw new Error(errMsg);
}
</script>
</head>
<body>
<!-- Runtime errors from Silverlight will be displayed here.
This will contain debugging information and should be removed or hidden when debugging is completed -->
<div id='errorLocation' style="font-size: small;color: Gray;"></div>
<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="ClientBin/CircularGaugeDemo.xap"/>
<param name="onerror" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="3.0.40307.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?LinkID=141205" style="text-decoration: none;">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
</a>
</object>
<iframe style='visibility:hidden;height:0;width:0;border:0px'></iframe>
</div>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
silverlight 仪表盘组件
共27个文件
cs:11个
csproj:3个
xaml:3个
4星 · 超过85%的资源 需积分: 16 197 下载量 162 浏览量
2010-04-23
17:53:15
上传
评论
收藏 139KB ZIP 举报
温馨提示
免费的带有源码的仪表盘组件,可根据个人喜好。自己修改代码,实现更加炫的效果~ 希望你做的更好啊!
资源推荐
资源详情
资源评论
收起资源包目录
CircularGaugeDemo.zip (27个子文件)
CircularGaugeSourceWithDemo
CircularGaugeDemo
MainPage.xaml 10KB
Properties
AppManifest.xml 702B
AssemblyInfo.cs 1KB
CircularGaugeDemo.csproj 5KB
MainPage.xaml.cs 3KB
App.xaml 300B
App.xaml.cs 2KB
silverlightlogo.png 95KB
CircularGaugeDemo.Web
CircularGaugeDemo.Web.csproj.user 2KB
Image
microsoftsilverlight.jpg 9KB
Web.config 7KB
CircularGaugeDemoTestPage.aspx 977B
CircularGaugeDemoTestPage.html 3KB
Properties
AssemblyInfo.cs 1KB
Default.aspx 456B
CircularGaugeDemo.Web.csproj 5KB
Default.aspx.cs 345B
Default.aspx.designer.cs 814B
Silverlight.js 15KB
CircularGauge
Utility.cs 391B
CircularGaugeControl.cs 50KB
Themes
generic.xaml 12KB
TypeConverters.cs 8KB
Properties
AssemblyInfo.cs 1KB
Circumference.cs 364B
CircularGauge.csproj 3KB
CircularGaugeDemo.sln 2KB
共 27 条
- 1
carson1978
- 粉丝: 3
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页