掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
文字列を変数名にするには? (ID:64599)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
Form::Controls::Findで探せるらしい。 http://msdn2.microsoft.com/ja-jp/library/system.windows.forms.control.controlcollection.find(VS.80).aspx array<Control^>^ ctls = this->Controls->Find("CheckBox1"); if (ctls != nullptr && ctls.Length == 1) { CheckBox^ chk = static_cast<CheckBox^>(ctls[0]); if (chk->Checked){} }
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.