aa

aa

  • NA
  • 10
  • 0

Need Help with Dynamic Link Label Click Event.

Nov 6 2007 9:58 PM
Hi

I take in a file and filter through the file grabbing certain stuff and then I stick each group of the code into its own file and create a link label for each one.

I now need to be able to make Click events for each of these lables that contain:

A path to the file to of one of the filtered groups. So say I open a file up and it filters a math equation out and puts it into a .txt file located at G:\hold\equation1.txt(equation1.txt is the file name that it will be called).

I want to have a path going to that file for my first equations. So when a user clicks on that first link label it will display that file.

Of course they could have 10 equations in that file that gets filtered out and each one gets its on txt file(so equation1.txt,equation2.txt,etc) all located in G:\hold\equation[insert number here].txt

How do I do this in c#?

How can I go about to do this. For now my paths are absoulte but later on I am going to change them to be relative.