to disable the maximize button, you just set the
MaxButton property to false. If your next question is
disabing the Min button, you just set the MinButton
property to false.