|
@@ -33,14 +33,14 @@
|
|
|
Grid.Row="0"
|
|
|
HorizontalAlignment="Center"
|
|
|
Height="50">
|
|
|
- <ComboBox Name="StationArrivalComboBox"
|
|
|
+ <ComboBox Name="StationDepartureComboBox"
|
|
|
Margin="5,0,5,0"
|
|
|
IsEditable="True"
|
|
|
Width="80"
|
|
|
Text="Откуда">
|
|
|
</ComboBox>
|
|
|
|
|
|
- <ComboBox Name="StationDepartureComboBox"
|
|
|
+ <ComboBox Name="StationArrivalComboBox"
|
|
|
Margin="5,0,5,0"
|
|
|
IsEditable="True"
|
|
|
Width="80"
|
|
@@ -76,132 +76,14 @@
|
|
|
</Grid>
|
|
|
</Border>
|
|
|
|
|
|
- <!--TEMP-->
|
|
|
- <Grid Name="TempGrid"
|
|
|
- Background="{x:Null}"
|
|
|
- Grid.Column="1"
|
|
|
- Visibility="Collapsed">
|
|
|
-
|
|
|
- <Border Height="120"
|
|
|
- CornerRadius="10"
|
|
|
- Background="{StaticResource Color2}"
|
|
|
- BorderThickness="1.5"
|
|
|
- BorderBrush="{StaticResource Selection}"
|
|
|
- Margin="10,2,10,2"
|
|
|
- MouseDown="Border_MouseDown">
|
|
|
-
|
|
|
- <Grid Background="{x:Null}">
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition/>
|
|
|
- <ColumnDefinition/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="40"/>
|
|
|
- <RowDefinition/>
|
|
|
- </Grid.RowDefinitions>
|
|
|
-
|
|
|
- <!--UPLEFT-->
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
- Grid.Column="0">
|
|
|
- <Image Width="35"
|
|
|
- Height="35"
|
|
|
- Margin="5"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Source="/Resources/Train.png">
|
|
|
- </Image>
|
|
|
- <StackPanel>
|
|
|
- <Label Content="{Binding IdRoute}"/>
|
|
|
- <Label Content="{Binding str}"
|
|
|
- Margin="0,-7,0,0"/>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
- <!--UPRIGHT-->
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
- Grid.Column="1"
|
|
|
- HorizontalAlignment="Right">
|
|
|
- <Image Source="/Resources/Train.png"
|
|
|
- Margin="3">
|
|
|
- </Image>
|
|
|
- <Image Source="/Resources/Train.png"
|
|
|
- Margin="3">
|
|
|
- </Image>
|
|
|
- <Image Source="/Resources/Train.png"
|
|
|
- Margin="3">
|
|
|
- </Image>
|
|
|
-
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <!--DOWNLEFT-->
|
|
|
- <Grid Grid.Row="1" Grid.Column="0"
|
|
|
- Background="{x:Null}">
|
|
|
- <Grid Background="{x:Null}">
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition/>
|
|
|
- <ColumnDefinition/>
|
|
|
- <ColumnDefinition/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
-
|
|
|
- <StackPanel>
|
|
|
- <Label Content="City">
|
|
|
-
|
|
|
- </Label>
|
|
|
- <Label Content="Time">
|
|
|
-
|
|
|
- </Label>
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <Label Content="TimeBetween" Grid.Column="1">
|
|
|
-
|
|
|
- </Label>
|
|
|
-
|
|
|
- <StackPanel Grid.Column="2">
|
|
|
- <Label Content="City">
|
|
|
-
|
|
|
- </Label>
|
|
|
- <Label Content="Time">
|
|
|
-
|
|
|
- </Label>
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <!--<Label Name="FROML"
|
|
|
- Content="{Binding Station.Name}">
|
|
|
-
|
|
|
- </Label>
|
|
|
- <Label Content="To">
|
|
|
-
|
|
|
- </Label>
|
|
|
- <Label Name="ToL"
|
|
|
- Content="{Binding Station.Name}">
|
|
|
-
|
|
|
- </Label>-->
|
|
|
- </Grid>
|
|
|
- </Grid>
|
|
|
-
|
|
|
- <ListBox Grid.Row="1" Grid.Column="1"
|
|
|
- Background="{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>
|
|
|
-
|
|
|
-
|
|
|
- </Border>
|
|
|
- </Grid>
|
|
|
-
|
|
|
<ListBox Name="ListBox"
|
|
|
Grid.Column="1"
|
|
|
- Visibility="Visible">
|
|
|
+ BorderBrush="{x:Null}">
|
|
|
+ <ScrollViewer VerticalScrollBarVisibility="Visible"/>
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Border Height="120"
|
|
|
+ Width="555"
|
|
|
CornerRadius="10"
|
|
|
Background="{StaticResource Color2}"
|
|
|
BorderThickness="1.5"
|
|
@@ -252,7 +134,7 @@
|
|
|
|
|
|
<!--DOWNLEFT-->
|
|
|
<Grid Grid.Row="1" Grid.Column="0"
|
|
|
- Background="{x:Null}">
|
|
|
+ Background="{x:Null}">
|
|
|
<Grid Background="{x:Null}">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition/>
|
|
@@ -261,43 +143,37 @@
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
<StackPanel>
|
|
|
- <Label Content="City">
|
|
|
-
|
|
|
+ <Label Content="{Binding stationDeparture}"
|
|
|
+ Style="{StaticResource TextCenter}">
|
|
|
</Label>
|
|
|
- <Label Content="Time">
|
|
|
-
|
|
|
+ <Label Content="{Binding timeDeparture}"
|
|
|
+ Style="{StaticResource TextCenter}">
|
|
|
</Label>
|
|
|
</StackPanel>
|
|
|
|
|
|
- <Label Content="TimeBetween" Grid.Column="1">
|
|
|
-
|
|
|
+ <Label Content="{Binding timeBetween}"
|
|
|
+ Grid.Column="1"
|
|
|
+ Style="{StaticResource TextCenter}">
|
|
|
</Label>
|
|
|
|
|
|
<StackPanel Grid.Column="2">
|
|
|
- <Label Content="City">
|
|
|
+ <Label Content="{Binding stationArrival}"
|
|
|
+ Style="{StaticResource TextCenter}">
|
|
|
|
|
|
</Label>
|
|
|
- <Label Content="Time">
|
|
|
+ <Label Content="{Binding timeArrival}"
|
|
|
+ Style="{StaticResource TextCenter}">
|
|
|
|
|
|
</Label>
|
|
|
</StackPanel>
|
|
|
-
|
|
|
- <!--<Label Name="FROML"
|
|
|
- Content="{Binding Station.Name}">
|
|
|
-
|
|
|
- </Label>
|
|
|
- <Label Content="To">
|
|
|
-
|
|
|
- </Label>
|
|
|
- <Label Name="ToL"
|
|
|
- Content="{Binding Station.Name}">
|
|
|
-
|
|
|
- </Label>-->
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+ <!--DOWNRIGHT-->
|
|
|
<ListBox Grid.Row="1" Grid.Column="1"
|
|
|
- Background="{x:Null}">
|
|
|
+ Background="{x:Null}"
|
|
|
+ BorderBrush="{x:Null}">
|
|
|
<Grid Width="260" Height="20" Background="Black">
|
|
|
|
|
|
</Grid>
|
|
@@ -305,17 +181,13 @@
|
|
|
|
|
|
</Grid>
|
|
|
<Grid Width="260" Height="20" Background="Black">
|
|
|
-
|
|
|
</Grid>
|
|
|
</ListBox>
|
|
|
-
|
|
|
</Grid>
|
|
|
-
|
|
|
-
|
|
|
</Border>
|
|
|
</DataTemplate>
|
|
|
</ListBox.ItemTemplate>
|
|
|
</ListBox>
|
|
|
-
|
|
|
+
|
|
|
</Grid>
|
|
|
</Page>
|