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.
ウィンドウフォームの最小化ボタンと最大化ボタンを無効/削除する必要があります。OpenTK.GameWindow からフォームにアクセスする方法がわかりません。助けていただければ幸いです。
これは一見簡単です:
WindowBorder = WindowBorder.Hidden;
GameWindow は WinForms を使用せず、基盤となるプラットフォームを直接呼び出します (パフォーマンス!)
編集:または、閉じるボタンはそのままにして、最小化/最大化を削除するということですか? これに最も近いのは次のとおりです。
WindowBorder = WindowBorder.Fixed;