public virtual void PicPosChangedEvent(PicPosChangedEventArgs e)
 {
     EventHandler<PicPosChangedEventArgs> handler = PicPosChanged;
     if(handler != null)
     {
         handler(this, e);
     }
 }
        public virtual void PicPosChangedEvent(PicPosChangedEventArgs e)
        {
            EventHandler <PicPosChangedEventArgs> handler = PicPosChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 private void PicPosChangedHandler(object sender, PicPosChangedEventArgs e)
 {
     if (wnd == null) return;
     if(sender == this.landscapeWallpaperPicker)
     {
         this.landscapeWallpaperPicker.changePicPosButtonText.Text = this.landscapeWallpaperPicker.changePicPosButtonText.Text.t(wnd.lang);
         DWAS2Helper.SetPicPosConfig(PicMode.Wallpaper, Orientation.Landscape, wnd, e.NewPicPos);
     }
     else if(sender == this.portraitWallpaperPicker)
     {
         this.portraitWallpaperPicker.changePicPosButtonText.Text = this.portraitWallpaperPicker.changePicPosButtonText.Text.t(wnd.lang);
         DWAS2Helper.SetPicPosConfig(PicMode.Wallpaper, Orientation.Portrait, wnd, e.NewPicPos);
     }
     wnd.config.SaveConfig();
     wnd.UpdateWallpaper();
 }