11 2012 档案
摘要:首先,我们打开Vs2012,选择好Blank App模板。在MainPage.xaml中拉进Button和image两个空间。在Button控件中选择Click事件。经命名等后,代码如下:<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> <Button x:Name="Start" Content="Start" HorizontalAlignment="Left" Height="39&qu
阅读全文
摘要:在metro中跳出窗口有多种形式。我在这里介绍两种情形。第一种是用Popup方法来跳出窗口。主要步骤如下: 首先,打开vs2012找到Blank App模板进去,再拉入一个Button控件,点击事件Click进入。其次,在MainPage.xaml中写入如下代码: <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> <Button Content="Example 1" Name="btn1" Width="108
阅读全文
摘要:首先,我们用vs2012来选择BlankApp模板,再选好Button和BlockText控件,在Button中找到Click事件,点击进去。<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"><Button x:Name="files_btn" Content="FileSavePicker" HorizontalAlignment="Left" Margin="514,79,0,0"
阅读全文
浙公网安备 33010602011771号