-
Notifications
You must be signed in to change notification settings - Fork 154
/
MainPage.xaml
38 lines (37 loc) · 1.78 KB
/
MainPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//*********************************************************
-->
<Page
x:Class="ComputeOnDesktop.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:ComputeOnDesktop"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<StackPanel Orientation="Vertical">
<StackPanel>
<TextBlock TextWrapping="Wrap">Host name:</TextBlock>
<TextBox x:Name="HostNameForConnect" IsEnabled="true" Text="127.0.0.1"/>
<Button x:Name="ConnectSocket" Content="Connect" Click="ConnectSocket_Click"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" BorderThickness="2" BorderBrush="Black">
<StackPanel BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="Black" HorizontalAlignment="Center">
<Image Name="_pvImage" Width="1280" Height="720"/>
<TextBlock TextWrapping="Wrap">PV camera service name:</TextBlock>
<TextBox x:Name="_pvServiceName" Text="23940"/>
</StackPanel>
</StackPanel>
</StackPanel>
</Grid>
</Page>