I was dynamically creating some controls (buttons) at runtime, and I
had to uniquely identify each control button created. I ended up
using GetHash() function, which is fine, but I'm wondering if I can
assign to each button object some property that is not an integer.
such as:
Button ^myButton = gcnew Button();
int UNIQUEButtonNumber = myButton->GetHash(); //works fine, but is
this the only way?
//?? // myButton->param->set("myButton123"); // or something like that