|
@@ -184,189 +184,33 @@
|
|
|
<TextBlock Classes="TextColumns">МЕСТОПОЛОЖЕНИЕ</TextBlock>
|
|
|
</StackPanel>
|
|
|
</Border>
|
|
|
- <ScrollViewer Height="500">
|
|
|
+ <ScrollViewer Height="500">
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 0 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
+ <ListBox ItemsSource="{Binding ListOutlets}">
|
|
|
+ <ListBox.ItemTemplate>
|
|
|
+ <DataTemplate>
|
|
|
+ <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
+ <!--<Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
+ <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
+ </Button>-->
|
|
|
+ <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
<TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
</Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
+ <TextBox Text="{Binding Outletid}" Classes="EditTextBox" Width="70" Margin="0 0 140 0">Типа id</TextBox>
|
|
|
+ <TextBox Text="{Binding TradeNetworks}" Classes="EditTextBox" Width="70" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
+ <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
<TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
</Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <!--Пример скролла-->
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
|
|
|
- <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
|
|
|
- <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
|
|
|
- </Button>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа ID</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
|
|
|
- <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
|
|
|
- <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
|
|
|
- </Border>-->
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
- <TextBlock Classes="Data">Типа адрес</TextBlock>
|
|
|
- </Border>
|
|
|
- <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
- <TextBlock Classes="Data">Типа местоположение</TextBlock>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
+ <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
|
|
|
+ <TextBlock Text="{Binding Address}" Classes="Data">Типа адрес</TextBlock>
|
|
|
+ </Border>
|
|
|
+ <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
|
|
|
+ <TextBlock Text="{Binding Location}" Classes="Data">Типа местоположение</TextBlock>
|
|
|
+ </Border>
|
|
|
+ </StackPanel>
|
|
|
+ </DataTemplate>
|
|
|
+ </ListBox.ItemTemplate>
|
|
|
+ </ListBox>
|
|
|
</StackPanel>
|
|
|
</ScrollViewer>
|
|
|
</StackPanel>
|