I am trying to do something like this:
PowerShell Code
Double-click the code block to select all.for($i=1;$i -le 3;$i++) { (Get-Variable -Name "datagridview$i").Value.add_CellDoubleClick($test1) }How can I get the value inside "()" to a dynamic variable instead of "$test1" ?
I want to be able to dynamically make CellDoubleClick events instead of static.
Thanks in advance!
/a