ScreenRecorderWindow.xaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <wpf:ThemableWindow x:Class="PRSRecordingNotes.ScreenRecorderWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:PRSRecordingNotes"
  7. mc:Ignorable="d"
  8. Title="MainWindow" WindowStartupLocation="CenterOwner" Panel.ZIndex="9999" Background="Transparent" WindowStyle="None" Loaded="Window_Loaded" SizeToContent="WidthAndHeight" Topmost="True" BorderThickness="0" BorderBrush="Transparent" AllowsTransparency="True">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="Auto"/>
  12. </Grid.ColumnDefinitions>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="Auto"/>
  15. <RowDefinition Height="Auto"/>
  16. </Grid.RowDefinitions>
  17. <Border Grid.Row="0" BorderBrush="Gray" BorderThickness="0.75" CornerRadius="10" Background="LightYellow">
  18. <TextBox FontSize="24" Foreground="DarkRed" Text="Enter Notes Here" TextAlignment="Center" Padding="10" MinHeight="50" MinWidth="100" TextWrapping="Wrap" AcceptsReturn="True" Background="Transparent" BorderThickness="0" />
  19. </Border>
  20. <Grid x:Name="Buttons" Grid.Row="1" Height="30" Background="Transparent" Visibility="Visible" Margin="0,2,0,0">
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition Width="55"/>
  23. <ColumnDefinition Width="*"/>
  24. <ColumnDefinition Width="30"/>
  25. <ColumnDefinition Width="*"/>
  26. <ColumnDefinition Width="55"/>
  27. </Grid.ColumnDefinitions>
  28. <Border BorderBrush="Gray" BorderThickness="0.75" CornerRadius="10" Grid.Column="0" Background="Silver" >
  29. <Button x:Name="Resume" Click="Resume_Click" Content="Resume" BorderThickness="0" Background="Transparent" />
  30. </Border>
  31. <Border BorderBrush="Gray" BorderThickness="0.75" CornerRadius="15" Grid.Column="2" Background="Silver" >
  32. <Image x:Name="Move" MouseDown="Move_MouseDown" MouseUp="Move_MouseUp" MouseMove="Move_MouseMove" Width="30" Grid.Column="2"/>
  33. </Border>
  34. <Border BorderBrush="Gray" BorderThickness="0.75" CornerRadius="10" Grid.Column="4" Background="Silver" >
  35. <Button x:Name="Close" Click="Close_Click" Content="Close" Background="Transparent" BorderThickness="0"/>
  36. </Border>
  37. </Grid>
  38. </Grid>
  39. </wpf:ThemableWindow>