form1.FormBorderStyle = FormBorderStyle.FixedSingle;
form1.MaximizeBox = false; form1.MinimizeBox = false;