日期:2014-05-17 浏览次数:20842 次
private void button1_Click(object sender, EventArgs e) {
??????????? string formName = this.textBox1.Text;
??????????? ObjectHandle objectHandle = Activator.CreateInstance(null, formName);
??????????? Form form = (Form)objectHandle.Unwrap();
??????????? form.ShowDialog();
??????? }