<Window ... Title="Konto" SizeToContent="Height" Width="350"> <Grid Margin="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<Label Margin="2">Saldo:</Label>
<TextBox Name="txtSaldo" IsReadOnly="True" Grid.Column="l' Grid.ColumnSpan="3" Margin="2">0</TextBox>
<Label Grid.Row="l" Grid.ColumnSpan="4" Margin="2">0peracje:</Label>
<TextBox Name="txtKwota" Grid.Row="2" Grid.ColumnSpan="2" Margin="2"/>
<Button Grid.Row="2" Grid.Column="2" Margin="2" Padding="10,3" Click="ClickWplac">Wpłać</Button>
<Button Grid.Row="2" Grid.Column="3" Margin="2" Padding="10,3" Click="ClickWyplac">Wypłać</Button> </Grid>
</Window>