Ejemplo n.º 1
0
        /// <summary>
        /// 准备编辑数据库
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        /// <remarks></remarks>
        public void btnEditDatabase_Click(object sender, RibbonControlEventArgs e)
        {
            DataSheet dtSheet;
            //
            Form_ConstructDatabase frm = new Form_ConstructDatabase(_app.ActiveSheet, false,
                                                                    ActiveDatabaseSheet);

            dtSheet = frm.ShowDialog();
            //
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 构造数据库
        /// </summary>
        /// <remarks></remarks>
        private DataSheet ConstructDatabase()
        {
            DataSheet dtSheet = default(DataSheet);
            //
            Form_ConstructDatabase frm = new Form_ConstructDatabase(_app.ActiveSheet, true);

            dtSheet = frm.ShowDialog();
            //
            return(dtSheet);
        }