I have the following code resizing a textbox. The width is working as expected but the height isn't responding. What am I missing?
private void Form1_Resize(object sender, System.EventArgs e) {
Control control = (Control)sender;
textBox1.Size = new Size(Form1.ActiveForm.Size.Width - 8, Form1.ActiveForm.Size.Height-92);
}
private void Form1_Resize(object sender, System.EventArgs e) {
Control control = (Control)sender;
textBox1.Size = new Size(Form1.ActiveForm.Size.Width - 8, Form1.ActiveForm.Size.Height-92);
}