예제 #1
0
 public override System.Windows.Forms.Control CreateControlForSource(
     TechnicalServices.Interfaces.IEventLogging logging,
     TechnicalServices.Persistence.SystemPersistence.Presentation.Source source,
     System.Windows.Forms.Control parent,
     TechnicalServices.Interfaces.ConfigModule.Player.IPlayerCommand playerProvider,
     TechnicalServices.Interfaces.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
 public PlayerControl(PlayerController controller)
     : this()
 {
     m_Controller = controller;
     InitZoom(10, 500);
 }