void ShowStep0Status(string Text) { if (LogGrid.InvokeRequired) { ShowStep0Status_d CALL_d = new ShowStep0Status_d(ShowStep0Status); 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.Black; this.Step0StatusTB.Visible = true; } } }
void ShowStep0Status(string Text) { if (LogGrid.InvokeRequired) { ShowStep0Status_d CALL_d = new ShowStep0Status_d(ShowStep0Status); 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.Black; this.Step0StatusTB.Visible = true; } } }