_ApplicationBut ton[x].Click += new System.EventHan dler( Process.Start(s r.ReadLine()));
this gives me a method error is there another way to do this
User Profile
Collapse
Profile Sidebar
Collapse
JOhn Donnelly
Last Activity: Mar 9 '12, 03:23 PM
Joined: Mar 5 '12
Location:
-
creating a click event for button array
-
How to use True False value to create buttons
in C#
I have a file that has Button name on one line next line is what i want the button to do and the third line has a true or false value on wether to create the button or not. The file is populated from a grid view that part works fine the button name works fine but i cant get the button click to read to work or the true false can anybody help
text file looks like this
Mahjong
C:\Program Files\Microsoft Games\Mahjong\M ahjong.exe... -
add click event to button array
i want to add a differnt click event for each button created in the array i want the click event to do a process.start(s treamreader.rea dLine) every third line in the file has the location of a file chosen by a file dialog box i want each button to read the corisponding line assoicated with the button
it works with the button name but not with the click event
code
_ApplicationBut ton[x] = new Telerik.WinCont rols.UI.RadButt on();...
No activity results to display
Show More