|
@@ -48,23 +48,14 @@
|
|
</ComboBox>
|
|
</ComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
- <Label Content="Дата"
|
|
|
|
|
|
+ <Label Content="Дата отправления"
|
|
Margin="0,10,0,10"
|
|
Margin="0,10,0,10"
|
|
HorizontalAlignment="Center">
|
|
HorizontalAlignment="Center">
|
|
</Label>
|
|
</Label>
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
|
- Grid.Row="0"
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
- Height="50">
|
|
|
|
- <DatePicker Margin="5,0,5,0"
|
|
|
|
- Width="80">
|
|
|
|
- </DatePicker>
|
|
|
|
-
|
|
|
|
- <DatePicker Margin="5,0,5,0"
|
|
|
|
- Width="80">
|
|
|
|
- </DatePicker>
|
|
|
|
- </StackPanel>
|
|
|
|
-
|
|
|
|
|
|
+ <DatePicker Name="ArrivalDate"
|
|
|
|
+ Width="160"
|
|
|
|
+ HorizontalAlignment="Center">
|
|
|
|
+ </DatePicker>
|
|
<Button Content="Поиск"
|
|
<Button Content="Поиск"
|
|
Margin="0,10,0,10"
|
|
Margin="0,10,0,10"
|
|
Width="120"
|
|
Width="120"
|
|
@@ -78,8 +69,9 @@
|
|
|
|
|
|
<ListBox Name="ListBox"
|
|
<ListBox Name="ListBox"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- BorderBrush="{x:Null}">
|
|
|
|
- <ScrollViewer VerticalScrollBarVisibility="Visible"/>
|
|
|
|
|
|
+ BorderBrush="{x:Null}"
|
|
|
|
+ ScrollViewer.HorizontalScrollBarVisibility="Disabled">
|
|
|
|
+ temp
|
|
<ListBox.ItemTemplate>
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<Border Height="120"
|
|
<Border Height="120"
|
|
@@ -89,48 +81,51 @@
|
|
BorderThickness="1.5"
|
|
BorderThickness="1.5"
|
|
BorderBrush="{StaticResource Selection}"
|
|
BorderBrush="{StaticResource Selection}"
|
|
Margin="10,2,10,2">
|
|
Margin="10,2,10,2">
|
|
-
|
|
|
|
- <Grid Background="{x:Null}">
|
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
|
- <ColumnDefinition/>
|
|
|
|
- <ColumnDefinition/>
|
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
|
|
|
+
|
|
|
|
+ <Grid>
|
|
<Grid.RowDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="40"/>
|
|
<RowDefinition Height="40"/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
</Grid.RowDefinitions>
|
|
-
|
|
|
|
- <!--UPLEFT-->
|
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
|
|
|
+
|
|
|
|
+ <!--UP-->
|
|
|
|
+ <Grid>
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition/>
|
|
|
|
+ <ColumnDefinition/>
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
+ <!--UPLEFT-->
|
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
Grid.Column="0">
|
|
Grid.Column="0">
|
|
- <Image Width="35"
|
|
|
|
|
|
+ <Image Width="35"
|
|
Height="35"
|
|
Height="35"
|
|
Margin="5"
|
|
Margin="5"
|
|
HorizontalAlignment="Left"
|
|
HorizontalAlignment="Left"
|
|
Source="/Resources/Train.png">
|
|
Source="/Resources/Train.png">
|
|
- </Image>
|
|
|
|
- <StackPanel>
|
|
|
|
- <Label Content="{Binding route.IdRoute}"/>
|
|
|
|
- <Label Content="{Binding str}"
|
|
|
|
|
|
+ </Image>
|
|
|
|
+ <StackPanel>
|
|
|
|
+ <Label Content="{Binding route.IdRoute}"/>
|
|
|
|
+ <Label Content="{Binding str}"
|
|
Margin="0,-7,0,0"/>
|
|
Margin="0,-7,0,0"/>
|
|
|
|
+ </StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
- </StackPanel>
|
|
|
|
- <!--UPRIGHT-->
|
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
|
|
|
+ <!--UPRIGHT-->
|
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
HorizontalAlignment="Right">
|
|
HorizontalAlignment="Right">
|
|
- <Image Source="/Resources/Train.png"
|
|
|
|
|
|
+ <Image Source="/Resources/Train.png"
|
|
Margin="3">
|
|
Margin="3">
|
|
- </Image>
|
|
|
|
- <Image Source="/Resources/Train.png"
|
|
|
|
|
|
+ </Image>
|
|
|
|
+ <Image Source="/Resources/Train.png"
|
|
Margin="3">
|
|
Margin="3">
|
|
- </Image>
|
|
|
|
- <Image Source="/Resources/Train.png"
|
|
|
|
|
|
+ </Image>
|
|
|
|
+ <Image Source="/Resources/Train.png"
|
|
Margin="3">
|
|
Margin="3">
|
|
- </Image>
|
|
|
|
-
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
+ </Image>
|
|
|
|
|
|
|
|
+ </StackPanel>
|
|
|
|
+ </Grid>
|
|
|
|
+
|
|
<!--DOWNLEFT-->
|
|
<!--DOWNLEFT-->
|
|
<Grid Grid.Row="1" Grid.Column="0"
|
|
<Grid Grid.Row="1" Grid.Column="0"
|
|
Background="{x:Null}">
|
|
Background="{x:Null}">
|
|
@@ -162,21 +157,6 @@
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
-
|
|
|
|
-
|
|
|
|
- <!--DOWNRIGHT-->
|
|
|
|
- <ListBox Grid.Row="1" Grid.Column="1"
|
|
|
|
- Background="{x:Null}"
|
|
|
|
- BorderBrush="{x:Null}">
|
|
|
|
- <Grid Width="260" Height="20" Background="Black">
|
|
|
|
-
|
|
|
|
- </Grid>
|
|
|
|
- <Grid Width="260" Height="20" Background="Black">
|
|
|
|
-
|
|
|
|
- </Grid>
|
|
|
|
- <Grid Width="260" Height="20" Background="Black">
|
|
|
|
- </Grid>
|
|
|
|
- </ListBox>
|
|
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
</Border>
|
|
</DataTemplate>
|
|
</DataTemplate>
|