Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. <Window x:Class="Misiukiewicz.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. Title="MainWindow" Height="350" Width="525">
  5. <Grid Margin="5">
  6. <TabControl>
  7. <TabItem Header="Wielka Brytania">
  8. <Viewbox Stretch="Uniform">
  9. <Canvas Width="60" Height="30" ClipToBounds="True">
  10. <Rectangle Fill="#000066" Width="60" Height="30" />
  11. <Line Stroke="White" StrokeThickness="6" X1="0" Y1="0" X2="60" Y2="30" />
  12. <Line Stroke="White" StrokeThickness="6" X1="60" Y1="0" X2="0" Y2="30" />
  13.  
  14. <Line Stroke="#CC0000" StrokeThickness="2" X1="-2" Y1="0" X2="30" Y2="16" />
  15. <Line Stroke="#CC0000" StrokeThickness="2" X1="62" Y1="-2" X2="30" Y2="14" />
  16. <Line Stroke="#CC0000" StrokeThickness="2" X1="62" Y1="30" X2="30" Y2="14" />
  17. <Line Stroke="#CC0000" StrokeThickness="2" X1="-2" Y1="32" X2="30" Y2="16" />
  18.  
  19. <Line Stroke="White" StrokeThickness="10" X1="30" Y1="0" X2="30" Y2="30" />
  20. <Line Stroke="White" StrokeThickness="10" X1="0" Y1="15" X2="60" Y2="15" />
  21.  
  22. <Line Stroke="#CC0000" StrokeThickness="6" X1="0" Y1="15" X2="60" Y2="15" />
  23. <Line Stroke="#CC0000" StrokeThickness="6" X1="30" Y1="0" X2="30" Y2="30" />
  24.  
  25.  
  26. </Canvas>
  27. </Viewbox>
  28. </TabItem>
  29. <TabItem Header="DRK">
  30. <Viewbox Stretch="Uniform">
  31. <Canvas Width="400" Height="300" ClipToBounds="True">
  32. <Rectangle Fill="#007fff" Width="400" Height="300" />
  33. <Line Stroke="#f7d618" StrokeThickness="85" X1="-25" Y1="280" X2="425" Y2="20" />
  34. <Line Stroke="#ce1021" StrokeThickness="60" X1="-25" Y1="280" X2="425" Y2="20" />
  35. <Polygon Points="20,60 60,60 73,18 86,60 126,60 94,86 106,128 73,102 40,128 50,86" Fill="#f7d618"/>
  36.  
  37.  
  38. </Canvas>
  39. </Viewbox>
  40. </TabItem>
  41. </TabControl>
  42. </Grid>
  43. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement