示例#1
0
        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);
        }
示例#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();
            }
        }
示例#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();
            }
        }