摘要:
在XMAL中的表示方法 必须把在XAML中导入CLR名称空间 <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:aqua="clr-namespace:AquariumObjects;assembly=AquariumLibrary"
...
> 使... 阅读全文
posted @ 2012-09-13 20:48
atskyline
阅读(438)
评论(0)
推荐(0)
摘要:
注意事项 要使用System.Windows.Threading.DispatcherTimer,而不能使用System.Timers.Timer。 原因是WPF是单线程的图形操作。 使用方法 在构造上面有一些不同 _timer = new DispatcherTimer();
_timer.Interval = new TimeSpan(0, 0, 1); ... 阅读全文
posted @ 2012-09-13 20:39
atskyline
阅读(9020)
评论(1)
推荐(0)
浙公网安备 33010602011771号