note: in this case, it would take me much longer to implement your code and debug it than it would for me to sketch a working solution ... and, i don't have much time right now (health issues). so, i am going to violate my own resolution not to provide complete code solutions.
but, please,
study the difference between what you are doing now, and what is shown here: that way, you will learn something, and i will feel less guilt :)
First:
0) assuming the TextBox is in the 'Loading Form, and that the Main Form 'Form1 will update its TextBox:
1) check your TextBox in the 'Loading Form has the 'MultiLine Property set to 'true
2) set a breakpoint just before the call that triggers setting up the data adapters: then single-step (F11) through the code examining the state of variables for anything that is unexpected. this, alone, may indicate what is missing, or, needs to be changed.
Example:
public static class ProJex
{
public static string LoadingState { set; get; }
}
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
LoadProcess Loading = new LoadProcess();
private void Form1_Load(object sender, EventArgs e)
{
ProJex.LoadingState = "Identifying user\r\n";
Loading.SetStateMessage();
Loading.Owner = this;
Loading.Show();
}
private void button1_Click(object sender, EventArgs e)
{
if (Loading == null) return;
ProJex.LoadingState = "Setting up data adapters\r\n";
Loading.SetStateMessage();
}
}
public partial class LoadProcess : Form
{
public LoadProcess()
{
InitializeComponent();
}
private void LoadProcess_Load(object sender, EventArgs e)
{
textBox1000.Text = ProJex.LoadingState;
}
public void SetStateMessage()
{
textBox1000.Text += ProJex.LoadingState;
}
}