コード例 #1
0
ファイル: Player.cs プロジェクト: RockOwl/DoubanFMLocal
 public Player(CallbackMethodDelegate callbackPlay)
 {
     this.callbackPlay = callbackPlay;
     player = new WMPLib.WindowsMediaPlayer();
     player.PlayStateChange += new WMPLib._WMPOCXEvents_PlayStateChangeEventHandler(Player_PlayStateChange);
     Volume(30);
 }
コード例 #2
0
ファイル: Downloader.cs プロジェクト: RockOwl/DoubanFMLocal
 public void PushBack(string remotePath, string localPath, CallbackMethodDelegate callbackMethod)
 {
     awaitQueue.Enqueue(new DownloadFileInfo(remotePath, localPath, callbackMethod));
 }
コード例 #3
0
ファイル: Downloader.cs プロジェクト: RockOwl/DoubanFMLocal
 public DownloadFileInfo(string remotePath, string localPath, CallbackMethodDelegate callbackMethod)
 {
     this.remotePath = remotePath;
     this.localPath = localPath;
     this.callbackMethod = callbackMethod;
 }