Beispiel #1
0
        public void downloadPlayingStMusic()
        {
            songtaste st        = new songtaste();
            string    curSongId = "";

            //find current playing st music
            if (st.getCurPlayingSongId(out curSongId))
            {
                showTip("当前正在播放的Songtaste歌曲的Id为:" + Environment.NewLine + curSongId);

                if (downloadSingleStMusic(curSongId, txbSaveTo.Text))
                {
                    showCompleteHint();
                }
            }
            else
            {
                showTip("找不到当前正在播放的Songtaste歌曲!");
            }
        }
        public void downloadPlayingStMusic()
        {
            songtaste st = new songtaste();
            string curSongId = "";

            //find current playing st music
            if (st.getCurPlayingSongId(out curSongId))
            {
                showTip("当前正在播放的Songtaste歌曲的Id为:" + Environment.NewLine + curSongId);

                if(downloadSingleStMusic(curSongId, txbSaveTo.Text))
                {
                    showCompleteHint();
                }
            }
            else
            {
                showTip("找不到当前正在播放的Songtaste歌曲!");
            }
        }
        //KeyboardHook hook = new KeyboardHook();
        public frmDownloadSongtasteMusic()
        {
            InitializeComponent();

            st = new songtaste();
        }
Beispiel #4
0
        //KeyboardHook hook = new KeyboardHook();

        public frmDownloadSongtasteMusic()
        {
            InitializeComponent();

            st = new songtaste();
        }