-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainWindow.xaml
15 lines (15 loc) · 1.16 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<Window x:Class="SimpleIMS.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:SimpleIMS"
mc:Ignorable="d"
Title="Simple Inventory Management System" Height="450" Width="800" MinHeight="450" MinWidth="800">
<Grid>
<Button x:Name="buttonAdd" Content="Add" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="25" Width="80" Click="buttonAdd_Click"/>
<Button x:Name="buttonEdit" Content="Edit" HorizontalAlignment="Left" Margin="95,10,0,0" VerticalAlignment="Top" Height="25" Width="80" Click="buttonEdit_Click"/>
<Button x:Name="buttonRemove" Content="Remove" HorizontalAlignment="Left" Margin="180,10,0,0" VerticalAlignment="Top" Height="25" Width="80" Click="buttonRemove_Click"/>
<DataGrid x:Name="dGItems" d:ItemsSource="{d:SampleData ItemCount=5}" Margin="10,40,10,10" IsReadOnly="True"/>
</Grid>
</Window>