Remove timer from customer view

This commit is contained in:
kougyoku 2019-11-07 09:45:34 -08:00
parent d218b5e981
commit e7d5a61c19
3 changed files with 0 additions and 17 deletions

View File

@ -28,10 +28,8 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
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.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer(); this.splitContainer3 = new System.Windows.Forms.SplitContainer();
@ -70,11 +68,6 @@
this.dgvCustomerView.Size = new System.Drawing.Size(1029, 583); this.dgvCustomerView.Size = new System.Drawing.Size(1029, 583);
this.dgvCustomerView.TabIndex = 0; this.dgvCustomerView.TabIndex = 0;
// //
// timer1
//
this.timer1.Interval = 60000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// splitContainer1 // splitContainer1
// //
this.splitContainer1.BackgroundImage = global::QueueSys.Properties.Resources.QueueSysBkg; this.splitContainer1.BackgroundImage = global::QueueSys.Properties.Resources.QueueSysBkg;
@ -196,7 +189,6 @@
#endregion #endregion
private System.Windows.Forms.DataGridView dgvCustomerView; private System.Windows.Forms.DataGridView dgvCustomerView;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.SplitContainer splitContainer1; private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.SplitContainer splitContainer2; private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.SplitContainer splitContainer3; private System.Windows.Forms.SplitContainer splitContainer3;

View File

@ -19,7 +19,6 @@ namespace QueueSys
private void frmCustomerView_Load(object sender, EventArgs e) private void frmCustomerView_Load(object sender, EventArgs e)
{ {
timer1.Start();
RefreshCustomerView(); RefreshCustomerView();
} }
@ -39,11 +38,6 @@ namespace QueueSys
dgvCustomerView.DataSource = cvList; dgvCustomerView.DataSource = cvList;
} }
private void timer1_Tick(object sender, EventArgs e)
{
RefreshCustomerView();
}
private void frmCustomerView_FormClosing(object sender, FormClosingEventArgs e) private void frmCustomerView_FormClosing(object sender, FormClosingEventArgs e)
{ {
e.Cancel = true; e.Cancel = true;

View File

@ -117,9 +117,6 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>