I have a Visual Studio 2022 C# WinForm app. I dropped 4 textboxs from the toolbox onto the form to display status info, and renamed them as shown. I have not set any other property or event.
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
private System.Windows.Forms.TextBox myTime;
private System.Windows.Forms.TextBox myDist;
}
I put the following temp code to get a look at the display font size etc.
myTime.Text = "101.1";
myDist.Text = "1025";
The textboxes on the form remain blank. In debug mode each text box shows the correct text, it is just not displaying on the form.
Is ther some method that forces an update or focus or something?