Drop a timer onto Customer View form.

Add datagrid view to display the SQL data.
This commit is contained in:
kougyoku 2019-10-11 21:32:24 -07:00
parent 8781c5219d
commit 8353694f8d
1 changed files with 33 additions and 2 deletions

View File

@ -28,19 +28,50 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.dgvCustomerView = new System.Windows.Forms.DataGridView();
this.timer1 = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.dgvCustomerView)).BeginInit();
this.SuspendLayout();
//
// dgvCustomerView
//
this.dgvCustomerView.AllowUserToAddRows = false;
this.dgvCustomerView.AllowUserToDeleteRows = false;
this.dgvCustomerView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvCustomerView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvCustomerView.Font = new System.Drawing.Font("Times New Roman", 20F);
this.dgvCustomerView.Location = new System.Drawing.Point(99, 62);
this.dgvCustomerView.Name = "dgvCustomerView";
this.dgvCustomerView.ReadOnly = true;
this.dgvCustomerView.RowHeadersWidth = 62;
this.dgvCustomerView.RowTemplate.Height = 28;
this.dgvCustomerView.Size = new System.Drawing.Size(924, 559);
this.dgvCustomerView.TabIndex = 0;
//
// timer1
//
this.timer1.Interval = 60000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// frmCustomerView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(1119, 692);
this.Controls.Add(this.dgvCustomerView);
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Name = "frmCustomerView";
this.Text = "RUNWAY FASHION EXCHANGE";
this.Load += new System.EventHandler(this.frmCustomerView_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvCustomerView)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView dgvCustomerView;
private System.Windows.Forms.Timer timer1;
}
}