


However, the solution is not satisfying as it does not solves the problem, only identifying the cause. The cause is that the code might have been edited in a computer with different resolution. I realize when I change the resolution from 150% to 125% and reopen the application, the controls are back in the correct place due to the windows form is now having a larger scaling size. change a datagridview's tabStop property value from true to false) and discovered some lines/properties were added/changed automatically in the. Designer.cs file before and after I perform a minor property change (e.g.

Whenever I do a little change to any properties of datagridview or add new events, the size of the controls grows larger to the right and bottom side and causes some part of the controls to go out of bounds. I have a Windows form which consists of 3 files:
