I tried searching all the websites but i am unable to get this through. If someone can guide me through will be very helpful.
I have 2 grids on form
. I have a Button
on a form
I use the below code to show my report form in the
Dim Frm As New ReportForm MainGrid.IsEnabled=False
This will overlap the Usercontrol on top of my Main form. This works perfectly till here.
On my user control
, I have a
button when clicked, it should close the loaded user control and then enable the
Now problem is, How to remove the usercontrol from the Reportgrid on Main form? is my question.
I've been searching for solutions over internet for hours with all possible snippets but none worked for me. Any Help would greatly be appreciated.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)