<Window x:Class="Wpf_BindingStudent.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Wpf_BindingStudent"
        mc:Ignorable="d"
        Title="MainWindow" Height="200" Width="350">
    <Grid Margin="10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Column="2">
            <Button Name="btnDodaj" Click="btnDodaj_Click">Dodaj</Button>
            <Button Name="btnIzmeni" Click="btnIzmeni_Click" Margin="0,5">Izmeni</Button>
            <Button Name="btnObrisi" Click="btnObrisi_Click">Obrisi</Button>
        </StackPanel>
        <ListBox Grid.Column="0" Name="lbStudenti" DisplayMemberPath="BrojIndeksa" 
                 MouseDoubleClick="lbStudenti_MouseDoubleClick"></ListBox>
        <TextBox Grid.Column="1" Name="txtStudenti"></TextBox>
    </Grid>
</Window>
