검색결과 리스트
글
1) 프로젝트 작성
2) AP폴더 내에 파일 삽입
3) 빌드
자동배포 MSI와 Setup파일이 자동 생성된다
설정
트랙백
댓글
글
public void Download(string downURL) {
System.Net.WebClient request = new System.Net.WebClient();
byte[] newFileData = request.DownloadData(downURL);
string fileString = System.Text.Encoding.UTF8.GetString(newFileData);
Response.Write(fileString);
}
-_-a 웹 클라이언트를 통한.. 파일 데이터 다운로드라 해야하나.. -_-a
뭐 그런 취지로 만든 것이답.
설정
트랙백
댓글
글
현재 윈도우 해상도 얻기
Size Bounds = Screen.PrimaryScreen.Bounds.Size;
MessageBox.Show(Bounds.ToString());
(결과) Width=2560, Height=1600
작업 표시줄 제외한 윈도우 영역 크기
Size WorkingArea = Screen.PrimaryScreen.WorkingArea.Size;
MessageBox.Show(WorkingArea.ToString());
(결과) Width=2560, Height=1570
※ 결과 : 2560*1600 해상도에서 테스트 한 결과
Size Bounds = Screen.PrimaryScreen.Bounds.Size;
MessageBox.Show(Bounds.ToString());
(결과) Width=2560, Height=1600
작업 표시줄 제외한 윈도우 영역 크기
Size WorkingArea = Screen.PrimaryScreen.WorkingArea.Size;
MessageBox.Show(WorkingArea.ToString());
(결과) Width=2560, Height=1570
※ 결과 : 2560*1600 해상도에서 테스트 한 결과
RECENT COMMENT