Ejemplo n.º 1
0
        public void resetHintWindow()
        {
            if (hintWindow != null)
            {
                //NOTE: here also will call completeHint_FormClosed !!!
                hintWindow.Close();
            }

            hintWindow = null;
        }
Ejemplo n.º 2
0
        public void showAlbumCompleteHint()
        {
            //open hint window
            if (hintWindow == null)
            {
                hintWindow = new completeHint();
            }
            hintWindow.Owner = this;
            hintWindow.initParameter(txbSaveTo.Text);
            hintWindow.Show();

            //add timer to close window after several seconds
            closeWindowTimer          = new System.Windows.Forms.Timer();
            closeWindowTimer.Interval = 5000;
            closeWindowTimer.Tick    += new EventHandler(closeHintWindow);
            closeWindowTimer.Start();
        }
Ejemplo n.º 3
0
        private void frmDownloadSonstasteMusic_Load(object sender, EventArgs e)
        {
            hintWindow = null;

            //update version string
            this.Text += " v" + getCurVerStr();

            downloadMode = downloadMode_t.PLAYING;
            if (downloadMode == downloadMode_t.PLAYING)
            {
                tctDownloadType.SelectTab(tpgPlaying);
            }
            else if (downloadMode == downloadMode_t.SINGLEURL)
            {
                tctDownloadType.SelectTab(tpgPlaying);
            }

            loadSetting();

            validateSaveFolder();
        }
        private void frmDownloadSonstasteMusic_Load(object sender, EventArgs e)
        {
            hintWindow = null;

            //update version string
            this.Text += " v" + getCurVerStr();

            downloadMode = downloadMode_t.PLAYING;
            if (downloadMode == downloadMode_t.PLAYING)
            {
                tctDownloadType.SelectTab(tpgPlaying);
            }
            else if (downloadMode == downloadMode_t.SINGLEURL)
            {
                tctDownloadType.SelectTab(tpgPlaying);
            }

            loadSetting();

            validateSaveFolder();
        }
        public void showCompleteHint()
        {
            //open hint window
            if (hintWindow == null)
            {
                hintWindow = new completeHint();
            }
            hintWindow.Owner = this;
            hintWindow.initParameter(curFullFilename, txbSaveTo.Text);
            hintWindow.Show();

            //add timer to close window after several seconds
            closeWindowTimer = new System.Windows.Forms.Timer();
            closeWindowTimer.Interval = 5000;
            closeWindowTimer.Tick += new EventHandler(closeHintWindow);
            closeWindowTimer.Start();
        }
        public void resetHintWindow()
        {
            if (hintWindow != null)
            {
                //NOTE: here also will call completeHint_FormClosed !!!
                hintWindow.Close();
            }

            hintWindow = null;
        }