⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 window1.xaml

📁 using event and delegate to perfoem clock
💻 XAML
字号:
<Window x:Class="Delegates.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Digital Clock" Height="169" Width="297">
    <Grid>
    <TextBox Height="42" Margin="18,21,0,0" Name="digital" VerticalAlignment="Top" HorizontalAlignment="Left" Width="247" IsReadOnly="True" FontSize="38" FontFamily="Courier New" TextAlignment="Center" >00:00:00</TextBox>
    <Button HorizontalAlignment="Left" Margin="53,85,0,0" Name="start" Width="75" Height="23" VerticalAlignment="Top" Click="startClick">開始</Button>
    <Button HorizontalAlignment="Left" Margin="154,85,0,0" Name="stop" Width="75" Height="23" VerticalAlignment="Top" Click="stopClick">停止</Button>
  </Grid>
</Window>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -