From d80c4008199efdf9695e6264124f87cccdf17416 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 13 Jul 2022 22:59:52 +0000 Subject: [PATCH] --- AyaNovaQBI/MainForm.Designer.cs | 26 +++++++++++++------------- AyaNovaQBI/MainForm.cs | 3 +-- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/AyaNovaQBI/MainForm.Designer.cs b/AyaNovaQBI/MainForm.Designer.cs index 49ed402..196f131 100644 --- a/AyaNovaQBI/MainForm.Designer.cs +++ b/AyaNovaQBI/MainForm.Designer.cs @@ -47,7 +47,6 @@ this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.grid = new System.Windows.Forms.DataGridView(); - this.lblStatus = new System.Windows.Forms.Label(); this.id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.customer = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Serial = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -57,6 +56,7 @@ this.Linked = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.statuscolor = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.customerid = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.lblStatus = new System.Windows.Forms.Label(); this.menuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit(); this.SuspendLayout(); @@ -230,17 +230,6 @@ this.grid.Visible = false; this.grid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.grid_CellFormatting); // - // lblStatus - // - this.lblStatus.BackColor = System.Drawing.SystemColors.Window; - this.lblStatus.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblStatus.ForeColor = System.Drawing.SystemColors.WindowText; - this.lblStatus.Location = new System.Drawing.Point(0, 0); - this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(917, 474); - this.lblStatus.TabIndex = 4; - // // id // this.id.DataPropertyName = "Id"; @@ -312,14 +301,25 @@ this.customerid.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.customerid.Visible = false; // + // lblStatus + // + this.lblStatus.BackColor = System.Drawing.SystemColors.Window; + this.lblStatus.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblStatus.ForeColor = System.Drawing.SystemColors.WindowText; + this.lblStatus.Location = new System.Drawing.Point(0, 24); + this.lblStatus.Name = "lblStatus"; + this.lblStatus.Size = new System.Drawing.Size(917, 450); + this.lblStatus.TabIndex = 4; + // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(917, 474); this.Controls.Add(this.grid); - this.Controls.Add(this.menuStrip1); this.Controls.Add(this.lblStatus); + this.Controls.Add(this.menuStrip1); this.MainMenuStrip = this.menuStrip1; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; diff --git a/AyaNovaQBI/MainForm.cs b/AyaNovaQBI/MainForm.cs index 8296005..8bb8f1c 100644 --- a/AyaNovaQBI/MainForm.cs +++ b/AyaNovaQBI/MainForm.cs @@ -60,8 +60,7 @@ namespace AyaNovaQBI } //Display billable workorders await InitInvoices(); - - grid.Visible = true; + menuStrip1.Enabled = true; }