Hello Everyone, I have an MDI form which works fine. At startup the childform opens and its windowstate is maximized. In the childform I have a textbox but does not have a windowstate to maximize. How can I maximize the textbox with the childform?
This is my formload:
private void TextEditorForm_Load(object sender, EventArgs e)
{
ChildForm childOneForm = new ChildForm();
childOneForm.MdiParent = this;
childOneForm.Text = "Welcome " + DateTime.Now + ChildOneCounterInteger.ToString();
childOneForm.Show();
childOneForm.WindowState = FormWindowState.Maximized;
}
The childform window opens in a maximized state, but how can I make the textbox to open with the childform?
Thanks for your response. Well appreciated.