G
Guest
I have a UserControl called TimeEntry, which at runtime I am adding to
dynamically created form like so:
Form myForm = new Form();
TimeEntry myTime = new TimeEntry();
myForm.size = myTime.size;
myForm.Controls.Add(myTime);
myForm.ShowDialog();
as you can see I am trying to resize the form to fit the control on to, but
it doesnt seem to work, it sizes it but not enough. Why is this?
Steve
dynamically created form like so:
Form myForm = new Form();
TimeEntry myTime = new TimeEntry();
myForm.size = myTime.size;
myForm.Controls.Add(myTime);
myForm.ShowDialog();
as you can see I am trying to resize the form to fit the control on to, but
it doesnt seem to work, it sizes it but not enough. Why is this?
Steve