windows Display setting
-
How could i manage windows display setting(screen resolution)from win application ? OR how could i set my win application according to screen resolution? salmani
-
How could i manage windows display setting(screen resolution)from win application ? OR how could i set my win application according to screen resolution? salmani
-
thanks but it couldnt be useful for me. I want my windows applications catch some argumans that in which screen resolution user is running this application and set my usercontrol location and size by coding.
-
thanks but it couldnt be useful for me. I want my windows applications catch some argumans that in which screen resolution user is running this application and set my usercontrol location and size by coding.
Haven't we replied to this several times lately? Handle the "resize" event. This is the ONLY option for a form unless you are making something really special - like a kiosk mode application where you need to ensure your application is the only one running on the screen (again, only do this if you KNOW this is the case, if you THINK it - then you are wrong). If it is to run in "kiosk mode", there is apparently a something called "Screen.*" according to previous replies to this (I have no idea if it is a class with static properties or a property on the application or form class).
-
How could i manage windows display setting(screen resolution)from win application ? OR how could i set my win application according to screen resolution? salmani
Hi, Salmani. To set your application according to screen resolution you can use System.Windows.Forms.Screen class which provides information about all displays on the system.
-
How could i manage windows display setting(screen resolution)from win application ? OR how could i set my win application according to screen resolution? salmani
To Get Screen Resoltion this is the code MessageBox.Show(System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width()) MessageBox.Show(System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height()) To set the Screen According to your Resoltuon . you have to use Anchor and Dock properties accordingly as with the help of these you can expand your controls when the form will be maximized or resized. Remember you dont need to code for this only visual control settings required