Hi, everyone, I hope to find some answer to my question here. I hope this is the right section... ^^
See, I have a ComboBox, which items are, for example, "2 Years", "5 Years", and "10 Years." In my code, there is one part where one of my buttons has to take note of these values, but int-shaped, if you know what I mean. I've tried Parse and TryParse, but of course they did not work; I think I get zero all the times. So my question is: do I have to...
if (ComboBox.text="2 Years")
return 2;
Or there's a function that could replace this?
Thanks in advance!