Beispiel #1
0
        private void btn_exportexcel_Click(object sender, EventArgs e)
        {
            string datetime = DateTime.Now.ToString("yyMMdd_HHmm");

            Common.CSV_Class exportexcel = new Common.CSV_Class();
            exportexcel.exportcsv(ref dgv_thurst, txt_linksave.Text, "GA1Thurst_" + datetime);
        }
Beispiel #2
0
 private void exportexcel_btn_Click(object sender, EventArgs e)
 {
     if (account_depreciation_dgv.Visible == true)
     {
         Com.Nidec.Mes.Common.Basic.MachineMaintenance.Common.CSV_Class exportexcel = new Common.CSV_Class();
         exportexcel.exportcsv(ref account_depreciation_dgv, linksave_txt.Text, account_depreciation_dgv.Columns[0].HeaderText);
     }
     else if (account_main_dgv.Visible == true)
     {
         Com.Nidec.Mes.Common.Basic.MachineMaintenance.Common.CSV_Class exportexcel = new Common.CSV_Class();
         exportexcel.exportcsv(ref account_main_dgv, linksave_txt.Text, account_main_dgv.Columns[0].HeaderText);
     }
 }