{
Type tyml = Type.GetType(lc_cdml);
object obj;
obj = Activator.CreateInstance(tyml);
Form form = (Form)obj;
form.ShowDialog();
}
catch (System.Exception e1)
{
MessageBox.Show("输入的菜单项执行命令错误,请修改 ! " +
e1.Message, "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
}
if (Menu.MenuItems[x1].Text == menucdml.Text)
{
this.Close();
}
}
4.5 operation 类代码
创建大于10的序号与英文字母对照临时表:
public void CdbmkzTable()
{
|