示例#1
0
        private void InitializePlaybackWindowPropertiesControl()
        {
            // add video layout control
            _playbackWindowControl      = new PlaybackWindowPropertiesControl();
            _playbackWindowControl.Dock = DockStyle.Fill;
            WindowLayoutControlPanel.Controls.Add(_playbackWindowControl);

            _playbackWindowControl.LayoutChangedEvent        += new Delegates.LayoutChangedEventHandler(OnPlaybackWindowLayoutChangedEvent);
            _playbackWindowControl.UpdateDisplayDevicesEvent += new Delegates.ActionEventHandler(OnUpdateDisplayDevicesEvent);
            _playbackWindowControl.SkinInfoChanged           += new Delegates.SetSkinInfo(OnSkinInfoChangedEvent);
        }
示例#2
0
        public PlaybackWindowPropertiesForm()
        {
            InitializeComponent();

            _playbackWindowControl      = new PlaybackWindowPropertiesControl();
            _playbackWindowControl.Dock = DockStyle.Fill;
            PlaybackWindowPanel.Controls.Add(_playbackWindowControl);

            _playbackWindowControl.LayoutChangedEvent        += new Delegates.LayoutChangedEventHandler(OnPlaybackWindowLayoutChanged);
            _playbackWindowControl.UpdateDisplayDevicesEvent += new Delegates.ActionEventHandler(OnUpdateDisplayDevicesEvent);
            _playbackWindowControl.SkinInfoChanged           += new Delegates.SetSkinInfo(OnSkinInfoChanged);
        }