Font scaling fuckery

This commit is contained in:
2022-07-22 22:53:55 +00:00
parent 07becaee80
commit b536fbb3be
2 changed files with 55 additions and 31 deletions

View File

@@ -30,7 +30,6 @@
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.grid = new System.Windows.Forms.DataGridView();
this.btnOK = new System.Windows.Forms.Button();
this.Object = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Fix = new System.Windows.Forms.DataGridViewButtonColumn();
this.ObjectName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -42,7 +41,10 @@
this.QBListID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.WorkOrderItemId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.WorkOrderId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnOK = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// grid
@@ -67,25 +69,14 @@
this.QBListID,
this.WorkOrderItemId,
this.WorkOrderId});
this.grid.Location = new System.Drawing.Point(12, 12);
this.grid.Location = new System.Drawing.Point(0, 0);
this.grid.Name = "grid";
this.grid.ReadOnly = true;
this.grid.RowHeadersVisible = false;
this.grid.Size = new System.Drawing.Size(1003, 510);
this.grid.Size = new System.Drawing.Size(781, 483);
this.grid.TabIndex = 0;
this.grid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_CellContentClick);
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Location = new System.Drawing.Point(948, 584);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 16;
this.btnOK.Text = "OK";
this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// Object
//
this.Object.DataPropertyName = "ObjectType";
@@ -184,15 +175,35 @@
this.WorkOrderId.Visible = false;
this.WorkOrderId.Width = 93;
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Location = new System.Drawing.Point(701, 526);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 16;
this.btnOK.Text = "OK";
this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// panel1
//
this.panel1.Controls.Add(this.grid);
this.panel1.Controls.Add(this.btnOK);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(784, 561);
this.panel1.TabIndex = 17;
//
// FixInvoiceProblems
//
this.AcceptButton = this.btnOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1027, 619);
this.ClientSize = new System.Drawing.Size(784, 561);
this.ControlBox = false;
this.Controls.Add(this.btnOK);
this.Controls.Add(this.grid);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MinimumSize = new System.Drawing.Size(300, 300);
this.Name = "FixInvoiceProblems";
@@ -200,6 +211,7 @@
this.Text = "Fix problems";
this.Load += new System.EventHandler(this.FixInvoiceProblems_Load);
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -219,5 +231,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn QBListID;
private System.Windows.Forms.DataGridViewTextBoxColumn WorkOrderItemId;
private System.Windows.Forms.DataGridViewTextBoxColumn WorkOrderId;
private System.Windows.Forms.Panel panel1;
}
}