using BismNormalizer.TabularCompare.Core; using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace BismNormalizer.TabularCompare.UI { public partial class Deployment : Form { private Comparison _comparison; private ComparisonInfo _comparisonInfo; private float _dpiScaleFactor; private DeploymentStatus _deployStatus; private const string _deployRowWorkItem = "Deploy metadata"; ProcessingErrorMessage _errorMessageForm; public Deployment() { InitializeComponent(); } private void Deploy_Load(object sender, EventArgs e) { try { //DPI if (_dpiScaleFactor > 1) { float fudgedDpiScaleFactor = _dpiScaleFactor * Utils.PrimaryFudgeFactor; this.Scale(new SizeF(fudgedDpiScaleFactor, fudgedDpiScaleFactor)); picStatus.Scale(new SizeF(fudgedDpiScaleFactor, fudgedDpiScaleFactor)); gridProcessing.Scale(new SizeF(fudgedDpiScaleFactor * Utils.SecondaryFudgeFactor, fudgedDpiScaleFactor * Utils.SecondaryFudgeFactor)); this.Font = new Font(this.Font.FontFamily, this.Font.Size * fudgedDpiScaleFactor, this.Font.Style); foreach (Control control in Utils.GetChildInControl(this)) //.OfType