3

Game window is declared with this code:

Form gameWindow;
...

gameWindow = new Form();
gameWindow.ShowDialog(); 

How to remove resize indicator? I don't want to disable resizing, just to remove this gray icon

enter image description here

ASh
  • 34,632
  • 9
  • 60
  • 82
TheChilliPL
  • 337
  • 1
  • 5
  • 14

2 Answers2

8

change only SizeGripStyle to hidden and keep form resizeable

gameWindow.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
ASh
  • 34,632
  • 9
  • 60
  • 82
1

Set the form border style to FixedSingle.

On the propieties of the form:

enter image description here

Aimnox
  • 895
  • 7
  • 20