close

利用 OpenFileDialog 元件

OpenFileDialog of開檔=new OpenFileDialog();


 if (of開檔.ShowDialog() == DialogResult.OK)
{
     this.t檔案路徑.Text = of開檔.FileName;
}

 

//制作目錄

 if (!System.IO.Directory.Exists(targetPath))
 {
    System.IO.Directory.CreateDirectory(targetPath);
 }

arrow
arrow
    全站熱搜

    createps 發表在 痞客邦 留言(0) 人氣()