I am working on cellsetgrid which is thirdparty tool. Here i want to increase and decrease the cellset grid hight on button click event. For that i am setting the hight and width according to different resolution. But suppose i am using now 1024 width and 768 height for this my code is working fine,then i changed the resolution 1280 and 920 but it is displaying previous resolution for screen height and width. I am using this code to get current resolution
int deskHeight = Screen.PrimaryScreen.Bounds.Height;
int deskWidth = Screen.PrimaryScreen.Bounds.Width;
but it is not getting changed resolution.if i will do some changes in cs file then it is getting changed resolution.
Posted on behalf of Rajarbind