Dock the customer view datagrid neatly into a maximized screen.

This commit is contained in:
kougyoku 2019-10-18 16:13:56 -07:00
parent 6f82609b9a
commit 3c8e380828

View File

@ -32,7 +32,23 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCustomerView)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCustomerView));
this.dgvCustomerView = new System.Windows.Forms.DataGridView(); this.dgvCustomerView = new System.Windows.Forms.DataGridView();
this.timer1 = new System.Windows.Forms.Timer(this.components); this.timer1 = new System.Windows.Forms.Timer(this.components);
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
((System.ComponentModel.ISupportInitialize)(this.dgvCustomerView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvCustomerView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
this.splitContainer4.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// dgvCustomerView // dgvCustomerView
@ -41,13 +57,14 @@
this.dgvCustomerView.AllowUserToDeleteRows = false; this.dgvCustomerView.AllowUserToDeleteRows = false;
this.dgvCustomerView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dgvCustomerView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvCustomerView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvCustomerView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvCustomerView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvCustomerView.Font = new System.Drawing.Font("Times New Roman", 20F); this.dgvCustomerView.Font = new System.Drawing.Font("Times New Roman", 20F);
this.dgvCustomerView.Location = new System.Drawing.Point(99, 62); this.dgvCustomerView.Location = new System.Drawing.Point(0, 0);
this.dgvCustomerView.Name = "dgvCustomerView"; this.dgvCustomerView.Name = "dgvCustomerView";
this.dgvCustomerView.ReadOnly = true; this.dgvCustomerView.ReadOnly = true;
this.dgvCustomerView.RowHeadersWidth = 62; this.dgvCustomerView.RowHeadersWidth = 62;
this.dgvCustomerView.RowTemplate.Height = 28; this.dgvCustomerView.RowTemplate.Height = 28;
this.dgvCustomerView.Size = new System.Drawing.Size(924, 559); this.dgvCustomerView.Size = new System.Drawing.Size(1029, 618);
this.dgvCustomerView.TabIndex = 0; this.dgvCustomerView.TabIndex = 0;
// //
// timer1 // timer1
@ -55,20 +72,87 @@
this.timer1.Interval = 60000; this.timer1.Interval = 60000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
// //
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Size = new System.Drawing.Size(1119, 692);
this.splitContainer1.SplitterDistance = 41;
this.splitContainer1.TabIndex = 1;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.splitContainer3);
this.splitContainer2.Size = new System.Drawing.Size(1074, 692);
this.splitContainer2.SplitterDistance = 1029;
this.splitContainer2.TabIndex = 0;
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(1029, 692);
this.splitContainer3.SplitterDistance = 25;
this.splitContainer3.TabIndex = 0;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.dgvCustomerView);
this.splitContainer4.Size = new System.Drawing.Size(1029, 663);
this.splitContainer4.SplitterDistance = 618;
this.splitContainer4.TabIndex = 0;
//
// frmCustomerView // frmCustomerView
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1119, 692); this.ClientSize = new System.Drawing.Size(1119, 692);
this.ControlBox = false; this.ControlBox = false;
this.Controls.Add(this.dgvCustomerView); this.Controls.Add(this.splitContainer1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Name = "frmCustomerView"; this.Name = "frmCustomerView";
this.Text = "RUNWAY FASHION EXCHANGE"; this.Text = "RUNWAY FASHION EXCHANGE";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmCustomerView_FormClosing);
this.Load += new System.EventHandler(this.frmCustomerView_Load); this.Load += new System.EventHandler(this.frmCustomerView_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvCustomerView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvCustomerView)).EndInit();
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.splitContainer4.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@ -77,5 +161,9 @@
private System.Windows.Forms.DataGridView dgvCustomerView; private System.Windows.Forms.DataGridView dgvCustomerView;
private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.SplitContainer splitContainer3;
private System.Windows.Forms.SplitContainer splitContainer4;
} }
} }