问题如上: private void FileView_DoubleClick(object sender, System.EventArgs e)
{
try
{
string FullName = FileView.SelectedItems[0].Tag.ToString();
if (FileView.SelectedItems[0].ImageIndex == 1)
{
EditTxt dlgEditTxt = new EditTxt();
dlgEditTxt.lbFullName.Text = FullName;
dlgEditTxt.ShowDialog(this);
}
else
{
if (FileView.SelectedItems[0].ImageIndex == 2)
System.Diagnostics.Process.Start(FullName);
else
{
txtCurPath.Text = FullName;
FillFilesView(FullName);
CurPath.Add(FullName);
}
}
}
catch (Exception E)
{
MessageBox.Show(E.Message.ToString());
}
}
{
try
{
string FullName = FileView.SelectedItems[0].Tag.ToString();
if (FileView.SelectedItems[0].ImageIndex == 1)
{
EditTxt dlgEditTxt = new EditTxt();
dlgEditTxt.lbFullName.Text = FullName;
dlgEditTxt.ShowDialog(this);
}
else
{
if (FileView.SelectedItems[0].ImageIndex == 2)
System.Diagnostics.Process.Start(FullName);
else
{
txtCurPath.Text = FullName;
FillFilesView(FullName);
CurPath.Add(FullName);
}
}
}
catch (Exception E)
{
MessageBox.Show(E.Message.ToString());
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货