/// 將資料以CSV格式儲存  
        /// ",表示移動到同一行的下一格"  
        /// "\r\n"表示移動到下一列   
        /// </summary>  
        /// <param name="sender"></param>  
        /// <param name="e"></param>  
        private void btn_save_Click(object sender, EventArgs e)  
        {  
            string fileName = Application.StartupPath + "\\" + "data" + ".csv";  
            StreamWriter fileWriter = new StreamWriter(fileName, true, Encoding.ASCII);  
            fileWriter.Write("Time,");  
            for (int j = 0; j < 10; j++)  
            {  
                fileWriter.Write("T{0}" + "\r\n", j);  
  
            }  
                 
            fileWriter.Flush();  
            fileWriter.Close();  
        }