diff --git a/AyaNovaQBI/MainForm.Designer.cs b/AyaNovaQBI/MainForm.Designer.cs index c37a7e0..065c5ba 100644 --- a/AyaNovaQBI/MainForm.Designer.cs +++ b/AyaNovaQBI/MainForm.Designer.cs @@ -49,10 +49,9 @@ this.grid = new System.Windows.Forms.DataGridView(); this.lblStatus = new System.Windows.Forms.Label(); this.customer = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.wonumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ProjectName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ServiceDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.wonumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.status = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.statuscolor = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.customerid = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -70,7 +69,7 @@ this.exitToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(1283, 24); + this.menuStrip1.Size = new System.Drawing.Size(945, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // @@ -210,10 +209,9 @@ this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.customer, - this.Column1, + this.wonumber, this.ProjectName, this.ServiceDate, - this.wonumber, this.status, this.statuscolor, this.customerid}); @@ -223,7 +221,7 @@ this.grid.Name = "grid"; this.grid.ReadOnly = true; this.grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.grid.Size = new System.Drawing.Size(1283, 450); + this.grid.Size = new System.Drawing.Size(945, 450); this.grid.TabIndex = 3; this.grid.Visible = false; this.grid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.grid_CellFormatting); @@ -236,43 +234,39 @@ 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(1283, 474); + this.lblStatus.Size = new System.Drawing.Size(945, 474); this.lblStatus.TabIndex = 4; // // customer // - this.customer.DataPropertyName = "Customer"; + this.customer.DataPropertyName = "CustomerName"; this.customer.HeaderText = "Customer"; this.customer.Name = "customer"; this.customer.ReadOnly = true; this.customer.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // - // Column1 + // wonumber // - this.Column1.HeaderText = "Column1"; - this.Column1.Name = "Column1"; - this.Column1.ReadOnly = true; + this.wonumber.DataPropertyName = "Serial"; + this.wonumber.HeaderText = "Service number"; + this.wonumber.Name = "wonumber"; + this.wonumber.ReadOnly = true; + this.wonumber.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // // ProjectName // - this.ProjectName.HeaderText = "Column2"; + this.ProjectName.DataPropertyName = "ProjectName"; + this.ProjectName.HeaderText = "Project"; this.ProjectName.Name = "ProjectName"; this.ProjectName.ReadOnly = true; // // ServiceDate // - this.ServiceDate.HeaderText = "Column2"; + this.ServiceDate.DataPropertyName = "ServiceDate"; + this.ServiceDate.HeaderText = "Service date"; this.ServiceDate.Name = "ServiceDate"; this.ServiceDate.ReadOnly = true; // - // wonumber - // - this.wonumber.DataPropertyName = "ServiceNumber"; - this.wonumber.HeaderText = "Service number"; - this.wonumber.Name = "wonumber"; - this.wonumber.ReadOnly = true; - this.wonumber.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // // status // this.status.DataPropertyName = "Status"; @@ -303,7 +297,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1283, 474); + this.ClientSize = new System.Drawing.Size(945, 474); this.Controls.Add(this.grid); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.lblStatus); @@ -341,10 +335,9 @@ private System.Windows.Forms.DataGridView grid; private System.Windows.Forms.Label lblStatus; private System.Windows.Forms.DataGridViewTextBoxColumn customer; - private System.Windows.Forms.DataGridViewTextBoxColumn Column1; + private System.Windows.Forms.DataGridViewTextBoxColumn wonumber; private System.Windows.Forms.DataGridViewTextBoxColumn ProjectName; private System.Windows.Forms.DataGridViewTextBoxColumn ServiceDate; - private System.Windows.Forms.DataGridViewTextBoxColumn wonumber; private System.Windows.Forms.DataGridViewTextBoxColumn status; private System.Windows.Forms.DataGridViewTextBoxColumn statuscolor; private System.Windows.Forms.DataGridViewTextBoxColumn customerid; diff --git a/AyaNovaQBI/MainForm.resx b/AyaNovaQBI/MainForm.resx index 724b0b8..ee0d06c 100644 --- a/AyaNovaQBI/MainForm.resx +++ b/AyaNovaQBI/MainForm.resx @@ -123,18 +123,12 @@ True - + True True - - True - - - True - True