文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 高等教育 > 工学 > 稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton
侵权投诉

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

_loop.Duration = TimeSpan.FromMilliseconds(100d); _loop.Completed += new EventHandler(_loop_Completed);

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

_loop.Begin(); }

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

void _loop_Completed(object sender, EventArgs e)

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

{ progressBar.Value = _count; lblPercent.Text = _count.ToString() + "%"

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

;

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

if (_count >100) _count = 0; else _count++; _loop.Begin();

}

}

}

6、RadioButton.xaml

<UserControl x:Class="Silverlight20.Control.RadioButton"

xmlns="doc.guandang.net; xmlns:x="doc.guandang.net;

<StackPanel HorizontalAlignment="Left">

<!--

GroupName - RadioButton控件所属组的组名

Checked - 被选中后所触发的事件

Click - 被单击后所触发的事件

-->

<RadioButton GroupName="groupName" Content="红色的RadioButton"

Background="Red" Margin="5"/>

<!--

IsEnabled - RadioButton是否有效

-->

<RadioButton GroupName="groupName" Content="无效的RadioButton"

IsEnabled="False" Margin="5"/>

上一页第11页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email