コード例 #1
0
 public void connectedToPlaylist(PlaylistUserControl _playlistUserControl)
 {
     if (_playlistUserControl != null)
     {
         _playlistUserControl.OnEnableServerTrackCommandsHandler += new PlaylistUserControl.EnableServerTrackCommandsHandler(enableServerTrackCommandsHandler);
         _playlistUserControl.OnServerConnectionChanged          += new PlaylistUserControl.ServerConnectionChanged(serverConnectionChanged);
         this.checkPMSConnection();
     }
 }
コード例 #2
0
 public void disconnectedFromPlaylist(PlaylistUserControl _playlistUserControl)
 {
     if (_playlistUserControl != null)
     {
         _playlistUserControl.OnEnableServerTrackCommandsHandler -= new PlaylistUserControl.EnableServerTrackCommandsHandler(enableServerTrackCommandsHandler);
         _playlistUserControl.OnServerConnectionChanged          -= new PlaylistUserControl.ServerConnectionChanged(serverConnectionChanged);
         PMSServer = null;
         this.checkPMSConnection();
     }
 }