protected void OnlistBox1Selected(object sender,EventArgs e)
{
try
{
string selectedString=listBox1.SelectedItem.ToString();
string fullFileName=Path.Combine(currentFolderPath,selectedString);
DisplayFileInfo(fullFileName);
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
}
说找不到currentFolderPath这个变量,我前面不是定义了吗?????????