Merge branch 'main' into fastpassbugfixes

This commit is contained in:
ritikaguptams 2021-06-30 12:13:38 -07:00 коммит произвёл GitHub
Родитель 34a0693013 50437dbd4f
Коммит 1fd9e41498
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 841 добавлений и 836 удалений

Просмотреть файл

@ -1,4 +1,4 @@
<Page
<Page
x:Class="Microsoft.FactoryOrchestrator.UWP.ConnectionPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@ -7,25 +7,25 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Page.Resources>
<DataTemplate x:Key="ResultsListViewTemplate" x:DataType="local:DeviceInformationDisplay">
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" MinWidth="100"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0">
<StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{x:Bind HostName, Mode=OneWay}" FontWeight="Bold" TextWrapping="WrapWholeWords"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{x:Bind IpAddressList, Mode=OneWay}"
TextWrapping="WrapWholeWords" />
</StackPanel>
</StackPanel>
</Border>
</Grid>
</DataTemplate>
<Page.Resources>
<DataTemplate x:Key="ResultsListViewTemplate" x:DataType="local:DeviceInformationDisplay">
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" MinWidth="100"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0">
<StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{x:Bind HostName, Mode=OneWay}" FontWeight="Bold" TextWrapping="WrapWholeWords"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{x:Bind IpAddressList, Mode=OneWay}"
TextWrapping="WrapWholeWords" />
</StackPanel>
</StackPanel>
</Border>
</Grid>
</DataTemplate>
</Page.Resources>
<Grid>
<Grid.ColumnDefinitions>
@ -85,11 +85,12 @@
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="99" x:Uid="AttemptingLocalHost" HorizontalAlignment="Center" VerticalAlignment="Top" Style="{StaticResource SubheaderTextBlockStyle}"/>
<ProgressBar x:Name="ConnectingProgress" Grid.Row="3" Grid.Column="1" IsIndeterminate="True" Visibility="Visible" AllowFocusOnInteraction="False"/>
<ProgressBar x:Name="ConnectingProgress" x:Uid="ConnectingProgress" Grid.Row="3" Grid.Column="1" IsIndeterminate="True" Visibility="Visible" AllowFocusOnInteraction="False"/>
</Grid>
<TextBlock Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="99" x:Uid="RemoteHost" HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource TitleTextBlockStyle}"/>
<ListView Grid.Row="6" x:Name="ResultsListView" BorderBrush="AntiqueWhite" BorderThickness="1"
MinHeight="200" Margin="0,5,0,5"
<ListView Grid.Row="6" x:Name="ResultsListView" BorderBrush="AntiqueWhite" BorderThickness="1"
MinHeight="200" Margin="0,5,0,5"
ItemTemplate="{StaticResource ResultsListViewTemplate}" ScrollViewer.VerticalScrollMode="Enabled" ScrollViewer.VerticalScrollBarVisibility="Auto" IsItemClickEnabled="True" SelectionMode="Single" ItemClick="ResultsListView_ItemClick"/>
<Grid Grid.Row="8" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5" >
<Grid.ColumnDefinitions>
@ -113,9 +114,9 @@
<TextBlock Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" x:Uid="IpAddress" x:Name="IpText" Visibility="Collapsed"/>
<TextBox Grid.Row="2" Grid.Column="1" x:Name="IpTextBox" Margin="5" Width="150" VerticalAlignment="Center" HorizontalAlignment="Stretch" TextWrapping="NoWrap" TextAlignment="Center" TextChanged="TextBox_TextChanged" InputScope="Number" KeyDown="TextBox_KeyDown" AutomationProperties.LabeledBy="{Binding ElementName=IpText}" Visibility="Collapsed"/>
<TextBlock Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" Visibility="Collapsed" x:Uid="Port" x:Name="PortText"/>
<TextBox Grid.Row="3" Grid.Column="1" x:Name="PortTextBox" Margin="5" Width="150" VerticalAlignment="Center" HorizontalAlignment="Stretch" TextWrapping="NoWrap" Visibility="Collapsed" TextAlignment="Center" TextChanged="TextBox_TextChanged" InputScope="Number" KeyDown="TextBox_KeyDown" AutomationProperties.LabeledBy="{Binding ElementName=Port}"/>
<Button Grid.Row="4" Grid.Column="1" Visibility="Collapsed" x:Name="ConnectButton" Margin="1" HorizontalAlignment="Center" VerticalAlignment="Center" x:Uid="ConnectButton" Click="ConnectButton_Click" IsEnabled="False"/>
<TextBox Grid.Row="3" Grid.Column="1" x:Name="PortTextBox" Margin="5" Width="150" VerticalAlignment="Center" HorizontalAlignment="Stretch" TextWrapping="NoWrap" Visibility="Collapsed" TextAlignment="Center" TextChanged="TextBox_TextChanged" InputScope="Number" KeyDown="TextBox_KeyDown" AutomationProperties.LabeledBy="{Binding ElementName=PortText}"/>
<Button Grid.Row="4" Grid.Column="0" x:Name="OptionsButton" Margin="1" HorizontalAlignment="Center" VerticalAlignment="Center" x:Uid="AdvancedOptionsButton" Click="OptionsButton_Click" IsEnabled="True"/>
<Button Grid.Row="4" Grid.Column="1" Visibility="Collapsed" x:Name="ConnectButton" Margin="1" HorizontalAlignment="Center" VerticalAlignment="Center" x:Uid="ConnectButton" Click="ConnectButton_Click" IsEnabled="False"/>
</Grid>
</Grid>

Разница между файлами не показана из-за своего большого размера Загрузить разницу