private void button4_Click(object sender, EventArgs e) { TypeSelectionDialog dlg = new TypeSelectionDialog(); dlg.AddAssembly(System.Reflection.Assembly.GetEntryAssembly(), true); dlg.ShowDialog(this); }