예제 #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);
        }
예제 #2
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);
        }
예제 #3
0
파일: Program.cs 프로젝트: patricker/Pulse
        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();
            }
        }