示例#1
0
 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;
 }
示例#2
0
 internal PlayerControl(PlayerController ctrl)
 {
     m_Controller = ctrl;
     InitializeComponent();
 }