diff --git a/AyaNovaQBI/Map.Designer.cs b/AyaNovaQBI/Map.Designer.cs index e78f570..64136ad 100644 --- a/AyaNovaQBI/Map.Designer.cs +++ b/AyaNovaQBI/Map.Designer.cs @@ -28,8 +28,8 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.objectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.customersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -44,12 +44,12 @@ this.autoLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.updateAyaNovaPricesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.grid = new System.Windows.Forms.DataGridView(); + this.mapSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.unmapSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.AyaName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.QBName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.qbid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ayaid = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.mapSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.unmapSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit(); this.SuspendLayout(); @@ -169,17 +169,17 @@ this.grid.AllowUserToAddRows = false; this.grid.AllowUserToDeleteRows = false; this.grid.AllowUserToResizeRows = false; - dataGridViewCellStyle19.BackColor = System.Drawing.Color.WhiteSmoke; - this.grid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle19; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; + this.grid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.grid.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; - dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.AyaName, @@ -194,39 +194,6 @@ this.grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grid.Size = new System.Drawing.Size(800, 426); this.grid.TabIndex = 4; - this.grid.Visible = false; - // - // AyaName - // - this.AyaName.DataPropertyName = "AyaName"; - this.AyaName.HeaderText = "AyaNova name"; - this.AyaName.Name = "AyaName"; - this.AyaName.ReadOnly = true; - this.AyaName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // QBName - // - this.QBName.DataPropertyName = "QBname"; - this.QBName.HeaderText = "QB Name"; - this.QBName.Name = "QBName"; - this.QBName.ReadOnly = true; - this.QBName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // qbid - // - this.qbid.DataPropertyName = "qbid"; - this.qbid.HeaderText = "qbid"; - this.qbid.Name = "qbid"; - this.qbid.ReadOnly = true; - this.qbid.Visible = false; - // - // ayaid - // - this.ayaid.DataPropertyName = "ayid"; - this.ayaid.HeaderText = "ayaid"; - this.ayaid.Name = "ayaid"; - this.ayaid.ReadOnly = true; - this.ayaid.Visible = false; // // mapSelectedItemsToolStripMenuItem // @@ -244,6 +211,38 @@ this.unmapSelectedItemsToolStripMenuItem.Visible = false; this.unmapSelectedItemsToolStripMenuItem.Click += new System.EventHandler(this.unmapSelectedItemsToolStripMenuItem_Click); // + // AyaName + // + this.AyaName.DataPropertyName = "AyaName"; + this.AyaName.HeaderText = "AyaNova name"; + this.AyaName.Name = "AyaName"; + this.AyaName.ReadOnly = true; + this.AyaName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // QBName + // + this.QBName.DataPropertyName = "QBname"; + this.QBName.HeaderText = "Linked to QB object"; + this.QBName.Name = "QBName"; + this.QBName.ReadOnly = true; + this.QBName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // qbid + // + this.qbid.DataPropertyName = "qbid"; + this.qbid.HeaderText = "qbid"; + this.qbid.Name = "qbid"; + this.qbid.ReadOnly = true; + this.qbid.Visible = false; + // + // ayaid + // + this.ayaid.DataPropertyName = "ayaid"; + this.ayaid.HeaderText = "ayaid"; + this.ayaid.Name = "ayaid"; + this.ayaid.ReadOnly = true; + this.ayaid.Visible = false; + // // Map // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -279,11 +278,11 @@ private System.Windows.Forms.ToolStripMenuItem autoLinkToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem updateAyaNovaPricesToolStripMenuItem; private System.Windows.Forms.DataGridView grid; + private System.Windows.Forms.ToolStripMenuItem mapSelectedItemsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem unmapSelectedItemsToolStripMenuItem; private System.Windows.Forms.DataGridViewTextBoxColumn AyaName; private System.Windows.Forms.DataGridViewTextBoxColumn QBName; private System.Windows.Forms.DataGridViewTextBoxColumn qbid; private System.Windows.Forms.DataGridViewTextBoxColumn ayaid; - private System.Windows.Forms.ToolStripMenuItem mapSelectedItemsToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem unmapSelectedItemsToolStripMenuItem; } } \ No newline at end of file