Hi,
If you are going to use forms, you should do it something like this:
Code: private void menuItem2_Click(object sender, EventArgs e)
{
frmClientes obj = new frmClientes();
obj.ShowDialog();
}
In the form (obj) you can then just use this.close(); to close that form.
I have never used the MDI behaviour of VWG, but I guess that you are triggering some MDI behaviour by creating the form and adding it to your base forms controls container, as your code did.
Sorry about the support email address. I thought I had given it to you before, but I include the standard clause we add for sample app requests:
Best way to describe those problems is by creating a most minimal application that demonstrates the problem(s) and then send your application to support [at] visualwebgui [dot] com with a link to this forum thread, along with some description about how to reproduce the problem.
Please also clean the solution before compressing it and reply to this post after sending, so we will know to check for your support request.
If connection to database is needed, please make sure you will be using the MSSQL Northwind sample database for your connection(s)
Remember to include information about what VWG version you are using, as well as you Visual Studio version+type and operating system version.
Palli