Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="Misiukiewicz.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="MainWindow" Height="350" Width="525">
- <Grid Margin="5">
- <TabControl>
- <TabItem Header="Wielka Brytania">
- <Viewbox Stretch="Uniform">
- <Canvas Width="60" Height="30" ClipToBounds="True">
- <Rectangle Fill="#000066" Width="60" Height="30" />
- <Line Stroke="White" StrokeThickness="6" X1="0" Y1="0" X2="60" Y2="30" />
- <Line Stroke="White" StrokeThickness="6" X1="60" Y1="0" X2="0" Y2="30" />
- <Line Stroke="#CC0000" StrokeThickness="2" X1="-2" Y1="0" X2="30" Y2="16" />
- <Line Stroke="#CC0000" StrokeThickness="2" X1="62" Y1="-2" X2="30" Y2="14" />
- <Line Stroke="#CC0000" StrokeThickness="2" X1="62" Y1="30" X2="30" Y2="14" />
- <Line Stroke="#CC0000" StrokeThickness="2" X1="-2" Y1="32" X2="30" Y2="16" />
- <Line Stroke="White" StrokeThickness="10" X1="30" Y1="0" X2="30" Y2="30" />
- <Line Stroke="White" StrokeThickness="10" X1="0" Y1="15" X2="60" Y2="15" />
- <Line Stroke="#CC0000" StrokeThickness="6" X1="0" Y1="15" X2="60" Y2="15" />
- <Line Stroke="#CC0000" StrokeThickness="6" X1="30" Y1="0" X2="30" Y2="30" />
- </Canvas>
- </Viewbox>
- </TabItem>
- <TabItem Header="DRK">
- <Viewbox Stretch="Uniform">
- <Canvas Width="400" Height="300" ClipToBounds="True">
- <Rectangle Fill="#007fff" Width="400" Height="300" />
- <Line Stroke="#f7d618" StrokeThickness="85" X1="-25" Y1="280" X2="425" Y2="20" />
- <Line Stroke="#ce1021" StrokeThickness="60" X1="-25" Y1="280" X2="425" Y2="20" />
- <Polygon Points="20,60 60,60 73,18 86,60 126,60 94,86 106,128 73,102 40,128 50,86" Fill="#f7d618"/>
- </Canvas>
- </Viewbox>
- </TabItem>
- </TabControl>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement