private void listBox1_DoubleClick(object sender, EventArgs e)
{
string file = listBox1.SelectedItem as string;
if (String.IsNullOrEmpty(file))
return;
file = Path.Combine(treeView1.SelectedNode.Name, file);
Process process = Process.Start(@"C:\windows\notepad.exe", file);
process.WaitForExit();
}