Do you want to convert the values from the textboxes to an int ?
1 2 3 4 5 6 7 8 9 10 11
try
{
int num1 = Convert::ToInt32(textBox1->Text, 16);
int num2 = Convert::ToInt32(textBox2->Text, 16);
// TO DO - use num1 and num2
}
catch(Exception^ ex)
{
MessageBox::Show(ex->Message);
}