This commit is contained in:
2022-07-10 00:15:42 +00:00
parent 44ef578b5d
commit 70ce9a07a6
3 changed files with 320 additions and 4 deletions

View File

@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = 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();
@@ -44,9 +45,13 @@
//
// grid
//
this.grid.AllowUserToAddRows = false;
this.grid.AllowUserToDeleteRows = false;
this.grid.AllowUserToResizeRows = false;
this.grid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.grid.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Object,
@@ -58,10 +63,13 @@
this.QBPrice,
this.WorkOrderItemPartId,
this.QBListID});
this.grid.Location = new System.Drawing.Point(2, 3);
this.grid.Location = new System.Drawing.Point(12, 12);
this.grid.Name = "grid";
this.grid.Size = new System.Drawing.Size(1021, 519);
this.grid.ReadOnly = true;
this.grid.RowHeadersVisible = false;
this.grid.Size = new System.Drawing.Size(1003, 510);
this.grid.TabIndex = 0;
this.grid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_CellContentClick);
//
// btnOK
//
@@ -80,13 +88,18 @@
this.Object.HeaderText = "Object";
this.Object.Name = "Object";
this.Object.ReadOnly = true;
this.Object.Width = 63;
//
// Fix
//
this.Fix.DataPropertyName = "Fix";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Fix.DefaultCellStyle = dataGridViewCellStyle4;
this.Fix.HeaderText = "Fix";
this.Fix.Name = "Fix";
this.Fix.ReadOnly = true;
this.Fix.Width = 26;
//
// ObjectName
//
@@ -94,6 +107,7 @@
this.ObjectName.HeaderText = "Name";
this.ObjectName.Name = "ObjectName";
this.ObjectName.ReadOnly = true;
this.ObjectName.Width = 60;
//
// Problem
//
@@ -101,41 +115,52 @@
this.Problem.HeaderText = "Problem";
this.Problem.Name = "Problem";
this.Problem.ReadOnly = true;
this.Problem.Width = 70;
//
// ObjectId
//
this.ObjectId.DataPropertyName = "ObjectId";
this.ObjectId.HeaderText = "ObjectId";
this.ObjectId.Name = "ObjectId";
this.ObjectId.ReadOnly = true;
this.ObjectId.Visible = false;
this.ObjectId.Width = 72;
//
// AyaPrice
//
this.AyaPrice.DataPropertyName = "AyaPrice";
this.AyaPrice.HeaderText = "AyaPrice";
this.AyaPrice.Name = "AyaPrice";
this.AyaPrice.ReadOnly = true;
this.AyaPrice.Visible = false;
this.AyaPrice.Width = 74;
//
// QBPrice
//
this.QBPrice.DataPropertyName = "QBPrice";
this.QBPrice.HeaderText = "QBPrice";
this.QBPrice.Name = "QBPrice";
this.QBPrice.ReadOnly = true;
this.QBPrice.Visible = false;
this.QBPrice.Width = 71;
//
// WorkOrderItemPartId
//
this.WorkOrderItemPartId.DataPropertyName = "WorkOrderItemPartId";
this.WorkOrderItemPartId.HeaderText = "WorkOrderItemPartId";
this.WorkOrderItemPartId.Name = "WorkOrderItemPartId";
this.WorkOrderItemPartId.ReadOnly = true;
this.WorkOrderItemPartId.Visible = false;
this.WorkOrderItemPartId.Width = 132;
//
// QBListID
//
this.QBListID.DataPropertyName = "QBListID";
this.QBListID.HeaderText = "QBListID";
this.QBListID.Name = "QBListID";
this.QBListID.ReadOnly = true;
this.QBListID.Visible = false;
this.QBListID.Width = 74;
//
// FixInvoiceProblems
//
@@ -149,6 +174,7 @@
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MinimumSize = new System.Drawing.Size(300, 300);
this.Name = "FixInvoiceProblems";
this.ShowInTaskbar = false;
this.Text = "Fix problems";
this.Load += new System.EventHandler(this.FixInvoiceProblems_Load);
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();