|
12 | 12 | ResizeMode="NoResize" |
13 | 13 | Topmost="True" |
14 | 14 | ShowInTaskbar="False" |
15 | | - d:DataContext="{d:DesignInstance local:PrinterViewModel}"> |
| 15 | + d:DataContext="{d:DesignInstance local:PrinterViewModel}" Focusable="False"> |
16 | 16 | <Viewbox Stretch="Fill" KeyDown="UIElement_OnKeyDown"> |
17 | 17 | <Canvas x:Name="RootCanvas" Background="{DynamicResource App.Background}" Height="900" Width="1600"> |
18 | 18 | <Canvas Height="900" Width="1600" Visibility="{Binding FlakesVisibility}"> |
|
43 | 43 | </Canvas> |
44 | 44 | <Image Width="212" Height="212" Source="{Binding PrintQr}" HorizontalAlignment="Left" |
45 | 45 | VerticalAlignment="Top" Canvas.Left="219" Canvas.Top="485" |
46 | | - Visibility="{Binding PrintQrVisibility}" /> |
| 46 | + Visibility="{Binding PrintQrVisibility}" Focusable="False" /> |
47 | 47 | <Rectangle Width="3" Height="590" Canvas.Left="684" Canvas.Top="155" |
48 | | - Fill="{DynamicResource Labels.Foreground}" /> |
| 48 | + Fill="{DynamicResource Labels.Foreground}" Focusable="False" /> |
49 | 49 | <TextBlock FontSize="24" Width="641" Height="449" Canvas.Left="814" Canvas.Top="57" TextWrapping="Wrap" |
50 | | - Foreground="{DynamicResource Labels.Foreground}" FontFamily="Roboto" FontWeight="Bold"> |
| 50 | + Foreground="{DynamicResource Labels.Foreground}" FontFamily="Roboto" FontWeight="Bold" |
| 51 | + Focusable="False"> |
51 | 52 | <Run |
52 | 53 | Text="0) Подключись со своего устройства к интернету. Можно воспользоваться сетями Wi-Fi в холле ЦФА или гостевым Wi-Fi PKFF_Free. " /> |
53 | 54 | <LineBreak /> |
|
59 | 60 | </TextBlock> |
60 | 61 | <TextBlock Text="Приложение Твой ФФ!" FontSize="24" Width="256" Height="28" Canvas.Left="854" |
61 | 62 | Canvas.Top="540" TextWrapping="Wrap" Foreground="{DynamicResource Labels.Foreground}" |
62 | | - FontWeight="Bold" /> |
| 63 | + FontWeight="Bold" Focusable="False" /> |
63 | 64 | <TextBlock Text="Бот принтера ВК" FontSize="24" Width="189" Height="28" Canvas.Left="1208" |
64 | 65 | Canvas.Top="540" |
65 | | - TextWrapping="Wrap" Foreground="{DynamicResource Labels.Foreground}" FontWeight="Bold" /> |
| 66 | + TextWrapping="Wrap" Foreground="{DynamicResource Labels.Foreground}" FontWeight="Bold" |
| 67 | + Focusable="False" /> |
66 | 68 | <TextBlock Text="app.profcomff.com" FontSize="24" Width="209" Height="28" Canvas.Left="878" |
67 | 69 | Canvas.Top="815" TextWrapping="Wrap" Foreground="{DynamicResource Labels.Foreground}" |
68 | | - FontWeight="Bold" /> |
| 70 | + FontWeight="Bold" Focusable="False" /> |
69 | 71 | <TextBlock Text="vk.me/profcomff_print_bot" FontSize="24" Width="290" Height="28" Canvas.Left="1158" |
70 | 72 | Canvas.Top="815" TextWrapping="Wrap" Foreground="{DynamicResource Labels.Foreground}" |
71 | | - FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center" /> |
| 73 | + FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center" Focusable="False" /> |
72 | 74 | <Rectangle Width="212" Height="212" Fill="{DynamicResource Qr.AppProfcomffCom}" Canvas.Left="876" |
73 | | - Canvas.Top="591" HorizontalAlignment="Center" VerticalAlignment="Top" /> |
| 75 | + Canvas.Top="591" HorizontalAlignment="Center" VerticalAlignment="Top" Focusable="False" /> |
74 | 76 | <Rectangle Width="212" Height="212" Fill="{DynamicResource Qr.ProfcomffPrint}" Canvas.Left="1197" |
75 | | - Canvas.Top="591" HorizontalAlignment="Left" VerticalAlignment="Center" /> |
| 77 | + Canvas.Top="591" HorizontalAlignment="Left" VerticalAlignment="Center" Focusable="False" /> |
76 | 78 | <TextBlock Text="{Binding Compliment}" TextWrapping="Wrap" |
77 | 79 | Foreground="{DynamicResource Labels.Foreground}" FontFamily="Roboto" FontWeight="Bold" |
78 | 80 | FontSize="24" Canvas.Left="120" Canvas.Top="485" Height="152" Width="410" |
79 | | - HorizontalAlignment="Left" VerticalAlignment="Top" /> |
| 81 | + HorizontalAlignment="Left" VerticalAlignment="Top" Focusable="False" /> |
80 | 82 | <Grid Canvas.Left="120" Canvas.Top="263" Width="410"> |
81 | 83 | <TextBlock Text="Код документа для печати" FontSize="24" TextWrapping="Wrap" |
82 | 84 | Foreground="{DynamicResource Labels.Foreground}" FontWeight="Bold" Margin="0,0,104,158" /> |
|
88 | 90 | IsEnabled="{Binding DownloadNotInProgress}" |
89 | 91 | TextAlignment="Center" Style="{DynamicResource MyTextBoxStyle1}" |
90 | 92 | VerticalContentAlignment="Center" |
91 | | - HorizontalContentAlignment="Center" Margin="0,29,0,105" /> |
| 93 | + HorizontalContentAlignment="Center" Margin="0,29,0,105" TabIndex="1" /> |
92 | 94 | <TextBlock IsHitTestVisible="False" Text="Введите код здесь" VerticalAlignment="Top" |
93 | 95 | HorizontalAlignment="Center" Margin="0,41,0,0" Foreground="DarkGray" FontSize="24"> |
94 | 96 | <TextBlock.Style> |
|
107 | 109 | Background="Red" Foreground="White" |
108 | 110 | Content="{Binding ErrorTextBlockText, FallbackValue=123}" |
109 | 111 | Padding="0,0,0,0" Margin="0,157,0,0" Visibility="{Binding ErrorTextBlockVisibility}" /> |
110 | | - <Button Content="Распечатать сразу" Click="Print_OnClick" |
| 112 | + <Button x:Name="ButtonPrint" Content="Распечатать сразу" Click="Print_OnClick" |
111 | 113 | Style="{DynamicResource MyButtonStyle}" FontSize="20" |
112 | | - IsEnabled="{Binding DownloadNotInProgress}" Margin="0,92,0,42" /> |
| 114 | + IsEnabled="{Binding DownloadNotInProgress}" Margin="0,92,0,42" Focusable="True" TabIndex="2" /> |
113 | 115 | </Grid> |
114 | 116 | </Canvas> |
115 | 117 | </Viewbox> |
|
0 commit comments