Example #1
0
        private void addaudioebtn_Click(object sender, EventArgs e)
        {
            if (user.uploading) MessageBox.Show("An upload is already in progress. Please wait for the upload to finish", "Please Wait", MessageBoxButtons.OK);
            else
            {
                upload frm = new upload();
                frm.ShowDialog();

                //refresh the picture view list box
                audioloadingindicator.Visible = true;
                audioloadingindicator.Active = true;
                showaudios(user.currentplaylistid);
                audioloadingindicator.Active = false;
                audioloadingindicator.Visible = false;
                //end refresh
            }
        }
Example #2
0
        private void addaudioebtn_Click(object sender, EventArgs e)
        {
            if (user.uploading)
            {
                MessageBox.Show("An upload is already in progress. Please wait for the upload to finish", "Please Wait", MessageBoxButtons.OK);
            }
            else
            {
                upload frm = new upload();
                frm.ShowDialog();

                //refresh the picture view list box
                audioloadingindicator.Visible = true;
                audioloadingindicator.Active  = true;
                showaudios(user.currentplaylistid);
                audioloadingindicator.Active  = false;
                audioloadingindicator.Visible = false;
                //end refresh
            }
        }