본문 바로가기

SIMPLE C#/실전

[SIMPLE C#] 가계부를 만들자(06/08)

//현재 프로그램이 실행 중인 폴더 위치 확인
string 저장폴더 = AppDomain.CurrentDomain.BaseDirectory;

//리스트박스 현재 선택된 아이템 문자 확인
listBox1.Items[listBox1.SelectedIndex].ToString();

//폴더내의 파일명 조회
System.IO.Directory.GetFiles(폴더위치, "*.csv");

[Youtube] : https://youtu.be/0SJGDlFYx7c




[Source]

MoneyBook_Day06.zip