This commit is contained in:
2022-07-09 19:24:29 +00:00
parent 38e52c9c6b
commit e4e40a6913
3 changed files with 39 additions and 11 deletions

View File

@@ -48,11 +48,13 @@
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.wonumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ProjectName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ServiceDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.status = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Linked = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.statuscolor = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.customerid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.menuStrip1.SuspendLayout();
@@ -69,7 +71,7 @@
this.exitToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(945, 24);
this.menuStrip1.Size = new System.Drawing.Size(917, 24);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
@@ -208,11 +210,13 @@
this.grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.id,
this.customer,
this.wonumber,
this.ProjectName,
this.ServiceDate,
this.status,
this.Linked,
this.statuscolor,
this.customerid});
this.grid.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -221,7 +225,7 @@
this.grid.Name = "grid";
this.grid.ReadOnly = true;
this.grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.grid.Size = new System.Drawing.Size(945, 450);
this.grid.Size = new System.Drawing.Size(917, 450);
this.grid.TabIndex = 3;
this.grid.Visible = false;
this.grid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.grid_CellFormatting);
@@ -234,9 +238,16 @@
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(945, 474);
this.lblStatus.Size = new System.Drawing.Size(917, 474);
this.lblStatus.TabIndex = 4;
//
// id
//
this.id.HeaderText = "id";
this.id.Name = "id";
this.id.ReadOnly = true;
this.id.Visible = false;
//
// customer
//
this.customer.DataPropertyName = "CustomerName";
@@ -267,14 +278,23 @@
//
// status
//
this.status.DataPropertyName = "Status";
this.status.DataPropertyName = "WorkorderStatusName";
this.status.HeaderText = "Status";
this.status.Name = "status";
this.status.ReadOnly = true;
//
// Linked
//
this.Linked.DataPropertyName = "Linked";
this.Linked.HeaderText = "Linked";
this.Linked.Name = "Linked";
this.Linked.ReadOnly = true;
this.Linked.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.Linked.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// statuscolor
//
this.statuscolor.DataPropertyName = "StatusColor";
this.statuscolor.DataPropertyName = "Color";
this.statuscolor.HeaderText = "statuscolor";
this.statuscolor.Name = "statuscolor";
this.statuscolor.ReadOnly = true;
@@ -294,7 +314,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(945, 474);
this.ClientSize = new System.Drawing.Size(917, 474);
this.Controls.Add(this.grid);
this.Controls.Add(this.menuStrip1);
this.Controls.Add(this.lblStatus);
@@ -331,11 +351,13 @@
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.DataGridView grid;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.DataGridViewTextBoxColumn id;
private System.Windows.Forms.DataGridViewTextBoxColumn customer;
private System.Windows.Forms.DataGridViewTextBoxColumn wonumber;
private System.Windows.Forms.DataGridViewTextBoxColumn ProjectName;
private System.Windows.Forms.DataGridViewTextBoxColumn ServiceDate;
private System.Windows.Forms.DataGridViewTextBoxColumn status;
private System.Windows.Forms.DataGridViewCheckBoxColumn Linked;
private System.Windows.Forms.DataGridViewTextBoxColumn statuscolor;
private System.Windows.Forms.DataGridViewTextBoxColumn customerid;
}