Ejemplo n.º 1
0
        /// <summary>
        /// Creates the Services pane in the control panel.
        /// </summary>
        public Services()
        {
            InitializeComponent();
            ServiceManager.PropertyChanged += new PropertyChangedWithValuesEventHandler(ServiceManager_PropertyChanged);
            ServiceManager.Initialized += new EventHandler(ServiceManager_Initialized);

            CloudSyncInterface csi = new CloudSyncInterface();
            Browser.ObjectForScripting = csi;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates the Services pane in the control panel.
        /// </summary>
        public Services()
        {
            InitializeComponent();
            ServiceManager.PropertyChanged      += new PropertyChangedWithValuesEventHandler(ServiceManager_PropertyChanged);
            ServiceManager.Initialized          += new EventHandler(ServiceManager_Initialized);
            ServiceManager.RealtimeDisconnected += new EventHandler(ServiceManager_RealtimeDisconnected);
            ServiceManager.RealtimeConnected    += new EventHandler(ServiceManager_RealtimeConnected);

            CloudSyncInterface csi = new CloudSyncInterface();

            Browser.ObjectForScripting = csi;

            relinkTimer.Interval = new TimeSpan(0, 15, 0);
            relinkTimer.Tick    += new EventHandler(RelinkTimer_Tick);
        }