private void btnSave_Click(object sender, EventArgs e)
 {
     if (objMainClass.CheckForInternetConnection() == false)
     {
         MessageBox.Show("Please check your Internet connection.", "Management Panel");
         return;
     }
     if (SubmitValidation() == false)
     {
         return;
     }
     SaveUserToken();
     ClearFields();
 }
 private void btnSave_Click(object sender, EventArgs e)
 {
     TempPath = "";
     if (objMainClass.CheckForInternetConnection() == false)
     {
         MessageBox.Show("Please check your Internet connection.", "Music Player Update");
         return;
     }
     if (SubmitValidation() == false)
     {
         return;
     }
     panUpload.Visible = true;
     TempPath          = txtPath.Text;
     SaveUpdateVersion();
     //UploadNewVersion();
     bgWorker.RunWorkerAsync();
 }