Esempio n. 1
0
        public FScreenSetup()
        {
            InitializeComponent();
            _screenService = new ScreenService();
            _audioDeviceService = new AudioDeviceService();
            _playListItemService = new PlayListItemService();

            LoadScreens();

            lvScreens.View = View.Details;
            lvScreens.GridLines = true;
            lvScreens.FullRowSelect = true;
        }
Esempio n. 2
0
        public FNewScreenDialogue(PlayerScreen screen)
        {
            InitializeComponent();
            _audioDeviceService = new AudioDeviceService();
            _screenService = new ScreenService();

            if (screen != null)
            {
                Screen = screen;
                tbScreenName.Text = Screen.FriendlyName;
                tbColour.Text = Screen.ColourName;
                cbDefault.Checked = Screen.DefaultScreen;
                _selectedColour = ColorTranslator.FromHtml(screen.ColourName);
            }

            LoadComboBoxes();
        }