Ejemplo n.º 1
0
        public static BaseForm CreateForm(IDataTable table)
        {
            var frm = new AddTable(table);

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

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

            frm.Dock = DockStyle.Fill;

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