public override Control CreateControlForSource(IEventLogging logging, Source source, Control parent, IPlayerCommand playerProvider, IPresentationClient client) { PlayerController controller = new PlayerController(source, playerProvider); PlayerControl control = new PlayerControl(controller); control.Parent = parent; parent.Controls.Add(control); control.CreateControl(); return control; }
internal PlayerControl(PlayerController ctrl) { m_Controller = ctrl; InitializeComponent(); }