Esempio n. 1
0
        public static FrmModel Create(List<IDataTable> tables)
        {
            if (tables == null || tables.Count < 1) throw new ArgumentNullException("tables");

            FrmModel frm = new FrmModel();
            frm.Tables = tables;

            return frm;
        }
Esempio n. 2
0
        private void 模型管理MToolStripMenuItem_Click(Object sender, EventArgs e)
        {
            var tables = Engine.Tables;

            if (tables == null || tables.Count < 1)
            {
                return;
            }

            FrmModel.Create(tables).Show();
        }
Esempio n. 3
0
        public static FrmModel Create(List <IDataTable> tables)
        {
            if (tables == null || tables.Count < 1)
            {
                throw new ArgumentNullException("tables");
            }

            FrmModel frm = new FrmModel();

            frm.Tables = tables;

            return(frm);
        }