aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/ExternalBridgeView.xaml
blob: d83128007fc4dfe8ec51bec4da143a8c4fc5d39f (plain)
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
39
40
41
42
43
44
45
46
47
48
generated by cgit v1.3.1 (git 2.54.0) at 2026-07-24 05:31:31 +0000
 


                                      </Storyboard>
                                        </BeginStoryboard>
                                    </DataTrigger.EnterActions>
                                    <DataTrigger.ExitActions>
                                        <RemoveStoryboard BeginStoryboardName="Blink"/>
                                    </DataTrigger.ExitActions>
                                </DataTrigger>
                            </Style.Triggers>
                        </Style>
                    </touch:TouchIcon.Style>
                </touch:TouchIcon>
            </Grid>
            
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0 50 0 0" FontSize="{StaticResource TangoTitleFontSize}">This machine is currently being controlled by a remote client</TextBlock>

            <controls:TableGrid Margin="0 30 0 0" HorizontalAlignment="Center" RowHeight="30" Width="280">
                <TextBlock FontWeight="Bold">IP Address:</TextBlock>
                <TextBlock Text="{Binding Connection.IpAddress}"></TextBlock>

                <TextBlock FontWeight="Bold">Host Name:</TextBlock>
                <TextBlock Text="{Binding Connection.Request.HostName}"></TextBlock>

                <TextBlock FontWeight="Bold">App ID:</TextBlock>
                <TextBlock Text="{Binding Connection.Request.AppID}"></TextBlock>

                <TextBlock FontWeight="Bold">User:</TextBlock>
                <TextBlock Text="{Binding User.Contact.FullName,TargetNullValue='Unknown',FallbackValue='Unknown'}"></TextBlock>

                <TextBlock FontWeight="Bold" Text="Transfer Rate:" />
                <TextBlock>
                                        <Run Text="{Binding ExternalBridgeService.Adapter.TransferRate,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}"></Run>
                                        <Run Text="/ sec"></Run>
                </TextBlock>
            </controls:TableGrid>

            <touch:TouchButton Padding="30 25" Width="300" CornerRadius="40" Margin="0 100 0 0" Command="{Binding CloseSessionCommand}">CLOSE SESSION</touch:TouchButton>
        </StackPanel>
    </Grid>
</UserControl>