I have been trying to resolve this from a while, but couldn't find anything useful.
Issue-1
In Windows forms application the size of a dialog boxes keeps increasing every time we try to open it.
i tried the following ways to resolve it.
-Autosize/AutoSizeMode
-Refresh,
-Static values for location and Size,
-fixed values for maximum and minimum size,
Issue-2
I am able to fix the above issue-1 using
SetBounds(x,y,Width,height)
but now i am facing new issue where all the fields(Radiobuttons,textbox & Button) inside dialog box keeps on increment(also tried all the above resolution for issue-2)
**Code:**
Sub Frm_click()
**Frm.ShowDialog()** //windows defined method
End Sub
Sub Frm_load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load)
*******
*****
****
End Sub
Thanks in Advance..
What I have tried:
Googled several items..
Autosize/AutoSizeMode
Refresh,
SetBounds(x,y,Width,height)