System::StringからInt32へ
色々探しても見つかりにくいところにあるので
ここにも書けばきっと誰かの役に立つ
int i; System::String^ str = "123"; i = Convert::ToInt32(str);
多分これでいける
以下参照URL
http://msdn.microsoft.com/ja-jp/library/system.convert.toint32.aspx
実際はnumericUpDownでintとして値が取得できると思ったら違ってたので無理やり変換したのでした
int n;
System::String^ HS;
HS = numericUpDown1->Value.ToString();
n = Convert::ToInt32(HS);