private void timerNodeStatus_Tick(object sender, EventArgs e) { DelegateRefreshMonitor dlgtRefreshMonitor = new DelegateRefreshMonitor(AsynRefreshMonitorView); dlgtRefreshMonitor.BeginInvoke(null, dlgtRefreshMonitor); // RefreshNodeStatus(); //if (this.checkBoxAutorefresh.Checked) //{ // RefreshPLCComm(); //} }
private void timer1_Tick(object sender, EventArgs e) { DelegateRefreshMonitor dlgtRefreshMonitor = new DelegateRefreshMonitor(AsynRefreshMonitorView); dlgtRefreshMonitor.BeginInvoke(null, dlgtRefreshMonitor); }