IAPCompareDialog.xaml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. <UserControl
  2. x:Class="PDF_Master.Views.Dialog.ServiceDialog.IAPCompareDialog"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:convert="clr-namespace:PDF_Master.DataConvert"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
  8. xmlns:local="clr-namespace:PDF_Master.Views.Dialog.ServiceDialog"
  9. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10. xmlns:prism="http://prismlibrary.com/"
  11. Width="836"
  12. Height="680"
  13. d:DesignHeight="639"
  14. d:DesignWidth="807"
  15. prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
  16. Background="#FFFFFF"
  17. mc:Ignorable="d">
  18. <Grid>
  19. <Image VerticalAlignment="Top" Source="pack://application:,,,/PDF Master;component/Resources/Service/IAPTop.png" />
  20. <Button
  21. Width="46"
  22. Height="32"
  23. Margin="8"
  24. HorizontalAlignment="Right"
  25. VerticalAlignment="Top"
  26. Background="Transparent"
  27. IsCancel="True"
  28. Style="{StaticResource CloseBtn}"
  29. WindowChrome.IsHitTestVisibleInChrome="True">
  30. <Path
  31. Width="46"
  32. Height="32"
  33. 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"
  34. Fill="Black" />
  35. </Button>
  36. <StackPanel
  37. Height="32"
  38. Margin="40,44,0,0"
  39. HorizontalAlignment="Left"
  40. VerticalAlignment="Top"
  41. Orientation="Horizontal">
  42. <Image Source="pack://application:,,,/PDF Master;component/Resources/Service/Cheer.png" />
  43. <TextBlock
  44. Margin="8,0,0,0"
  45. FontFamily="Segoe UI"
  46. FontSize="24"
  47. FontWeight="SemiBold"
  48. LineHeight="28"
  49. Text="Upgrade your plan" />
  50. </StackPanel>
  51. <Grid
  52. Width="348"
  53. Height="467"
  54. Margin="40,100,0,0"
  55. HorizontalAlignment="Left"
  56. VerticalAlignment="Top">
  57. <Border
  58. BorderBrush="#E2E2E2"
  59. BorderThickness="1"
  60. CornerRadius="10">
  61. <StackPanel>
  62. <TextBlock
  63. Margin="32,32,0,0"
  64. FontFamily="Segoe UI"
  65. FontSize="20"
  66. FontWeight="SemiBold"
  67. LineHeight="28"
  68. Text="Register Member" />
  69. <TextBlock
  70. Margin="32,16,0,0"
  71. FontFamily="SF Pro Text"
  72. FontSize="32"
  73. FontWeight="SemiBold"
  74. LineHeight="40"
  75. Text="Free" />
  76. <Separator
  77. Width="284"
  78. Margin="0,42,0,0"
  79. HorizontalAlignment="Center"
  80. Background="#ECECEC"
  81. BorderBrush="#ECECEC"
  82. BorderThickness="1" />
  83. <StackPanel Margin="32,20,0,0" Orientation="Horizontal">
  84. <Border
  85. Width="16"
  86. Height="16"
  87. Margin="0,0,0,4">
  88. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  89. </Border>
  90. <TextBlock
  91. Margin="8,0,0,0"
  92. FontFamily="Segoe UI"
  93. FontSize="12"
  94. Foreground="#252629"
  95. LineHeight="20"
  96. Text="Support efficient batch operation function" />
  97. </StackPanel>
  98. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  99. <Border
  100. Width="16"
  101. Height="16"
  102. Margin="0,0,0,4">
  103. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  104. </Border>
  105. <TextBlock
  106. Margin="8,0,0,0"
  107. FontFamily="Segoe UI"
  108. FontSize="12"
  109. Foreground="#252629"
  110. LineHeight="20"
  111. Text="Support for document compression" />
  112. </StackPanel>
  113. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  114. <Border
  115. Width="16"
  116. Height="16"
  117. Margin="0,0,0,4">
  118. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  119. </Border>
  120. <TextBlock
  121. Margin="8,0,0,0"
  122. FontFamily="Segoe UI"
  123. FontSize="12"
  124. Foreground="#252629"
  125. LineHeight="20"
  126. Text="Create PDF from Microsoft Word, PowerPoint" />
  127. </StackPanel>
  128. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  129. <Border
  130. Width="16"
  131. Height="16"
  132. Margin="0,0,0,4">
  133. <Path Data="M7.99963 9.06066L11.2977 12.3588L12.3584 11.2981L9.06029 8L12.3584 4.7019L11.2977 3.64124L7.99963 6.93934L4.70153 3.64124L3.64087 4.7019L6.93897 8L3.64087 11.2981L4.70153 12.3588L7.99963 9.06066Z" Fill="#F3465B" />
  134. </Border>
  135. <TextBlock
  136. Margin="8,0,0,0"
  137. FontFamily="Segoe UI"
  138. FontSize="12"
  139. Foreground="#94989C"
  140. LineHeight="20"
  141. Text="No trial watermark when entering documents" />
  142. </StackPanel>
  143. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  144. <Border
  145. Width="16"
  146. Height="16"
  147. Margin="0,0,0,4">
  148. <Path Data="M7.99963 9.06066L11.2977 12.3588L12.3584 11.2981L9.06029 8L12.3584 4.7019L11.2977 3.64124L7.99963 6.93934L4.70153 3.64124L3.64087 4.7019L6.93897 8L3.64087 11.2981L4.70153 12.3588L7.99963 9.06066Z" Fill="#F3465B" />
  149. </Border>
  150. <TextBlock
  151. Margin="8,0,0,0"
  152. FontFamily="Segoe UI"
  153. FontSize="12"
  154. Foreground="#94989C"
  155. LineHeight="20"
  156. Text="No page limit when converting PDF to other" />
  157. </StackPanel>
  158. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  159. <Border
  160. Width="16"
  161. Height="16"
  162. Margin="0,0,0,4">
  163. <Path Data="M7.99963 9.06066L11.2977 12.3588L12.3584 11.2981L9.06029 8L12.3584 4.7019L11.2977 3.64124L7.99963 6.93934L4.70153 3.64124L3.64087 4.7019L6.93897 8L3.64087 11.2981L4.70153 12.3588L7.99963 9.06066Z" Fill="#F3465B" />
  164. </Border>
  165. <TextBlock
  166. Margin="8,0,0,0"
  167. FontFamily="Segoe UI"
  168. FontSize="12"
  169. Foreground="#94989C"
  170. LineHeight="20"
  171. Text="Using the AI function" />
  172. </StackPanel>
  173. <Button
  174. Width="284"
  175. Height="40"
  176. Margin="0,32,0,0"
  177. Content="Sign Up For Free"
  178. Command="{Binding GoLoginCommand}"
  179. FontFamily="Segoe UI"
  180. FontSize="16"
  181. FontWeight="SemiBold">
  182. <Button.Style>
  183. <Style TargetType="Button">
  184. <Setter Property="Template" Value="{StaticResource ButtonControlTemplateWithCorner20}" />
  185. <Setter Property="Background" Value="{StaticResource color.btn.sec.bg.norm}" />
  186. <Setter Property="Foreground" Value="{StaticResource color.btn.sec.text.def}" />
  187. <Setter Property="BorderBrush" Value="{StaticResource color.btn.sec.border-color}" />
  188. <Setter Property="BorderThickness" Value="{StaticResource border-width.1}" />
  189. <Style.Triggers>
  190. <Trigger Property="IsDefaulted" Value="true">
  191. <Setter Property="BorderBrush" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" />
  192. </Trigger>
  193. <Trigger Property="IsMouseOver" Value="true">
  194. <Setter Property="Background" Value="{StaticResource color.btn.sec.bg.hov}" />
  195. <Setter Property="BorderBrush" Value="{StaticResource color.btn.sec.border-color}" />
  196. </Trigger>
  197. <Trigger Property="IsPressed" Value="true">
  198. <Setter Property="Background" Value="{StaticResource color.btn.sec.bg.act}" />
  199. <Setter Property="BorderBrush" Value="{StaticResource color.btn.sec.border-color}" />
  200. </Trigger>
  201. <Trigger Property="IsEnabled" Value="false">
  202. <Setter Property="Background" Value="{StaticResource color.btn.sec.bg.dis}" />
  203. <Setter Property="Foreground" Value="{StaticResource color.btn.sec.text.dis}" />
  204. </Trigger>
  205. </Style.Triggers>
  206. </Style>
  207. </Button.Style>
  208. </Button>
  209. </StackPanel>
  210. </Border>
  211. </Grid>
  212. <Grid
  213. Width="348"
  214. Height="467"
  215. Margin="419,100,0,0"
  216. HorizontalAlignment="Left"
  217. VerticalAlignment="Top">
  218. <Border
  219. BorderBrush="#E2E2E2"
  220. BorderThickness="1"
  221. CornerRadius="10">
  222. <StackPanel>
  223. <TextBlock
  224. Margin="32,32,0,0"
  225. FontFamily="Segoe UI"
  226. FontSize="20"
  227. FontWeight="SemiBold"
  228. LineHeight="28"
  229. Text="Register Member" />
  230. <StackPanel Margin="32,16,0,0" Orientation="Horizontal">
  231. <TextBlock
  232. FontFamily="SF Pro Text"
  233. FontSize="32"
  234. FontWeight="SemiBold"
  235. LineHeight="40"
  236. Text="{Binding Textprice}" />
  237. <Border
  238. Width="72"
  239. Height="24"
  240. Margin="8,0,0,0"
  241. Background="#10FF852E"
  242. BorderBrush="#FF852E"
  243. BorderThickness="1"
  244. CornerRadius="4"
  245. Visibility="{Binding Vishalfprice}">
  246. <TextBlock
  247. HorizontalAlignment="Center"
  248. VerticalAlignment="Center"
  249. FontFamily="Segoe UI"
  250. FontSize="14"
  251. FontWeight="SemiBold"
  252. Foreground="#D2621C"
  253. LineHeight="20"
  254. Text="50% OFF" />
  255. </Border>
  256. </StackPanel>
  257. <Separator
  258. Width="284"
  259. Margin="0,42,0,0"
  260. HorizontalAlignment="Center"
  261. Background="#ECECEC"
  262. BorderBrush="#ECECEC"
  263. BorderThickness="1" />
  264. <StackPanel Margin="32,20,0,0" Orientation="Horizontal">
  265. <Border
  266. Width="16"
  267. Height="16"
  268. Margin="0,0,0,4">
  269. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  270. </Border>
  271. <TextBlock
  272. Margin="8,0,0,0"
  273. FontFamily="Segoe UI"
  274. FontSize="12"
  275. Foreground="#252629"
  276. LineHeight="20"
  277. Text="Support efficient batch operation function" />
  278. </StackPanel>
  279. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  280. <Border
  281. Width="16"
  282. Height="16"
  283. Margin="0,0,0,4">
  284. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  285. </Border>
  286. <TextBlock
  287. Margin="8,0,0,0"
  288. FontFamily="Segoe UI"
  289. FontSize="12"
  290. Foreground="#252629"
  291. LineHeight="20"
  292. Text="Support for document compression" />
  293. </StackPanel>
  294. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  295. <Border
  296. Width="16"
  297. Height="16"
  298. Margin="0,0,0,4">
  299. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  300. </Border>
  301. <TextBlock
  302. Margin="8,0,0,0"
  303. FontFamily="Segoe UI"
  304. FontSize="12"
  305. Foreground="#252629"
  306. LineHeight="20"
  307. Text="Create PDF from Microsoft Word, PowerPoint" />
  308. </StackPanel>
  309. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  310. <Border
  311. Width="16"
  312. Height="16"
  313. Margin="0,0,0,4">
  314. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  315. </Border>
  316. <TextBlock
  317. Margin="8,0,0,0"
  318. FontFamily="Segoe UI"
  319. FontSize="12"
  320. Foreground="#252629"
  321. LineHeight="20"
  322. Text="No trial watermark when entering documents" />
  323. </StackPanel>
  324. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  325. <Border
  326. Width="16"
  327. Height="16"
  328. Margin="0,0,0,4">
  329. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  330. </Border>
  331. <TextBlock
  332. Margin="8,0,0,0"
  333. FontFamily="Segoe UI"
  334. FontSize="12"
  335. Foreground="#252629"
  336. LineHeight="20"
  337. Text="No page limit when converting PDF to other" />
  338. </StackPanel>
  339. <StackPanel Margin="32,12,0,0" Orientation="Horizontal">
  340. <Border
  341. Width="16"
  342. Height="16"
  343. Margin="0,0,0,4">
  344. <Path Data="M12.5907 5.46115L7.90651 11.4611C7.7721 11.6333 7.56931 11.7383 7.35114 11.7488C7.13296 11.7592 6.92109 11.674 6.77087 11.5154L3.45508 8.01543L4.54401 6.98381L7.26044 9.85116L11.4084 4.53809L12.5907 5.46115Z" Fill="#1AD598" />
  345. </Border>
  346. <TextBlock
  347. Margin="8,0,0,0"
  348. FontFamily="Segoe UI"
  349. FontSize="12"
  350. Foreground="#252629"
  351. LineHeight="20"
  352. Text="Using the AI function" />
  353. </StackPanel>
  354. <Button
  355. Width="284"
  356. Height="40"
  357. Margin="0,32,0,0"
  358. Command="{Binding LinkstoreCommand}"
  359. Content="Subscribe Now"
  360. FontFamily="Segoe UI"
  361. FontSize="16"
  362. FontWeight="SemiBold"
  363. Style="{StaticResource btn.upgrade}" />
  364. </StackPanel>
  365. </Border>
  366. </Grid>
  367. <Button
  368. Width="Auto"
  369. Height="40"
  370. VerticalAlignment="Bottom"
  371. HorizontalAlignment="Right"
  372. Margin="20"
  373. Command="{Binding RefreshCommand}"
  374. Content="Refresh"
  375. FontFamily="Segoe UI"
  376. FontSize="16"
  377. FontWeight="SemiBold"
  378. Style="{StaticResource btn.upgrade}" />
  379. </Grid>
  380. </UserControl>