How to disable maximize and minimize in windows form with C#

1 Answer

0 votes
namespace WinFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            MaximizeBox = false;
            MinimizeBox = false;
        }
    }
}




/*
 * run:
 *
 * 
 * 
 */

 



answered Aug 14, 2023 by avibootz

Related questions

1 answer 197 views
1 answer 170 views
1 answer 190 views
190 views asked Jul 27, 2023 by avibootz
1 answer 226 views
226 views asked Jul 27, 2023 by avibootz
1 answer 206 views
1 answer 227 views
1 answer 323 views
...