
PRO
rz90208
USA
Asked
— Edited
I need some help with a plugin I am working on. I am new to C# and OOP. Have went thru the Tutorial and the SDK Tutorials also.
How do I get the values from the form in to my C# code?
public enum LocationType
{
Wall = 255,
Empty = 0,
Destination = 254,
Source = 1
}
public struct Location
{
instead of Wall = 255, how do I get Wall = textBox1.Text. textBox1 being the Textbox name.
Thanks RichardZ
You got it! That's the correct code as posted.
Or since you know the size of the array, you can do this...