Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="lab2.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>
- <TabControl HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Name="tabControl1">
- <TabItem Header="TicTac" Name="ticTacTab">
- <Grid Name="grid1">
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- </Grid>
- </TabItem>
- <TabItem Header="Hangman" Name="hangManTab">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <Canvas Grid.Row="0">
- <Polyline Points="20,150 70,150 50,150 50,10 150,10 150,30" StrokeThickness="3" Stroke="Black"/>
- <Ellipse Canvas.Top="30" Canvas.Left="130" Width="40" Height="40" StrokeThickness="2" Stroke="Black" Name="head" />
- <Polyline Points="150,70 150,120" StrokeThickness="2" Stroke="Black" Name="body"/>
- <Polyline Points="150,120 130,150" StrokeThickness="2" Stroke="Black" Name="leftLeg"/>
- <Polyline Points="150,120 170,150" StrokeThickness="2" Stroke="Black" Name="rightLeg"/>
- <Polyline Points="150,80 130,110" StrokeThickness="2" Stroke="Black" Name="leftArm"/>
- <Polyline Points="150,80 170,110" StrokeThickness="2" Stroke="Black" Name="rightArm"/>
- </Canvas>
- <WrapPanel Grid.Row="1" Name="pnlLetters" Orientation="Horizontal" >
- </WrapPanel>
- </Grid>
- </TabItem>
- </TabControl>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement