This commit is contained in:
34
AyaNovaQBI/FixInvoiceProblems.Designer.cs
generated
34
AyaNovaQBI/FixInvoiceProblems.Designer.cs
generated
@@ -28,7 +28,7 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
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();
|
||||
@@ -40,6 +40,8 @@
|
||||
this.QBPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.WorkOrderItemPartId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.QBListID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.WorkOrderItemId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.WorkOrderId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -62,7 +64,9 @@
|
||||
this.AyaPrice,
|
||||
this.QBPrice,
|
||||
this.WorkOrderItemPartId,
|
||||
this.QBListID});
|
||||
this.QBListID,
|
||||
this.WorkOrderItemId,
|
||||
this.WorkOrderId});
|
||||
this.grid.Location = new System.Drawing.Point(12, 12);
|
||||
this.grid.Name = "grid";
|
||||
this.grid.ReadOnly = true;
|
||||
@@ -93,9 +97,9 @@
|
||||
// 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;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Fix.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.Fix.HeaderText = "Fix";
|
||||
this.Fix.Name = "Fix";
|
||||
this.Fix.ReadOnly = true;
|
||||
@@ -162,6 +166,24 @@
|
||||
this.QBListID.Visible = false;
|
||||
this.QBListID.Width = 74;
|
||||
//
|
||||
// WorkOrderItemId
|
||||
//
|
||||
this.WorkOrderItemId.DataPropertyName = "WorkOrderItemId";
|
||||
this.WorkOrderItemId.HeaderText = "WorkOrderItemId";
|
||||
this.WorkOrderItemId.Name = "WorkOrderItemId";
|
||||
this.WorkOrderItemId.ReadOnly = true;
|
||||
this.WorkOrderItemId.Visible = false;
|
||||
this.WorkOrderItemId.Width = 113;
|
||||
//
|
||||
// WorkOrderId
|
||||
//
|
||||
this.WorkOrderId.DataPropertyName = "WorkOrderId";
|
||||
this.WorkOrderId.HeaderText = "WorkOrderId";
|
||||
this.WorkOrderId.Name = "WorkOrderId";
|
||||
this.WorkOrderId.ReadOnly = true;
|
||||
this.WorkOrderId.Visible = false;
|
||||
this.WorkOrderId.Width = 93;
|
||||
//
|
||||
// FixInvoiceProblems
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
@@ -195,5 +217,7 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn QBPrice;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn WorkOrderItemPartId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn QBListID;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn WorkOrderItemId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn WorkOrderId;
|
||||
}
|
||||
}
|
||||
@@ -144,4 +144,10 @@
|
||||
<metadata name="QBListID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="WorkOrderItemId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="WorkOrderId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -45,8 +45,8 @@ namespace AyaNovaQBI
|
||||
|
||||
lblTitle.Text = AyaItemName;
|
||||
cbQBItems.DataSource = QBItems;
|
||||
cbQBItems.DisplayMember = "name";
|
||||
cbQBItems.ValueMember = "id";
|
||||
cbQBItems.DisplayMember = "FullName";
|
||||
cbQBItems.ValueMember = "ID";
|
||||
btnCancel.Text = util.AyaTranslations["Cancel"];
|
||||
btnOK.Text = util.AyaTranslations["OK"];
|
||||
lblImport.Visible = btnImport.Visible = CanImport;
|
||||
|
||||
@@ -279,6 +279,7 @@ namespace AyaNovaQBI
|
||||
_GridTable.Rows.Add(row);
|
||||
}
|
||||
grid.DataSource = _GridTable;
|
||||
grid.ClearSelection();
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user