My pc resolution is 1920 X 1080 and my colleague pc resolution is 1366 X 768
so when form run in my pc and datagridview comes then no scrollbar is coming but when the same program run in my colleague pc then scrollbar is coming for datagridview. here is a screen shot.
scrollbar is coming when application is running under the resolution 1366 X 768 .
i also mention column width in my code like this way
dgList.Columns.Width = 125; dgList.Columns.Width = 560; dgList.Columns.Width = 86; dgList.Columns.Width = 73; dgList.Columns.Width = 93;
i have checked out few write up for how make winform resolution independent solution. here are the links
but still things not clear how to make a application resolution independent.
please tell me how to design column width for datagridview as a result it always should looks same when run in any resolution.
please guide me. Thanks