diff --git a/QueueSys/frmCustomerView.Designer.cs b/QueueSys/frmCustomerView.Designer.cs index 386f95e..6c0713d 100644 --- a/QueueSys/frmCustomerView.Designer.cs +++ b/QueueSys/frmCustomerView.Designer.cs @@ -28,10 +28,8 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCustomerView)); this.dgvCustomerView = new System.Windows.Forms.DataGridView(); - 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(); @@ -70,11 +68,6 @@ this.dgvCustomerView.Size = new System.Drawing.Size(1029, 583); this.dgvCustomerView.TabIndex = 0; // - // timer1 - // - this.timer1.Interval = 60000; - this.timer1.Tick += new System.EventHandler(this.timer1_Tick); - // // splitContainer1 // this.splitContainer1.BackgroundImage = global::QueueSys.Properties.Resources.QueueSysBkg; @@ -196,7 +189,6 @@ #endregion private System.Windows.Forms.DataGridView dgvCustomerView; - private System.Windows.Forms.Timer timer1; private System.Windows.Forms.SplitContainer splitContainer1; private System.Windows.Forms.SplitContainer splitContainer2; private System.Windows.Forms.SplitContainer splitContainer3; diff --git a/QueueSys/frmCustomerView.cs b/QueueSys/frmCustomerView.cs index ea55fb6..12b0d96 100644 --- a/QueueSys/frmCustomerView.cs +++ b/QueueSys/frmCustomerView.cs @@ -19,7 +19,6 @@ namespace QueueSys private void frmCustomerView_Load(object sender, EventArgs e) { - timer1.Start(); RefreshCustomerView(); } @@ -39,11 +38,6 @@ namespace QueueSys dgvCustomerView.DataSource = cvList; } - private void timer1_Tick(object sender, EventArgs e) - { - RefreshCustomerView(); - } - private void frmCustomerView_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; diff --git a/QueueSys/frmCustomerView.resx b/QueueSys/frmCustomerView.resx index 8ca697e..51baf64 100644 --- a/QueueSys/frmCustomerView.resx +++ b/QueueSys/frmCustomerView.resx @@ -117,9 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 -