Example #1
0
        private void 导入资源ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fBatchInsert fb = new fBatchInsert();
            Form2WaittingGetTotalRecords form = new Form2WaittingGetTotalRecords();

            form.Show();
            int totalrecord = fb.GetTotalXS(form.GetTotalNum);

            form.Close();
            daoruxuansan daoru = new daoruxuansan();

            daoru.TotalRecords = totalrecord;
            daoru.fBatchInsert = fb;
            daoru.ShowDialog();
        }
Example #2
0
        /// <summary>
        /// 导入数据
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void 导入ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fBatchInsert fb = new fBatchInsert();
            // batchinsert.Show();
            FormWaittingGetTotalRecords frmwaitting = new FormWaittingGetTotalRecords();

            frmwaitting.Show();
            int totalrecord = fb.GetTotal(frmwaitting.GetTotalDelegate);

            frmwaitting.Close();
            BatchInsert batchinsert = new BatchInsert();

            batchinsert.TotalRecords = totalrecord;
            batchinsert.fBatchInsert = fb;
            batchinsert.ShowDialog();
        }
Example #3
0
        private void 创建索引导入ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fBatchInsert fb = new fBatchInsert();
            // batchinsert.Show();
            Form3WaittingGetTotalRecords frmwaitting = new Form3WaittingGetTotalRecords();

            frmwaitting.Show();
            int totalrecord = fb.GetTitleTotal(frmwaitting.GetTitletotal);

            frmwaitting.Close();
            test tt = new test();

            tt.TotalRecords = totalrecord;
            tt.fBatchInsert = fb;
            tt.ShowDialog();
        }
Example #4
0
        private void 新建ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fBatchInsert fb = new fBatchInsert();
            // batchinsert.Show();
            Form2WaittingGetTotalRecords frmwatiting = new Form2WaittingGetTotalRecords();

            frmwatiting.Show();
            int totalrecord = fb.GetTotalN(frmwatiting.GetTotalNum);

            frmwatiting.Close();
            Output output = new Output();

            output.TotalRecords = totalrecord;
            output.fBatchInsert = fb;
            output.ShowDialog();
        }