日期:2014-05-17 浏览次数:20748 次
namespace Cj.Bm.Forms
{
public partial class BM_Edit : BaseForm
{
......
public BM_Edit(string BM, BMSP Father)
{
Initialize();
_bm = BM;
father = Father;
this.Text = "编码添加";
......
}
......
}
}
object formFather = Activator.CreateInstance(Type.GetType("Cj.Bm.Forms.BMSP"));
Form formObj = (Form)Activator.CreateInstance(Type.GetType("Cj.Bm.Forms.BM_Edit"), new object[] { "001", formFather });
formObj.ShowDialog();