Example #1
0
        public InputHTTPKayak(ContentManagerCore core)
        {
            this.core = core;
            this.setup(null);
            //this.start();

            serverThread = new Thread(startThread);
            serverThread.Start();
            HttpRequestHead r;
        }
        public UIMain()
        {
            System.Diagnostics.Debugger.Launch();
            core = ContentManagerCore.getInstance();
            InitializeComponent();
            Instance = this;


            core.engine.onBroadcast += new BroadcastEngine.OutputEvent(engine_onBroadcast);
        }
Example #3
0
        public UIMain()
        {


            uidebug = new UIDebug();
            //CMSConfig.load
            loadconfig();
            
            //Init core
            core = ContentManagerCore.getInstance();

            

            InitializeComponent();
            Instance = this;
            this.Topmost = false;
            if (ContentManagerCore.debug)
                UIMain.errorAdd("DEBUG mode activated");
            else
                UIMain.errorAdd("DEBUG mode not activated");

            printVersion();

            loadPreviewAvailableSlides();

            uicartedit = new UICartEdit();
            //uicartedit.Show();

            core.engine.onBroadcast += new BroadcastEngine.OutputEvent(engine_onBroadcast);
            
            timerRemain = new DispatcherTimer();
            timerRemain.Interval = TimeSpan.FromMilliseconds(100);
            timerRemain.Tick += new EventHandler(timerRemain_Tick);
            timerRemain.Start();

            this.hotslides.loadSlides();
            this.onaircart.setEvents();
            this.onaircart.refreshSlideCartList();
            this.hotvars.refreshVarCarts();

            if (CMSConfig.ftp.Count == 0)
            {
                noFtpLabel.Visibility = System.Windows.Visibility.Visible;
                noFtpLabel2.Visibility = System.Windows.Visibility.Visible;
                panel2.Background = Brushes.Maroon;
            }


            if(CMSConfig.stationimage !="")
                stationPic.Source = new BitmapImage(new Uri(CMSConfig.stationimage));
        }
 public InputHTTPAction(ContentManagerCore core)
 {
     this.core = core;
 }
 public InputHTTP(ContentManagerCore core)
 {
     this.core = core;
     this.setup(null);
     this.start();
 }