PageRenderTime 39ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/Visual Studio 2008/VBWPFClipboardViewer/MainWindow.xaml

#
XAML | 21 lines | 18 code | 3 blank | 0 comment | 0 complexity | 1e97f226b01aa4350ee36ac7a4a477bf MD5 | raw file
  1. <Window x:Class="MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. Title="Clipboard Viewer" Height="480" Width="640" Background="Black" Closed="Window_Closed">
  5. <Grid>
  6. <Grid.RowDefinitions>
  7. <RowDefinition Height="Auto"/>
  8. <RowDefinition/>
  9. <RowDefinition Height="Auto"/>
  10. </Grid.RowDefinitions>
  11. <Label Grid.Row="0" Foreground="White" Margin="6,0,6,0">Clipboard content:</Label>
  12. <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
  13. <Button x:Name="btnSwitch" Width="90" Height="25" Content="Start viewer" Padding="3" Margin="6,6,6,6" Click="btnSwitch_Click" />
  14. <Button x:Name="btnClose" Width="90" Height="25" Content="Close" Padding="3" Margin="6,6,6,6" Click="btnClose_Click" />
  15. </StackPanel>
  16. <DockPanel x:Name="pnlContent" Grid.Row="1" Background="White" Margin="6,6,6,6" LastChildFill="True"/>
  17. </Grid>
  18. </Window>