N
nigelsvision
Guest
Hi, Just been playing about with resizing windows forms using buttons.
Why is it if I use the code below it works fine
Me.WindowState = FormWindowState.Maximized
But when I use this code in a button click after I have used the maximized it wont work
Me.Height = 662
If I just used this code before using the maximized it would work.
Me.Height = 662
So it seems when I use the code below it somehow overrides my other resize button and stops it from working.
Me.WindowState = FormWindowState.Maximized
Can anyone explain to me why If I am using Maximized my other resize button will not function?
Thanks
Continue reading...
Why is it if I use the code below it works fine
Me.WindowState = FormWindowState.Maximized
But when I use this code in a button click after I have used the maximized it wont work
Me.Height = 662
If I just used this code before using the maximized it would work.
Me.Height = 662
So it seems when I use the code below it somehow overrides my other resize button and stops it from working.
Me.WindowState = FormWindowState.Maximized
Can anyone explain to me why If I am using Maximized my other resize button will not function?
Thanks
Continue reading...