コード例 #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
ファイル: PlayerControl.cs プロジェクト: AlexSneg/VIRD-1.0
 public PlayerControl(PlayerController controller)
     : this()
 {
     m_Controller = controller;
 }