NOInternetRegion.xaml 5.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <UserControl
  2. x:Class="PDF_Master.Views.Dialog.ServiceDialog.NOInternetRegion"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:help="clr-namespace:PDF_Master.Helper"
  7. xmlns:local="clr-namespace:PDF_Master.Views.Dialog.ServiceDialog"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. xmlns:prism="http://prismlibrary.com/"
  10. Width="326"
  11. Height="420"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. mc:Ignorable="d">
  14. <Grid Background="White">
  15. <Button
  16. Width="46"
  17. Height="32"
  18. Margin="8"
  19. HorizontalAlignment="Right"
  20. VerticalAlignment="Top"
  21. Background="Transparent"
  22. IsCancel="True"
  23. Style="{StaticResource CloseBtn}"
  24. WindowChrome.IsHitTestVisibleInChrome="True">
  25. <Path
  26. Width="46"
  27. Height="32"
  28. Data="M23 17.708L18.8545 21.8535C18.7568 21.9512 18.6396 22 18.5029 22C18.3597 22 18.2393 21.9528 18.1416 21.8584C18.0472 21.7607 18 21.6403 18 21.4971C18 21.3604 18.0488 21.2432 18.1465 21.1455L22.292 17L18.1465 12.8545C18.0488 12.7568 18 12.638 18 12.498C18 12.4297 18.013 12.3646 18.0391 12.3027C18.0651 12.2409 18.1009 12.1888 18.1465 12.1465C18.1921 12.1009 18.2458 12.0651 18.3076 12.0391C18.3695 12.013 18.4346 12 18.5029 12C18.6396 12 18.7568 12.0488 18.8545 12.1465L23 16.292L27.1455 12.1465C27.2432 12.0488 27.362 12 27.502 12C27.5703 12 27.6338 12.013 27.6924 12.0391C27.7542 12.0651 27.8079 12.1009 27.8535 12.1465C27.8991 12.1921 27.9349 12.2458 27.9609 12.3076C27.987 12.3662 28 12.4297 28 12.498C28 12.638 27.9512 12.7568 27.8535 12.8545L23.708 17L27.8535 21.1455C27.9512 21.2432 28 21.3604 28 21.4971C28 21.5654 27.987 21.6305 27.9609 21.6924C27.9349 21.7542 27.8991 21.8079 27.8535 21.8535C27.8112 21.8991 27.7591 21.9349 27.6973 21.9609C27.6354 21.987 27.5703 22 27.502 22C27.362 22 27.2432 21.9512 27.1455 21.8535L23 17.708Z"
  29. Fill="Black" />
  30. </Button>
  31. <Grid
  32. Margin="0,82,110,0"
  33. HorizontalAlignment="Right"
  34. VerticalAlignment="Top">
  35. <Border>
  36. <Path Data="M86.7574 97L83.7574 94H41V93.9233L37.9299 93.995C37.7871 93.9983 37.6438 94 37.5 94C27.3474 94 19 85.5588 19 75C19 65.0009 26.4938 56.892 35.9072 56.0693L37.6288 55.9188L38.3624 54.354C38.9563 53.0871 39.7275 51.9208 40.644 50.8866L38.5198 48.7625C37.3605 50.0438 36.3882 51.4975 35.646 53.0807C24.6399 54.0425 16 63.4888 16 75C16 86.9793 25.3569 96.7224 37.0001 96.9942C37.1663 96.998 37.3329 97 37.5 97C37.6671 97 37.8338 96.9981 38 96.9942V97H41H86.7574ZM43.2861 45.0435C45.7354 43.7392 48.5314 43 51.5 43C52.2165 43 52.923 43.0431 53.617 43.1267C58.2162 35.2739 66.7422 30 76.5 30C91.1355 30 103 41.8645 103 56.5C103 57.5543 102.938 58.5942 102.819 59.6164C110.979 61.7494 117 69.1715 117 78C117 88.158 109.029 96.4541 99 96.9741V97H98H96H95.2426L92.2426 94H98H98.4235L98.8447 93.9782C107.287 93.5404 114 86.5532 114 78C114 70.5696 108.932 64.3153 102.06 62.5189L99.5355 61.859L99.8391 59.2673C99.9453 58.3608 100 57.4374 100 56.5C100 43.5213 89.4787 33 76.5 33C67.8506 33 60.2888 37.6712 56.2057 44.6429L55.2113 46.3407L53.2578 46.1052C52.6828 46.0358 52.0962 46 51.5 46C49.3711 46 47.3484 46.4588 45.5262 47.2836L43.2861 45.0435Z" Fill="#CED0D4" />
  37. </Border>
  38. <Border>
  39. <Path
  40. Data="M25.9121 28.4126L102.912 105.413"
  41. Stroke="#BDDFFD"
  42. StrokeThickness="3" />
  43. </Border>
  44. </Grid>
  45. <Grid
  46. Width="262"
  47. Height="112"
  48. Margin="32,226,0,0"
  49. HorizontalAlignment="Left"
  50. VerticalAlignment="Top">
  51. <TextBlock
  52. HorizontalAlignment="Center"
  53. VerticalAlignment="Top"
  54. FontFamily="Segoe UI"
  55. FontSize="14"
  56. Foreground="#616469"
  57. LineHeight="22"
  58. Text="No network detected" />
  59. <TextBlock
  60. Width="262"
  61. Height="40"
  62. Margin="0,22,0,0"
  63. HorizontalAlignment="Left"
  64. VerticalAlignment="Top"
  65. FontFamily="Segoe UI"
  66. FontSize="14"
  67. Foreground="#94989C"
  68. LineHeight="22"
  69. Text="To access your files, please connect to the Internet and try again."
  70. TextAlignment="Center"
  71. TextWrapping="Wrap" />
  72. <Button
  73. Background="#273C62"
  74. Content="Retry"
  75. Command="{Binding RetryCommand}"
  76. Foreground="White"
  77. Width="65"
  78. Height="32"
  79. VerticalAlignment="Bottom" IsDefault="True" />
  80. </Grid>
  81. </Grid>
  82. </UserControl>