public void DoGUIClear() { if (this.InvokeRequired) { GUIClear delegateMethod = new GUIClear(this.DoGUIClear); this.Invoke(delegateMethod); } else { this.textBox1.Clear(); } }
public void DoGUIClear() { if (this.InvokeRequired) { GUIClear delegateMethod = new GUIClear(this.DoGUIClear); this.Invoke(delegateMethod); } else { this.lstReadings.Items.Clear(); } }
public void DoGUIClear() { /* função delegada para limpar os itens da lista de registros */ if (this.InvokeRequired) { GUIClear delegateMethod = new GUIClear(this.DoGUIClear); this.Invoke(delegateMethod); } else { this.lstRegisterValues.Items.Clear(); } }