소스 검색

远程广告优化

lvle 1 년 전
부모
커밋
7187c25091
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      PDF Office/Views/HomePanel/PromotionContent.xaml
  2. 4 1
      PDF Office/Views/HomePanel/PromotionContent.xaml.cs

+ 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()