I understand PowerShell but this is my first ever attempt at C# using Visual studio 2013.
I want to be able to click one of my programs, get a description of it and then choose to run it.
So far I have most of what I want but I am stuck on the variable portion.
I think the issue is the variable does not carry into the next code block for lack of a better understanding.
Hope the picture is shown.
I click FindTST radio button and I get my description of what it does in the text box. That part works fine.
After I see what it I want to click run it and have it start the program.
So I have stored it in a variable called path1 but the button that says RunIT does not seem to recognize the variable path1.
My code is below.
to fix it declare this outside of your function and RBFindTST_CheckedChanged shold look like this after.
Open in new window