コード例 #1
0
ファイル: Form1.cs プロジェクト: jasherton/RBX-C
        private void ListButton_Click(object sender, EventArgs e)
        {
            if (Navigate == true)
            {
                Dictionary <string, string> siteinfo = Functions.ReturnSiteInfo();
                var songlist = Functions.ReturnSongList(siteinfo);

                //Check if empty
                if (songlist.ToArray().Length == 0)
                {
                    //Nothing there. Failed Request.
                }
                else
                {
                    ShowBrowser();
                    Browser.Hide();
                    ListInfo.Show();
                    Download.Show();
                    DownloadAll.Show();
                    ProgressDisplay.Show();
                    label1.Text = "Music List";

                    ListInfo.DataSource = songlist;
                }
            }
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: jasherton/RBX-C
 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();
 }