Last-Modified: Mon, 20 Jul 2026 07:35:46 GMT Expires: Thu, 17 Jul 2036 07:35:46 GMT name.png « Images « Tango.MachineStudio.Developer « Modules « MachineStudio « Visual_Studio « Software - Tango - Twine softwares
aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Images/name.png
blob: a25bded5c977d0f5a2e771b3d27d46df8ba934bb (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 20 00 00 00 20 08 03 00 00 00 44 a4 8a .PNG........IHDR.............D..
0020 c6 00 00 00 03 73 42 49 54 08 08 08 db e1 4f e0 00 00 00 09 70 48 59 73 00 00 00 dd 00 00 00 dd .....sBIT.....O.....pHYs........
0040 01 70 53 a2 07 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 61 .pS......tEXtSoftware.www.inksca
0060 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 00 e1 50 4c 54 45 ff ff ff c9 e0 ff 9a c4 ff cd e2 ff cb e0 pe.org..<.....PLTE..............
0080 ff 99 a9 c4 c8 df fe 8a b4 ee 44 82 d9 4c 87 db 4e 89 db 4f 8a de 4f 8b de 51 8b de 52 8c de 53 ..........D..L..N..O..O..Q..R..S
00a0 8c dd 5f 9d f4 69 a5 f7 69 a8 ff 6a a8 ff 6b a9 ff 6d a6 f5 6d aa ff 6e ab ff 6f ab ff 6f ac ff .._..i..i..j..k..m..m..n..o..o..
00c0 71 ad ff 72 ad ff 74 ae ff 75 af ff 76 b0 ff 77 b0 ff 79 b2 ff 7b b2 ff 83 b7 ff 86 b9 ff 8c bc q..r..t..u..v..w..y..{..........
00e0 ff 8f b3 e7 93 c1 ff 94 c1 ff 9b c5 ff 9c c6 ff 9d ac c6 9d c6 ff 9e c7 ff 9f c7 f
<UserControl x:Class="Tango.MachineStudio.UI.Views.ConnectionLostView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:vm="clr-namespace:Tango.MachineStudio.UI.ViewModels"
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:local="clr-namespace:Tango.MachineStudio.UI.Views"
             mc:Ignorable="d" 
             Width="559" Height="266" Background="White" d:DataContext="{d:DesignInstance Type=vm:ConnectionLostViewVM, IsDesignTimeCreatable=False}">
    <Grid>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="80"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>

            <Grid>
                <StackPanel Orientation="Horizontal" Margin="10">
                    <Grid>
                        <Image Source="/Images/machine-trans.png" RenderOptions.BitmapScalingMode="Fant"></Image>

                        <Ellipse Fill="#FF2626" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="30" Height="30" Margin="0 0 -5 -5">
                        </Ellipse>
                        <materialDesign:PackIcon Foreground="White" Kind="LanDisconnect" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="20" Height="20" Margin="0 0 0 0" />
                    </Grid>
                    <TextBlock Text="Connection Lost" VerticalAlignment="Center" Margin="10 0 0 0" FontSize="20"></TextBlock>
                </StackPanel>
            </Grid>

            <Grid Grid.Row="1" Margin="10 0 10 10">
                <Grid.RowDefinitions>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="50"/>
                </Grid.RowDefinitions>

                <Grid>
                    <StackPanel Margin="0 10 0 0" >
                        <TextBlock TextWrapping="Wrap">
                            <Run>The machine connection has entered an invalid or inactive state and will be regarded as</Run>
                            <LineBreak/>
                            <Run>disconnected.</Run>
                        </TextBlock>

                        <TextBlock Margin="0 20 0 0" FontWeight="SemiBold">Reason:</TextBlock>
                        <TextBlock Foreground="Gray" Margin="0 2 0 0" Text="{Binding Exception}" Height="75" TextWrapping="Wrap" TextTrimming="CharacterEllipsis">

                        </TextBlock>
                    </StackPanel>
                </Grid>

                <Grid Grid.Row="1">
                    <Button HorizontalAlignment="Right" Width="140" Command="{Binding OKCommand}">CLOSE</Button>
                </Grid>
            </Grid>
        </Grid>
    </Grid>
</UserControl>