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.
フォームのサイズを変更するときにフォームの幅 (または高さ) を保持する組み込みオプションがあるため、WinForms でフォームの高さ (または幅) のみを変更できますか? カスタム コード ソリューションを探しているのではなく、プロパティ ツールバーのオプションのみを探しています。
たとえば、500px の固定高さの場合: FormMinimumSizeを to0;500およびMaximumSizetoに設定でき5000;500ます。
MinimumSize
0;500
MaximumSize
5000;500