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); }
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); }