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