This commit is contained in:
125
AyaNovaQBI/Map.Designer.cs
generated
125
AyaNovaQBI/Map.Designer.cs
generated
@@ -48,16 +48,16 @@
|
||||
this.autoLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.updateAyaNovaPricesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.gridAya = new System.Windows.Forms.DataGridView();
|
||||
this.gridQB = new System.Windows.Forms.DataGridView();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.AyaName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.linked = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.gridQB = new System.Windows.Forms.DataGridView();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridAya)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridQB)).BeginInit();
|
||||
@@ -100,7 +100,7 @@
|
||||
this.customersToolStripMenuItem.CheckOnClick = true;
|
||||
this.customersToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.customersToolStripMenuItem.Name = "customersToolStripMenuItem";
|
||||
this.customersToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.customersToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.customersToolStripMenuItem.Text = "&Customers";
|
||||
this.customersToolStripMenuItem.Click += new System.EventHandler(this.customersToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -108,7 +108,7 @@
|
||||
//
|
||||
this.serviceRatesToolStripMenuItem.CheckOnClick = true;
|
||||
this.serviceRatesToolStripMenuItem.Name = "serviceRatesToolStripMenuItem";
|
||||
this.serviceRatesToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.serviceRatesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.serviceRatesToolStripMenuItem.Text = "&Service rates";
|
||||
this.serviceRatesToolStripMenuItem.Click += new System.EventHandler(this.serviceRatesToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -116,7 +116,7 @@
|
||||
//
|
||||
this.travelRatesToolStripMenuItem.CheckOnClick = true;
|
||||
this.travelRatesToolStripMenuItem.Name = "travelRatesToolStripMenuItem";
|
||||
this.travelRatesToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.travelRatesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.travelRatesToolStripMenuItem.Text = "&Travel rates";
|
||||
this.travelRatesToolStripMenuItem.Click += new System.EventHandler(this.travelRatesToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -124,7 +124,7 @@
|
||||
//
|
||||
this.partsToolStripMenuItem.CheckOnClick = true;
|
||||
this.partsToolStripMenuItem.Name = "partsToolStripMenuItem";
|
||||
this.partsToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.partsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.partsToolStripMenuItem.Text = "&Parts";
|
||||
this.partsToolStripMenuItem.Click += new System.EventHandler(this.partsToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -132,7 +132,7 @@
|
||||
//
|
||||
this.vendorsToolStripMenuItem.CheckOnClick = true;
|
||||
this.vendorsToolStripMenuItem.Name = "vendorsToolStripMenuItem";
|
||||
this.vendorsToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.vendorsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.vendorsToolStripMenuItem.Text = "&Vendors";
|
||||
this.vendorsToolStripMenuItem.Click += new System.EventHandler(this.vendorsToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -152,7 +152,8 @@
|
||||
this.allItemsToolStripMenuItem.CheckOnClick = true;
|
||||
this.allItemsToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.allItemsToolStripMenuItem.Name = "allItemsToolStripMenuItem";
|
||||
this.allItemsToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
||||
this.allItemsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.allItemsToolStripMenuItem.Tag = "all";
|
||||
this.allItemsToolStripMenuItem.Text = "&All items";
|
||||
this.allItemsToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -160,7 +161,8 @@
|
||||
//
|
||||
this.linkedItemsOnlyToolStripMenuItem.CheckOnClick = true;
|
||||
this.linkedItemsOnlyToolStripMenuItem.Name = "linkedItemsOnlyToolStripMenuItem";
|
||||
this.linkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
||||
this.linkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.linkedItemsOnlyToolStripMenuItem.Tag = "linked";
|
||||
this.linkedItemsOnlyToolStripMenuItem.Text = "&Linked items only";
|
||||
this.linkedItemsOnlyToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -168,7 +170,8 @@
|
||||
//
|
||||
this.unlinkedItemsOnlyToolStripMenuItem.CheckOnClick = true;
|
||||
this.unlinkedItemsOnlyToolStripMenuItem.Name = "unlinkedItemsOnlyToolStripMenuItem";
|
||||
this.unlinkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
|
||||
this.unlinkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.unlinkedItemsOnlyToolStripMenuItem.Tag = "unlinked";
|
||||
this.unlinkedItemsOnlyToolStripMenuItem.Text = "&Unlinked items only";
|
||||
this.unlinkedItemsOnlyToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -229,6 +232,31 @@
|
||||
this.gridAya.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gridAya_CellClick);
|
||||
this.gridAya.SelectionChanged += new System.EventHandler(this.gridAya_SelectionChanged);
|
||||
//
|
||||
// AyaName
|
||||
//
|
||||
this.AyaName.DataPropertyName = "name";
|
||||
this.AyaName.HeaderText = "Name";
|
||||
this.AyaName.Name = "AyaName";
|
||||
this.AyaName.ReadOnly = true;
|
||||
this.AyaName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// linked
|
||||
//
|
||||
this.linked.DataPropertyName = "linked";
|
||||
this.linked.HeaderText = "Linked to";
|
||||
this.linked.Name = "linked";
|
||||
this.linked.ReadOnly = true;
|
||||
this.linked.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.linked.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.DataPropertyName = "id";
|
||||
this.id.HeaderText = "id";
|
||||
this.id.Name = "id";
|
||||
this.id.ReadOnly = true;
|
||||
this.id.Visible = false;
|
||||
//
|
||||
// gridQB
|
||||
//
|
||||
this.gridQB.AllowDrop = true;
|
||||
@@ -261,6 +289,30 @@
|
||||
this.gridQB.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gridQB_CellClick);
|
||||
this.gridQB.SelectionChanged += new System.EventHandler(this.gridQB_SelectionChanged);
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "name";
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "Name";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "linked";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "Linked";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.DataPropertyName = "id";
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "id";
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn3.Visible = false;
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -304,55 +356,6 @@
|
||||
this.label2.TabIndex = 6;
|
||||
this.label2.Text = "QuickBooks";
|
||||
//
|
||||
// AyaName
|
||||
//
|
||||
this.AyaName.DataPropertyName = "name";
|
||||
this.AyaName.HeaderText = "Name";
|
||||
this.AyaName.Name = "AyaName";
|
||||
this.AyaName.ReadOnly = true;
|
||||
this.AyaName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// linked
|
||||
//
|
||||
this.linked.DataPropertyName = "linked";
|
||||
this.linked.HeaderText = "Linked to";
|
||||
this.linked.Name = "linked";
|
||||
this.linked.ReadOnly = true;
|
||||
this.linked.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.linked.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.DataPropertyName = "id";
|
||||
this.id.HeaderText = "id";
|
||||
this.id.Name = "id";
|
||||
this.id.ReadOnly = true;
|
||||
this.id.Visible = false;
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "name";
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "Name";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "linked";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "Linked";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.DataPropertyName = "id";
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "id";
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn3.Visible = false;
|
||||
//
|
||||
// Map
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
||||
@@ -422,6 +422,40 @@ namespace AyaNovaQBI
|
||||
else
|
||||
tempItemp.Checked = false;
|
||||
}
|
||||
switch (item.Tag.ToString())
|
||||
{
|
||||
case "all":
|
||||
{
|
||||
if (_currentView != viewtypes.All)
|
||||
{
|
||||
_currentView = viewtypes.All;
|
||||
Initialize();
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
case "linked":
|
||||
{
|
||||
if (_currentView != viewtypes.Linked)
|
||||
{
|
||||
_currentView = viewtypes.Linked;
|
||||
Initialize();
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
case "unlinked":
|
||||
{
|
||||
if (_currentView != viewtypes.Unlinked)
|
||||
{
|
||||
_currentView = viewtypes.Unlinked;
|
||||
Initialize();
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user