S
Sri
I have developed an application using Compact Framework 1.0 and
migrated to CF2.0.
I am testing it in VGA device.
I have added these 2 lines in the InitializeComponent method.
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
All the controls created in the design time looks correct in the VGA
device(Resolution 480*640). But when I create a control in some other
method at runtime and set the size it looks smaller.
Will the AutoScaleDimensions will not work for all the controls which
are created during runtime? Is there any other way of doing this?
Thanks
Sri
migrated to CF2.0.
I am testing it in VGA device.
I have added these 2 lines in the InitializeComponent method.
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
All the controls created in the design time looks correct in the VGA
device(Resolution 480*640). But when I create a control in some other
method at runtime and set the size it looks smaller.
Will the AutoScaleDimensions will not work for all the controls which
are created during runtime? Is there any other way of doing this?
Thanks
Sri