123456789101112131415161718192021222324252627282930 |
- <Window x:Class="InABox.Poster.MYOB.MYOBCompanyFileSelectionDialog"
- 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:InABox.Poster.MYOB"
- mc:Ignorable="d"
- Title="Select Company File:" Height="450" Width="800"
- x:Name="Window"
- Loaded="Window_Loaded">
- <Grid DataContext="{Binding ElementName=Window}">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <local:MYOBCompanyFileGrid x:Name="Grid" Grid.Row="0" Margin="5,5,5,0"
- OnSelectItem="Grid_OnSelectItem"/>
- <DockPanel Grid.Row="1" LastChildFill="False" x:Name="Buttons">
- <Button x:Name="CancelButton" Click="CancelButton_Click"
- Content="Cancel"
- Margin="5" Padding="5" MinWidth="60"
- DockPanel.Dock="Right"/>
- <Button x:Name="OKButton" Click="OKButton_Click"
- Content="OK"
- Margin="5,5,0,5" Padding="5" MinWidth="60"
- DockPanel.Dock="Right"
- IsEnabled="{Binding CanSave}"/>
- </DockPanel>
- </Grid>
- </Window>
|