摘要: Xaml: <StackPanel x:Name="sproot" Background="White"> <StackPanel.Resources> <my:Converter x:Key="myConverter"></my:Converter> </StackPanel.Resources> <TextBlock x:Name="tbkDate" Width="180" Margin="5" FontS 阅读全文
posted @ 2011-08-24 22:10 陈跳跳 阅读(191) 评论(0) 推荐(0)
摘要: 没什么好说的,挺简单的,直接上Code。XAML: <Grid x:Name="LayoutRoot" Background="White" BindingValidationError="LayoutRoot_BindingValidationError"> <StackPanel> <Button Name="MyButton" Content="Update" Click="MyButton_Click" Width="65&qu 阅读全文
posted @ 2011-08-24 17:50 陈跳跳 阅读(227) 评论(0) 推荐(0)
摘要: XAML: <StackPanel> <Button Name="MyButton" Content="Update" Click="MyButton_Click" Width="65" Height="41"></Button> <TextBlock Height="23" Name="tbtitle" Text="{Binding Title,Mode=OneTime}" /> < 阅读全文
posted @ 2011-08-24 17:05 陈跳跳 阅读(162) 评论(0) 推荐(0)
摘要: XAML: <Button Name="MyButton" Content="Update" Click="MyButton_Click" Width="65" Height="41"></Button> <TextBlock Height="23" Name="tbtitle" Text="{Binding Title,Mode=OneTime}" /> <TextBlock Height=& 阅读全文
posted @ 2011-08-24 15:21 陈跳跳 阅读(541) 评论(0) 推荐(0)
摘要: DispatcherTimer timer = new DispatcherTimer(); timer.Interval = new TimeSpan(0, 0, 1); timer.Tick += new EventHandler(timer_Tick); timer.Start(); 阅读全文
posted @ 2011-08-24 12:04 陈跳跳 阅读(149) 评论(0) 推荐(0)