示例#1
0
 private void RefreshCDsButton_Click(object sender, System.EventArgs e)
 {
     // Clear ths listbox if it contains any items
     CDDrivesList.Items.Clear();
     // Add the items to the list
     CDDrivesList.Items.AddRange(PhysFS.GetCDROMDrives());
 }