private void btnPause_Click(object sender, EventArgs e)
        {
            _sharedFile.Pause();

            labSpeed.Text = "";
            ShowButtons(true, false, true);
        }
Esempio n. 2
0
        private void linkAction_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            switch (linkAction.Text)
            {
            case "Download":
                _sharedFile.Start();
                break;

            case "Pause":
                _sharedFile.Pause();
                break;

            case "Open":
                openFileToolStripMenuItem_Click(null, null);
                break;
            }
        }