public void ProcessPicture(PictureBatch pb, string config)
        {
            List<Picture> lp = pb.GetPictures(1);
            if (!lp.Any()) return;
            Picture p = lp.First();

            OEMBackgroundManager oembm = new OEMBackgroundManager();
            oembm.SetNewPicture(p);
        }
        public void ProcessPicture(PictureBatch pb, string config)
        {
            List <Picture> lp = pb.GetPictures(1);

            if (!lp.Any())
            {
                return;
            }
            Picture p = lp.First();

            OEMBackgroundManager oembm = new OEMBackgroundManager();

            oembm.SetNewPicture(p);
        }
Exemple #3
0
        static void Main(string[] args)
        {
            OEMBackgroundManager oembm = new OEMBackgroundManager();

            if (args.Contains("/enableoembg"))
            {
                oembm.EnableOEMBackground();
                oembm.CreateDirs();
            }

            if (args.Contains("/disableoembg"))
            {
                oembm.DisableOEMBackground();
            }
        }
Exemple #4
0
        static void Main(string[] args)
        {
            OEMBackgroundManager oembm = new OEMBackgroundManager();

            if (args.Contains("/enableoembg"))
            {
                oembm.EnableOEMBackground();
                oembm.CreateDirs();
            }

            if (args.Contains("/disableoembg"))
            {
                oembm.DisableOEMBackground();
            }
        }