Beispiel #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="showWallpaper">是否显示壁纸界面</param>
 public MainWindow(bool showWallpaper)
 {
     WebImage.AsynLoadType();
     InitializeComponent();
     InitDB();
     CleanCache();
     if (showWallpaper)
     {
         Wallpaper wall = new Wallpaper(this);
         wall.Show();
     }
     this.Left = (SystemParameters.WorkArea.Size.Width / 4) * 3;
 }