soman

soman

  • NA
  • 25
  • 0

Hi how to resize the conrols for different resolution?

Mar 24 2005 2:10 AM
Hi, I have developed an application at resolution 1024,768. I am able to adjust the form size for different resolutions, I did that, in paint event method as, private void frmDocumentTracking_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { this.Size = new Size(System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height); } But I am unable control the size of the controls in the form, I tried that by changing the Anchor property, still i am not finding the proper solution for this. plz help me in this regard.. Regards soman.