This commit is contained in:
@@ -112,6 +112,12 @@
|
|||||||
<Compile Include="Map.Designer.cs">
|
<Compile Include="Map.Designer.cs">
|
||||||
<DependentUpon>Map.cs</DependentUpon>
|
<DependentUpon>Map.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="MapApproveUpdateSelectedItems.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="MapApproveUpdateSelectedItems.Designer.cs">
|
||||||
|
<DependentUpon>MapApproveUpdateSelectedItems.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="MapSelectAyaNovaItem.cs">
|
<Compile Include="MapSelectAyaNovaItem.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -236,6 +242,9 @@
|
|||||||
<EmbeddedResource Include="Map.resx">
|
<EmbeddedResource Include="Map.resx">
|
||||||
<DependentUpon>Map.cs</DependentUpon>
|
<DependentUpon>Map.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="MapApproveUpdateSelectedItems.resx">
|
||||||
|
<DependentUpon>MapApproveUpdateSelectedItems.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="MapSelectAyaNovaItem.resx">
|
<EmbeddedResource Include="MapSelectAyaNovaItem.resx">
|
||||||
<DependentUpon>MapSelectAyaNovaItem.cs</DependentUpon>
|
<DependentUpon>MapSelectAyaNovaItem.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
85
AyaNovaQBI/Map.Designer.cs
generated
85
AyaNovaQBI/Map.Designer.cs
generated
@@ -28,10 +28,10 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||||
this.objectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.objectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.customersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.customersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
@@ -46,7 +46,6 @@
|
|||||||
this.linkSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.linkSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.importSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.importSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.autoLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.autoLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.updateAyaNovaPricesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.gridAya = new System.Windows.Forms.DataGridView();
|
this.gridAya = new System.Windows.Forms.DataGridView();
|
||||||
this.AyaName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.AyaName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.linked = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.linked = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
@@ -58,6 +57,7 @@
|
|||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.updateSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.gridAya)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.gridAya)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.gridQB)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.gridQB)).BeginInit();
|
||||||
@@ -74,8 +74,8 @@
|
|||||||
this.showToolStripMenuItem,
|
this.showToolStripMenuItem,
|
||||||
this.linkSelectedItemsToolStripMenuItem,
|
this.linkSelectedItemsToolStripMenuItem,
|
||||||
this.importSelectedItemsToolStripMenuItem,
|
this.importSelectedItemsToolStripMenuItem,
|
||||||
this.autoLinkToolStripMenuItem,
|
this.updateSelectedItemsToolStripMenuItem,
|
||||||
this.updateAyaNovaPricesToolStripMenuItem});
|
this.autoLinkToolStripMenuItem});
|
||||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.menuStrip1.Name = "menuStrip1";
|
this.menuStrip1.Name = "menuStrip1";
|
||||||
this.menuStrip1.Size = new System.Drawing.Size(783, 24);
|
this.menuStrip1.Size = new System.Drawing.Size(783, 24);
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
this.customersToolStripMenuItem.CheckOnClick = true;
|
this.customersToolStripMenuItem.CheckOnClick = true;
|
||||||
this.customersToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.customersToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.customersToolStripMenuItem.Name = "customersToolStripMenuItem";
|
this.customersToolStripMenuItem.Name = "customersToolStripMenuItem";
|
||||||
this.customersToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.customersToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||||
this.customersToolStripMenuItem.Text = "&Customers";
|
this.customersToolStripMenuItem.Text = "&Customers";
|
||||||
this.customersToolStripMenuItem.Click += new System.EventHandler(this.customersToolStripMenuItem_Click);
|
this.customersToolStripMenuItem.Click += new System.EventHandler(this.customersToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
//
|
//
|
||||||
this.serviceRatesToolStripMenuItem.CheckOnClick = true;
|
this.serviceRatesToolStripMenuItem.CheckOnClick = true;
|
||||||
this.serviceRatesToolStripMenuItem.Name = "serviceRatesToolStripMenuItem";
|
this.serviceRatesToolStripMenuItem.Name = "serviceRatesToolStripMenuItem";
|
||||||
this.serviceRatesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.serviceRatesToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||||
this.serviceRatesToolStripMenuItem.Text = "&Service rates";
|
this.serviceRatesToolStripMenuItem.Text = "&Service rates";
|
||||||
this.serviceRatesToolStripMenuItem.Click += new System.EventHandler(this.serviceRatesToolStripMenuItem_Click);
|
this.serviceRatesToolStripMenuItem.Click += new System.EventHandler(this.serviceRatesToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@@ -116,7 +116,7 @@
|
|||||||
//
|
//
|
||||||
this.travelRatesToolStripMenuItem.CheckOnClick = true;
|
this.travelRatesToolStripMenuItem.CheckOnClick = true;
|
||||||
this.travelRatesToolStripMenuItem.Name = "travelRatesToolStripMenuItem";
|
this.travelRatesToolStripMenuItem.Name = "travelRatesToolStripMenuItem";
|
||||||
this.travelRatesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.travelRatesToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||||
this.travelRatesToolStripMenuItem.Text = "&Travel rates";
|
this.travelRatesToolStripMenuItem.Text = "&Travel rates";
|
||||||
this.travelRatesToolStripMenuItem.Click += new System.EventHandler(this.travelRatesToolStripMenuItem_Click);
|
this.travelRatesToolStripMenuItem.Click += new System.EventHandler(this.travelRatesToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@@ -124,7 +124,7 @@
|
|||||||
//
|
//
|
||||||
this.partsToolStripMenuItem.CheckOnClick = true;
|
this.partsToolStripMenuItem.CheckOnClick = true;
|
||||||
this.partsToolStripMenuItem.Name = "partsToolStripMenuItem";
|
this.partsToolStripMenuItem.Name = "partsToolStripMenuItem";
|
||||||
this.partsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.partsToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||||
this.partsToolStripMenuItem.Text = "&Parts";
|
this.partsToolStripMenuItem.Text = "&Parts";
|
||||||
this.partsToolStripMenuItem.Click += new System.EventHandler(this.partsToolStripMenuItem_Click);
|
this.partsToolStripMenuItem.Click += new System.EventHandler(this.partsToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
//
|
//
|
||||||
this.vendorsToolStripMenuItem.CheckOnClick = true;
|
this.vendorsToolStripMenuItem.CheckOnClick = true;
|
||||||
this.vendorsToolStripMenuItem.Name = "vendorsToolStripMenuItem";
|
this.vendorsToolStripMenuItem.Name = "vendorsToolStripMenuItem";
|
||||||
this.vendorsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.vendorsToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||||
this.vendorsToolStripMenuItem.Text = "&Vendors";
|
this.vendorsToolStripMenuItem.Text = "&Vendors";
|
||||||
this.vendorsToolStripMenuItem.Click += new System.EventHandler(this.vendorsToolStripMenuItem_Click);
|
this.vendorsToolStripMenuItem.Click += new System.EventHandler(this.vendorsToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
this.allItemsToolStripMenuItem.CheckOnClick = true;
|
this.allItemsToolStripMenuItem.CheckOnClick = true;
|
||||||
this.allItemsToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.allItemsToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.allItemsToolStripMenuItem.Name = "allItemsToolStripMenuItem";
|
this.allItemsToolStripMenuItem.Name = "allItemsToolStripMenuItem";
|
||||||
this.allItemsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.allItemsToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
||||||
this.allItemsToolStripMenuItem.Tag = "all";
|
this.allItemsToolStripMenuItem.Tag = "all";
|
||||||
this.allItemsToolStripMenuItem.Text = "&All items";
|
this.allItemsToolStripMenuItem.Text = "&All items";
|
||||||
this.allItemsToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
this.allItemsToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
//
|
//
|
||||||
this.linkedItemsOnlyToolStripMenuItem.CheckOnClick = true;
|
this.linkedItemsOnlyToolStripMenuItem.CheckOnClick = true;
|
||||||
this.linkedItemsOnlyToolStripMenuItem.Name = "linkedItemsOnlyToolStripMenuItem";
|
this.linkedItemsOnlyToolStripMenuItem.Name = "linkedItemsOnlyToolStripMenuItem";
|
||||||
this.linkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.linkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
||||||
this.linkedItemsOnlyToolStripMenuItem.Tag = "linked";
|
this.linkedItemsOnlyToolStripMenuItem.Tag = "linked";
|
||||||
this.linkedItemsOnlyToolStripMenuItem.Text = "&Linked items only";
|
this.linkedItemsOnlyToolStripMenuItem.Text = "&Linked items only";
|
||||||
this.linkedItemsOnlyToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
this.linkedItemsOnlyToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
//
|
//
|
||||||
this.unlinkedItemsOnlyToolStripMenuItem.CheckOnClick = true;
|
this.unlinkedItemsOnlyToolStripMenuItem.CheckOnClick = true;
|
||||||
this.unlinkedItemsOnlyToolStripMenuItem.Name = "unlinkedItemsOnlyToolStripMenuItem";
|
this.unlinkedItemsOnlyToolStripMenuItem.Name = "unlinkedItemsOnlyToolStripMenuItem";
|
||||||
this.unlinkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.unlinkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
||||||
this.unlinkedItemsOnlyToolStripMenuItem.Tag = "unlinked";
|
this.unlinkedItemsOnlyToolStripMenuItem.Tag = "unlinked";
|
||||||
this.unlinkedItemsOnlyToolStripMenuItem.Text = "&Unlinked items only";
|
this.unlinkedItemsOnlyToolStripMenuItem.Text = "&Unlinked items only";
|
||||||
this.unlinkedItemsOnlyToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
this.unlinkedItemsOnlyToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
||||||
@@ -196,28 +196,22 @@
|
|||||||
this.autoLinkToolStripMenuItem.Text = "&Auto link";
|
this.autoLinkToolStripMenuItem.Text = "&Auto link";
|
||||||
this.autoLinkToolStripMenuItem.Click += new System.EventHandler(this.autoLinkToolStripMenuItem_Click);
|
this.autoLinkToolStripMenuItem.Click += new System.EventHandler(this.autoLinkToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// updateAyaNovaPricesToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.updateAyaNovaPricesToolStripMenuItem.Name = "updateAyaNovaPricesToolStripMenuItem";
|
|
||||||
this.updateAyaNovaPricesToolStripMenuItem.Size = new System.Drawing.Size(142, 20);
|
|
||||||
this.updateAyaNovaPricesToolStripMenuItem.Text = "Update AyaNova &prices";
|
|
||||||
//
|
|
||||||
// gridAya
|
// gridAya
|
||||||
//
|
//
|
||||||
this.gridAya.AllowUserToAddRows = false;
|
this.gridAya.AllowUserToAddRows = false;
|
||||||
this.gridAya.AllowUserToDeleteRows = false;
|
this.gridAya.AllowUserToDeleteRows = false;
|
||||||
this.gridAya.AllowUserToResizeRows = false;
|
this.gridAya.AllowUserToResizeRows = false;
|
||||||
dataGridViewCellStyle13.BackColor = System.Drawing.Color.WhiteSmoke;
|
dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
this.gridAya.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13;
|
this.gridAya.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
|
||||||
this.gridAya.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
this.gridAya.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||||
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText;
|
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.WindowText;
|
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.gridAya.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14;
|
this.gridAya.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
||||||
this.gridAya.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.gridAya.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.gridAya.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.gridAya.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.AyaName,
|
this.AyaName,
|
||||||
@@ -264,17 +258,17 @@
|
|||||||
this.gridQB.AllowUserToAddRows = false;
|
this.gridQB.AllowUserToAddRows = false;
|
||||||
this.gridQB.AllowUserToDeleteRows = false;
|
this.gridQB.AllowUserToDeleteRows = false;
|
||||||
this.gridQB.AllowUserToResizeRows = false;
|
this.gridQB.AllowUserToResizeRows = false;
|
||||||
dataGridViewCellStyle15.BackColor = System.Drawing.Color.WhiteSmoke;
|
dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
this.gridQB.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15;
|
this.gridQB.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
|
||||||
this.gridQB.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
this.gridQB.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||||
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
|
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.WindowText;
|
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.gridQB.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
|
this.gridQB.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||||
this.gridQB.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.gridQB.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.gridQB.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.gridQB.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.dataGridViewTextBoxColumn1,
|
this.dataGridViewTextBoxColumn1,
|
||||||
@@ -357,6 +351,13 @@
|
|||||||
this.label2.TabIndex = 6;
|
this.label2.TabIndex = 6;
|
||||||
this.label2.Text = "QuickBooks";
|
this.label2.Text = "QuickBooks";
|
||||||
//
|
//
|
||||||
|
// updateSelectedItemsToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.updateSelectedItemsToolStripMenuItem.Name = "updateSelectedItemsToolStripMenuItem";
|
||||||
|
this.updateSelectedItemsToolStripMenuItem.Size = new System.Drawing.Size(135, 20);
|
||||||
|
this.updateSelectedItemsToolStripMenuItem.Text = "&Update selected items";
|
||||||
|
this.updateSelectedItemsToolStripMenuItem.Click += new System.EventHandler(this.updateSelectedItemsToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
// Map
|
// Map
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@@ -397,7 +398,6 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem linkedItemsOnlyToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem linkedItemsOnlyToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem unlinkedItemsOnlyToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem unlinkedItemsOnlyToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem autoLinkToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem autoLinkToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem updateAyaNovaPricesToolStripMenuItem;
|
|
||||||
private System.Windows.Forms.DataGridView gridAya;
|
private System.Windows.Forms.DataGridView gridAya;
|
||||||
private System.Windows.Forms.DataGridView gridQB;
|
private System.Windows.Forms.DataGridView gridQB;
|
||||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||||
@@ -411,5 +411,6 @@
|
|||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewTextBoxColumn2;
|
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewTextBoxColumn2;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem updateSelectedItemsToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -638,17 +638,14 @@ namespace AyaNovaQBI
|
|||||||
_aya.Rows.Clear();
|
_aya.Rows.Clear();
|
||||||
_qb.Rows.Clear();
|
_qb.Rows.Clear();
|
||||||
|
|
||||||
|
updateSelectedItemsToolStripMenuItem.Visible = false;
|
||||||
|
|
||||||
//Case 147
|
|
||||||
updateAyaNovaPricesToolStripMenuItem.Visible = false;
|
|
||||||
|
|
||||||
switch (_Type)
|
switch (_Type)
|
||||||
{
|
{
|
||||||
|
|
||||||
case AyaType.Customer:
|
case AyaType.Customer:
|
||||||
#region client
|
#region client
|
||||||
|
updateSelectedItemsToolStripMenuItem.Visible = true;
|
||||||
|
|
||||||
foreach (var i in util.AyaClientList)
|
foreach (var i in util.AyaClientList)
|
||||||
{
|
{
|
||||||
@@ -671,7 +668,7 @@ namespace AyaNovaQBI
|
|||||||
break;
|
break;
|
||||||
case AyaType.Vendor:
|
case AyaType.Vendor:
|
||||||
#region Vendor
|
#region Vendor
|
||||||
|
updateSelectedItemsToolStripMenuItem.Visible = true;
|
||||||
|
|
||||||
foreach (var i in util.AyaVendorList)
|
foreach (var i in util.AyaVendorList)
|
||||||
{
|
{
|
||||||
@@ -751,11 +748,7 @@ namespace AyaNovaQBI
|
|||||||
|
|
||||||
case AyaType.Part:
|
case AyaType.Part:
|
||||||
#region Service parts
|
#region Service parts
|
||||||
//case 632
|
updateSelectedItemsToolStripMenuItem.Visible = true;
|
||||||
//gridQB.DisplayLayout.Rows.TemplateAddRow.Hidden=true;
|
|
||||||
|
|
||||||
//Case 147
|
|
||||||
updateAyaNovaPricesToolStripMenuItem.Visible = true;
|
|
||||||
|
|
||||||
foreach (var i in util.AyaPartList)
|
foreach (var i in util.AyaPartList)
|
||||||
{
|
{
|
||||||
@@ -950,8 +943,24 @@ namespace AyaNovaQBI
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion utility stuff
|
#endregion utility stuff
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private void updateSelectedItemsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//Parts in v7 default update would do price / cost both ways in addition to the part description and other fields
|
||||||
|
// however the user could go to map and select to *only* update the prices in AyaNova from QB but not the other fields
|
||||||
|
//for v8 going to simplify this to update all by default still for selected items or optionally pick "Price and cost only"
|
||||||
|
|
||||||
|
//Parts either grid separate checkbox "update Price and cost only" which does that otherwise does price/cost and other fields both ways
|
||||||
|
|
||||||
|
//customers either grid offer to update the opposite
|
||||||
|
|
||||||
|
//vendors either grid offer to update the opposite, this is new functionality
|
||||||
|
|
||||||
|
//Rates are not offered
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
104
AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs
generated
Normal file
104
AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs
generated
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
namespace AyaNovaQBI
|
||||||
|
{
|
||||||
|
partial class MapApproveUpdateSelectedItems
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.btnOK = new System.Windows.Forms.Button();
|
||||||
|
this.btnCancel = new System.Windows.Forms.Button();
|
||||||
|
this.lblUpdateMessage = new System.Windows.Forms.Label();
|
||||||
|
this.ckUpdatePriceCostOnly = new System.Windows.Forms.CheckBox();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// btnOK
|
||||||
|
//
|
||||||
|
this.btnOK.Location = new System.Drawing.Point(372, 132);
|
||||||
|
this.btnOK.Name = "btnOK";
|
||||||
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.btnOK.TabIndex = 21;
|
||||||
|
this.btnOK.Text = "OK";
|
||||||
|
this.btnOK.UseVisualStyleBackColor = true;
|
||||||
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||||
|
//
|
||||||
|
// btnCancel
|
||||||
|
//
|
||||||
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||||
|
this.btnCancel.Location = new System.Drawing.Point(30, 132);
|
||||||
|
this.btnCancel.Name = "btnCancel";
|
||||||
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.btnCancel.TabIndex = 20;
|
||||||
|
this.btnCancel.Text = "Cancel";
|
||||||
|
this.btnCancel.UseVisualStyleBackColor = true;
|
||||||
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||||
|
//
|
||||||
|
// lblUpdateMessage
|
||||||
|
//
|
||||||
|
this.lblUpdateMessage.AutoSize = true;
|
||||||
|
this.lblUpdateMessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.lblUpdateMessage.Location = new System.Drawing.Point(27, 29);
|
||||||
|
this.lblUpdateMessage.Name = "lblUpdateMessage";
|
||||||
|
this.lblUpdateMessage.Size = new System.Drawing.Size(112, 13);
|
||||||
|
this.lblUpdateMessage.TabIndex = 22;
|
||||||
|
this.lblUpdateMessage.Text = "Update selected items";
|
||||||
|
//
|
||||||
|
// ckUpdatePriceCostOnly
|
||||||
|
//
|
||||||
|
this.ckUpdatePriceCostOnly.AutoSize = true;
|
||||||
|
this.ckUpdatePriceCostOnly.Location = new System.Drawing.Point(30, 63);
|
||||||
|
this.ckUpdatePriceCostOnly.Name = "ckUpdatePriceCostOnly";
|
||||||
|
this.ckUpdatePriceCostOnly.Size = new System.Drawing.Size(155, 17);
|
||||||
|
this.ckUpdatePriceCostOnly.TabIndex = 23;
|
||||||
|
this.ckUpdatePriceCostOnly.Text = "Update Price and Cost only";
|
||||||
|
this.ckUpdatePriceCostOnly.UseVisualStyleBackColor = true;
|
||||||
|
this.ckUpdatePriceCostOnly.Visible = false;
|
||||||
|
//
|
||||||
|
// MapApproveUpdateSelectedItems
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(459, 180);
|
||||||
|
this.Controls.Add(this.ckUpdatePriceCostOnly);
|
||||||
|
this.Controls.Add(this.lblUpdateMessage);
|
||||||
|
this.Controls.Add(this.btnOK);
|
||||||
|
this.Controls.Add(this.btnCancel);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||||
|
this.Name = "MapApproveUpdateSelectedItems";
|
||||||
|
this.Text = "Update selected items?";
|
||||||
|
this.Load += new System.EventHandler(this.MapApproveUpdateSelectedItems_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Button btnOK;
|
||||||
|
private System.Windows.Forms.Button btnCancel;
|
||||||
|
private System.Windows.Forms.Label lblUpdateMessage;
|
||||||
|
private System.Windows.Forms.CheckBox ckUpdatePriceCostOnly;
|
||||||
|
}
|
||||||
|
}
|
||||||
49
AyaNovaQBI/MapApproveUpdateSelectedItems.cs
Normal file
49
AyaNovaQBI/MapApproveUpdateSelectedItems.cs
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace AyaNovaQBI
|
||||||
|
{
|
||||||
|
public partial class MapApproveUpdateSelectedItems : Form
|
||||||
|
{
|
||||||
|
public MapApproveUpdateSelectedItems()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ShowUpdatePriceCostOnlyCheckBox { get; set; } = false;
|
||||||
|
|
||||||
|
bool PriceOnly { get
|
||||||
|
{
|
||||||
|
return ckUpdatePriceCostOnly.Checked;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string UpdateMessage { get; set; }
|
||||||
|
|
||||||
|
private void MapApproveUpdateSelectedItems_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ckUpdatePriceCostOnly.Visible = ShowUpdatePriceCostOnlyCheckBox;
|
||||||
|
lblUpdateMessage.Text=UpdateMessage;
|
||||||
|
btnCancel.Text = util.AyaTranslations["Cancel"];
|
||||||
|
btnOK.Text = util.AyaTranslations["OK"];
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnOK_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
DialogResult = DialogResult.OK;
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnCancel_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
DialogResult = DialogResult.Cancel;
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
AyaNovaQBI/MapApproveUpdateSelectedItems.resx
Normal file
120
AyaNovaQBI/MapApproveUpdateSelectedItems.resx
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
Reference in New Issue
Block a user