Publisher review:Using Reflection.Assembly to Load Forms - The scenario where this code could be quite helpful is where you are fetching a form name from the database and would like to open that form by passing the name as a string variable. This code sample is going to make your day. The scenario where this code could be quite helpful is where you are fetching a form name from the database and would like to open that form by passing the name as a string variable.
To accomplish this task you will have to use the System.Reflection.Assembly class. Note that the form name in the textbox should include its complete namespace. For example, "Project1.Formname" or "Inventory.frmItroject1.Fot;.
Using Reflection.Assembly to Load Forms is a C/C++ script for Snippets scripts design by irtaza.
It runs on following operating system: Windows / Linux / BSD / Solaris.
Operating system:Windows / Linux / BSD / Solaris