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; }
public PlayerControl(PlayerController controller) : this() { m_Controller = controller; InitZoom(10, 500, m_Controller.StartZoom); }