Example #1
0
 public override System.Windows.Forms.Control CreateControlForSource(IEventLogging logging, TechnicalServices.Persistence.SystemPersistence.Presentation.Source source, System.Windows.Forms.Control parent, IPlayerCommand playerCommand, IPresentationClient client)
 {
     PlayerController controller = new PlayerController(source, playerCommand);
     VNCPlayerControl control = new VNCPlayerControl(controller);
     control.Parent = parent;
     parent.Controls.Add(control);
     control.CreateControl();
     return control;
 }
Example #2
0
 internal VNCPlayerControl(PlayerController ctrl)
 {
     m_Controller = ctrl;
     InitializeComponent();
 }