I’m trying to show multiple forms equal, first declare a variable of type Form, then set the variable a name, then display it but I can not have success.
It dont show any new window.
Dim from_var As New Form
from_var = inventory_stat_item
With from_var
.MdiParent = main
.StartPosition = FormStartPosition.CenterScreen
.Show()
End With
UPDATE:
The variable from_var shall have the following forms names: (inventory_stat_item | inventory_edit_item | inventory_new_item)
You should be able to do what you want as long as you are creating and newing the
Formsbefore hand. Something like this quick and dirty example.