I want to add a parameter to image path.Otherwise,I’ll call those images through a parameter with integer number.
For example:
hamlekullanici.Image = Image.FromFile(@"images\\"+hamlekullanici+".png");
Username -- > hamle
Variable -- > integer
So,I want to show different images according to hamle number.How can I do that?
Can you use string.Format to create the string for the image filename? Something like…
…or have I misunderstood what you’re trying to do?