示例#1
0
        public static BaseForm CreateForm(IDataTable table)
        {
            var frm = new AddTable(table);

            frm.Dock = DockStyle.Fill;
            return(WinFormHelper.CreateForm(frm, "添加表"));
        }
示例#2
0
        public static BaseForm CreateForm(IDataColumn column, Boolean isNew)
        {
            AddField frm = new AddField(column, isNew);

            frm.Dock = DockStyle.Fill;
            return(WinFormHelper.CreateForm(frm, "编辑字段信息"));
        }
示例#3
0
        public static BaseForm CreateForm()
        {
            NewModel frm = new NewModel();

            frm.Dock = DockStyle.Fill;

            return(WinFormHelper.CreateForm(frm, "添加模型"));
        }