SettingsWindow.xaml
上传用户:liuqi822
上传日期:2022-03-21
资源大小:88k
文件大小:1k
源码类别:

屏幕保护

开发平台:

Visual C++

  1. <Window x:Class="Screensaver1.SettingsWindow"
  2.     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.     Title="Screensaver Settings" Height="120" Width="400"
  5.     WindowStyle="ToolWindow" ResizeMode="NoResize">
  6.     <StackPanel Margin="10">
  7.         <Grid>
  8.             <Label>Twitter Hashcode:</Label>
  9.             <TextBox Name="inputTextBox" Height="20" Margin="110,0,0,0" Text="{Binding TwitterHashcode, UpdateSourceTrigger=PropertyChanged}" />
  10.         </Grid>
  11.         <Grid Margin="0,20,0,0">
  12.             <Button Width="80" HorizontalAlignment="Right" Margin="0,0,90,0" IsDefault="True" Click="OnAcceptButtonClick">Accept</Button>
  13.             <Button Width="80" HorizontalAlignment="Right" IsCancel="True" Click="OnCancelButtonClick">Cancel</Button>
  14.         </Grid>
  15.     </StackPanel>
  16. </Window>