void ShowStep0Error(string Text) { if (LogGrid.InvokeRequired) { ShowStep0Error_d CALL_d = new ShowStep0Error_d(ShowStep0Error); LogGrid.Invoke(CALL_d, new object[] { Text }); } else { this.Step0StatusTB.Text = Text; if (Text.Length == 0) { this.Step0StatusTB.Visible = false; } else { this.Step0StatusTB.ForeColor = Color.Red; this.Step0StatusTB.Visible = true; } } }
internal void ShowStep0Error(string Text) { if (Step0StatusTB.InvokeRequired) { ShowStep0Error_d CALL_d = new ShowStep0Error_d(ShowStep0Error); Step0StatusTB.Invoke(CALL_d, new object[] { Text }); } else { this.Step0StatusTB.Text = Text; if (Text.Length == 0) { this.Step0StatusTB.Visible = false; } else { this.Step0StatusTB.ForeColor = Color.Red; this.Step0StatusTB.Visible = true; } } }