I have MDI frame. .NET C# WinForms.
In the MDI frame I have a main window that contains ListBox. Depend on selected item from the ListBox a Child Form suppose to be opened with parameters. Everything working file except : I want Child Form to be opened next to the ListBox on the main form.
So I'm trying to set x, y location position properties of the Child Form. Does not work.
Every form opens ... looks like in cascading positions. ( I noticed it because I tried to open and close 5 - 7 forms and I saw that every other form was opened a little aside from the previous).
I need every form to be opened at the same location. What should I do for it?
Please , help...
Thank you ,
Victoria.
In the MDI frame I have a main window that contains ListBox. Depend on selected item from the ListBox a Child Form suppose to be opened with parameters. Everything working file except : I want Child Form to be opened next to the ListBox on the main form.
So I'm trying to set x, y location position properties of the Child Form. Does not work.
Every form opens ... looks like in cascading positions. ( I noticed it because I tried to open and close 5 - 7 forms and I saw that every other form was opened a little aside from the previous).
I need every form to be opened at the same location. What should I do for it?
Please , help...
Thank you ,
Victoria.