Beispiel #1
0
        private void linkToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FileLinkDialog fld;

            if (curList == ListType.Computer)
            {
                fld = new FileLinkDialog(listFiles.SelectedItems[0].Text);
            }
            else
            {
                fld = new FileLinkDialog(Path.Combine(curDir.FullName, listFiles.SelectedItems[0].Text));
            }
            fld.ShowDialog();
        }
 private void linkToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FileLinkDialog fld;
     if (curList == ListType.Computer)
     {
         fld = new FileLinkDialog(listFiles.SelectedItems[0].Text);
     }
     else
     {
         fld = new FileLinkDialog(Path.Combine(curDir.FullName, listFiles.SelectedItems[0].Text));
     }
     fld.ShowDialog();
 }