public frmMetrolinkHost() { //set frmMetroLinkHost scale factor to account for DPI scaling =====PROBLEM===== //AutoScaleWidthMult = (0 + CurrentAutoScaleDimensions.Width) / 96; //AutoScaleHeightMult = (0 + CurrentAutoScaleDimensions.Height) / 96; SettingsIO.XMLReadElements(); //SettingsIO.FinalizeIO(); InitializeComponent(); RebuildForm(); CreateWPFHost(); }