lvle 1 год назад
Родитель
Сommit
7187c25091

+ 1 - 1
PDF Office/Views/HomePanel/PromotionContent.xaml

@@ -138,7 +138,7 @@
                 Margin="0,24"
                 VerticalAlignment="Bottom"
                 PreviewMouseLeftButtonDown="ImgeActivity_PreviewMouseLeftButtonDown"
-                Source="C:\\Users\\kdan\\Documents\\PDF Master\\ADTemp\\1.png" />
+                 />
         </Grid>
     </ScrollViewer>
 </UserControl>

+ 4 - 1
PDF Office/Views/HomePanel/PromotionContent.xaml.cs

@@ -56,8 +56,11 @@ namespace PDF_Master.Views.HomePanel
             InitPromotionBanner();
             //LoadPromotionContents();
             ADDispaly();
+            string path = App.CachePath.ADFilePath;
+            string FileName = path + "\\" + 1 + ".png";
+            ImgeActivity.Source =new BitmapImage(new Uri(  path + "\\" + 1 + ".png"));
+
 
-         
         }
 
         private void InitPromotionBanner()