예제 #1
0
 private void csv文件ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     /*DataTable dt = new DataTable();
     dt = Tabulation.ImportCSV();
     if (dt != null)
     {
         MainDT = dt;
         Tabulation.InitDataSet(MainDT, ref nMax, ref pageCount, ref pageCurrent, 
             ref nCurrent, label_CurrentPage, label_TotalPage,
             dataGridView1, textBox_CurrentPage,pageSize);
         //Tabulation.DataType(dataGridView1);
     }*/
     ImportCSV CSVForm = new ImportCSV();
     CSVForm.ShowDialog();
 }
예제 #2
0
        private void csv文件ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            /*DataTable dt = new DataTable();
             * dt = Tabulation.ImportCSV();
             * if (dt != null)
             * {
             *  MainDT = dt;
             *  Tabulation.InitDataSet(MainDT, ref nMax, ref pageCount, ref pageCurrent,
             *      ref nCurrent, label_CurrentPage, label_TotalPage,
             *      dataGridView1, textBox_CurrentPage,pageSize);
             *  //Tabulation.DataType(dataGridView1);
             * }*/
            ImportCSV CSVForm = new ImportCSV();

            CSVForm.ShowDialog();
        }