Example #1
0
        public XBMCControllerUI(XBMCController controller)
        {
            _controller = controller;
              InitializeComponent();
              Name = controller.UiName;
              Text = controller.UiName;

              _controller.StartFullScreen.ReplaceControls(this, Controls, cbStartFullScreen);
              _controller.UseTVLanguage.ReplaceControls(this, Controls, cbUseTvLanguage);
              _controller.StandbyScreensaver.ReplaceControls(this, Controls, cbStandbyScreensaver);
              _controller.PowerOffOnStandby.ReplaceControls(this, Controls, cbStandbyTvStandby);
              _controller.SendInactiveSource.ReplaceControls(this, Controls, cbInactiveSource);
              _controller.PausePlaybackOnDeactivate.ReplaceControls(this, Controls, cbPauseOnDeactivate);

              SetEnabled(false);
        }
Example #2
0
        public XBMCControllerUI(XBMCController controller)
        {
            _controller = controller;
            InitializeComponent();
            Name = controller.UiName;
            Text = controller.UiName;

            _controller.StartFullScreen.ReplaceControls(this, Controls, cbStartFullScreen);
            _controller.UseTVLanguage.ReplaceControls(this, Controls, cbUseTvLanguage);
            _controller.StandbyScreensaver.ReplaceControls(this, Controls, cbStandbyScreensaver);
            _controller.PowerOffOnStandby.ReplaceControls(this, Controls, cbStandbyTvStandby);
            _controller.SendInactiveSource.ReplaceControls(this, Controls, cbInactiveSource);
            _controller.PausePlaybackOnDeactivate.ReplaceControls(this, Controls, cbPauseOnDeactivate);

            SetEnabled(false);
        }