Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
System.Windows.Forms.ComboBox のドロップダウン リストをプログラムで現在の値に一時的にロックできるかどうか疑問に思っていました。
逆の方法 (ロックを解除する) も、ロジックに縛られたアプリケーションに役立ちます。
プロパティを試しましたかEnabled:
Enabled
myCombobox.Enabled = false;
?
必要になるまで、「Enabled」プロパティを false に設定できます。