Example #1
0
 private void ShowBrowser()
 {
     UploadAsset.Hide();
     FileDialogName.Hide();
     FileDialogOpen.Hide();
     SongInfo.Hide();
     SongName.Hide();
     AuthorInfo.Hide();
     AuthorName.Hide();
     ProgressDisplay.Hide();
     DownloadAll.Hide();
     Download.Hide();
     ListInfo.Hide();
     Browser.Show();
 }
Example #2
0
 private void UploadButton_Click(object sender, EventArgs e)
 {
     ShowBrowser();
     Browser.Hide();
     try
     {
         FileDialogName.Show();
         FileDialogOpen.Show();
         SongInfo.Show();
         SongName.Show();
         AuthorInfo.Show();
         AuthorName.Show();
         UploadAsset.Show();
         label1.Text = "Upload Audio";
     }
     catch
     {
         Console.WriteLine("Failure.");
     }
 }