Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

IngameControl.xaml 3.9 KiB

vor 8 Monaten
vor 8 Monaten
vor 8 Monaten
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <DamnOverSharp:VirtualControlBase x:Class="Example.IngameControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Example"
  7. xmlns:DamnOverSharp="clr-namespace:DamnOverSharp.WPF.UiLibrary;assembly=DamnOverSharp"
  8. mc:Ignorable="d"
  9. Height="400" Width="125"
  10. HorizontalAlignment="Left">
  11. <Grid>
  12. <Border CornerRadius="15" Background="Gray" BorderThickness="5" BorderBrush="Aqua">
  13. <Grid>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="25"/>
  16. <RowDefinition/>
  17. </Grid.RowDefinitions>
  18. <DamnOverSharp:VirtualMouseCaptureArea Grid.Row="0" x:Name="ShopMouseCapture" VirtualMouseDrag="mouseCapture_VirtualMouseDrag" Background="Aqua"/>
  19. <DamnOverSharp:VirtualButton Grid.Row="0" Name="Close" Content="X" HorizontalAlignment="Right" Width="25" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Center" Background="Red" Clicked="Close_Clicked" />
  20. <Grid Grid.Row="1">
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition/>
  23. <ColumnDefinition />
  24. </Grid.ColumnDefinitions>
  25. <Grid.RowDefinitions>
  26. <RowDefinition/>
  27. <RowDefinition/>
  28. <RowDefinition/>
  29. <RowDefinition/>
  30. <RowDefinition/>
  31. <RowDefinition/>
  32. <RowDefinition/>
  33. </Grid.RowDefinitions>
  34. <Image Source="/Img/BCU_green.png" Grid.Row="0" Grid.Column="0" Width="50" Height="50"/>
  35. <TextBlock x:Name="Killstext" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontSize="14"/>
  36. <Image Source="/Img/BCU_red.png" Grid.Row="1" Grid.Column="0" Width="50" Height="50"/>
  37. <TextBlock x:Name="Deathstext" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontSize="14"/>
  38. <Image Source="/Img/advance.png" Grid.Row="2" Grid.Column="0" Width="50" Height="50"/>
  39. <TextBlock x:Name="Advancetext" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontSize="14"/>
  40. <Image Source="/Img/medium.png" Grid.Row="3" Grid.Column="0" Width="50" Height="50"/>
  41. <TextBlock x:Name="Mediumtext" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontSize="14"/>
  42. <Image Source="/Img/easy.png" Grid.Row="4" Grid.Column="0" Width="50" Height="50"/>
  43. <TextBlock x:Name="Easytext" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontSize="14"/>
  44. <Image Source="/Img/diallock.png" Grid.Row="5" Grid.Column="0" Width="50" Height="50"/>
  45. <TextBlock x:Name="Dialtext" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontSize="14"/>
  46. <Image Source="/Img/Defuse.png" Grid.Row="6" Grid.Column="0" Width="50" Height="50"/>
  47. <TextBlock x:Name="Defusetext" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontSize="14"/>
  48. </Grid>
  49. </Grid>
  50. </Border>
  51. </Grid>
  52. </DamnOverSharp:VirtualControlBase>