public static BaseForm CreateForm(IDataTable table) { var frm = new AddTable(table); frm.Dock = DockStyle.Fill; return(WinFormHelper.CreateForm(frm, "添加表")); }
public static BaseForm CreateForm(IDataColumn column, Boolean isNew) { AddField frm = new AddField(column, isNew); frm.Dock = DockStyle.Fill; return(WinFormHelper.CreateForm(frm, "编辑字段信息")); }
public static BaseForm CreateForm() { NewModel frm = new NewModel(); frm.Dock = DockStyle.Fill; return(WinFormHelper.CreateForm(frm, "添加模型")); }