System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();Form f = (Form)assembly.CreateInstance("demo.Form1");f.ShowDialog();