private void FreqText(String Message) { if (this.tb_freq.InvokeRequired) { FreqTextEventHandler evt = new FreqTextEventHandler(FreqText); this.Invoke(evt, new object[] { Message }); } else { if (Message == null) { this.tb_freq.Text = " ---- "; } else { this.tb_freq.Text = Message; } } }
private void FreqText(String Message) { if (this.tb_freq.InvokeRequired) { FreqTextEventHandler evt = new FreqTextEventHandler(FreqText); this.Invoke(evt, new object[] { Message }); } else { if (Message == null) { this.tb_freq.Text = " ---- "; } else { this.tb_freq.Text = Message; } } }