경로3 [C#] opendialog 함수, OFD 간단한 사용법 private void button1_Click(object sender, EventArgs e) { OpenFileDialog OFD = new OpenFileDialog(); if (OFD.ShowDialog() == DialogResult.OK) { textBox1.Clear(); textBox1.Text = OFD.FileName; } } button, textbox를 한개씩 추가 후 button쪽 소스코드에 삽입. 아주 잘된다. 짞짞짞짜짝 2021. 3. 16. [C#] 파일이름 변경하기 infodbbase.tistory.com/118 www.delftstack.com/ko/howto/csharp/how-to-rename-a-file-in-csharp/ using System.IO; private void button1_Click(object sender, EventArgs e) { string oldFile = null; string newFile = null; string filePath = null; oldFile = filePath + "\\" + oldFile; newFile = filePath + "\\" + newFile; System.IO.File.Move(oldFile, newFile); MessageBox.Show("Change!"); } 2021. 3. 16. [Python] 파이썬 설치하기 파이썬은 사용하기는 쉽지만, 환경을 세팅하기는 굉장히 짜증나고 생소하다. 이 블로그가 굉장히 유용하게 와닿았다. medium.com/@psychet_learn/python-%EA%B8%B0%EC%B4%88-2%EC%9E%A5-python-%EC%84%A4%EC%B9%98-%EB%B0%8F-%ED%99%98%EA%B2%BD%EC%84%A4%EC%A0%95-windows-ver-b030d96bcbd0 [Python 기초] 2장. Python 설치 및 환경설정(Windows Ver.) Version Info: (python = 3.6) medium.com 여기서 중요한 포인트는 C:\에 Python 폴더를 직접 만들고, Python 2.x / Python 3.x 로 폴더를 또 구분한다. 파이썬에서는 2가지 버.. 2021. 3. 11. 이전 1 다음