검색결과 리스트
윈도우에 해당되는 글 3건
- 2009.06.09 [Comsori]서비스 등록과 서비스 삭제
- 2009.01.19 [C#] 윈도우 좌표~
- 2008.09.29 [C#]윈도우 영역 크기 얻어오기
글
제어판상에서 컴퓨터 관리에서 우리는 서비스를 확인 할 수 있다.
이 서비스를 도스 창에서 삭제하고 등록하는 법은 다음과 같다.
만약 기존에 등록된 서비스가 돌아가고 있다면 일단 중지를 한다.
그리고 sc delete 서비스명을 치면 삭제가 된다.
서비스를 설치 할 경우는 C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
폴더 아래에서 installUtil "설치 exe파일 Full Path"
를 치면 등록이 되며
installUtil /u "설치 exe파일 Full Path" 를 입력을 하면 삭제가 된다.
윈도우즈 상에서 서비스를 등록하고 이용하는 프로그램을 만드는 사람이라면..
당연히 알고 있어야 할 듯 하다.
그럼 슈슉~
설정
트랙백
댓글
글
Rectangle screenRect = Screen.PrimaryScreen.WorkingArea;
Rectangle tempRect = new Rectangle(screenRect.Right - 890, -8, 500, 0);
this.DesktopBounds = tempRect;
-_-ㅋ 말 그대로 좌표를 가지고 온답;;;
Rectangle tempRect = new Rectangle(screenRect.Right - 890, -8, 500, 0);
this.DesktopBounds = tempRect;
-_-ㅋ 말 그대로 좌표를 가지고 온답;;;
설정
트랙백
댓글
글
현재 윈도우 해상도 얻기
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