기타 강좌

C언어
2010.07.11 17:17

C# - 시스템 정보 받기

조회 수 2831 추천 수 0 댓글 2
Atachment
첨부 '1'

zcv.png

 

 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            //현재 시스템 변수를 선언
            OperatingSystem os = Environment.OSVersion;
            string Name = "알 수 없음";
            //현재 활성화된 프로세서 수를 측정후 반영
            label3.Text = Environment.ProcessorCount.ToString();
            label5.Text = Environment.Version.ToString();
            //마우스 정보를 위해 타이머 스타트
            timer1.Start();
            //OS버전별 교환
            switch (os.Platform)
            {
                case PlatformID.Win32Windows:
                    {
                        if (os.Version.Major == 4)
                        {
                            switch (os.Version.Minor)
                            {
                                case 0:
                                    Name = "Windows 95";
                                    break;
                                case 10:
                                    Name = "Windows 98";
                                    break;
                                case 90:
                                    Name = "Windows Me";
                                    break;
                            }
                        }
                        break;
                    }
                case PlatformID.Win32NT:
                    {
                        if (os.Version.Major == 4)
                        {
                            Name = "Windows NT 4.0";
                        }
                        else if (os.Version.Major == 5)
                        {
                            switch (os.Version.Minor)
                            {
                                case 0:
                                    Name = "Windows 2000";
                                    break;
                                case 1:
                                    Name = "Windows XP";
                                    break;
                                case 2:
                                    Name = "Windows Server 2003";
                                    break;
                            }
                        }
                        else if (os.Version.Major == 6)
                        {
                            switch (os.Version.Minor)
                            {
                                case 0:
                                    Name = "Windows Vista";
                                    break;
                                case 1:
                                    Name = "Windows 7";
                                    break;
                            }
                        }
                    }
                    break;
                default:
                    break;
            }

            label1.Text = Name;
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            System.Drawing.Point pt = Control.MousePosition;
            label7.Text = "X 좌표 : " + pt.X.ToString() + " Y 좌표 : " + pt.Y.ToString();
        }
    }
}

Who's 코르뉴

?

10년차 쯔꾸르시리즈의 아웃사이더.

 제작 완성된 주요 게임들( 2003년 이전 게임들은 현재 자료가 남아있지도 기억도 잘 나지 않아서 생략)

The Knight Part 1 - 창조도시 게임자료실(2003)

The Knight Part 2 - 창조도시 완성작(2003)

The Knight Part 3 - 창조도시 완성작(2004)

The Knight Part 4 - 창조도시 완성작(2004)

The Knight Part 5 - 개인 보관 후 자료 소멸(2005)

Natural selection(아케이드) - 완성판 배포(2005)

Azure Moon (proto type) - 개인 보관 후 자료 소멸(2006)

Azure Moon : limitless addition - 체험판 배포, 완성판 개인 보관 후 자료 소멸(2006)

Stokesia(Azure Moon, proto type)  - 개인 보관 후 자료 소멸 (2007)

Stokesia(Azure Moon)  - 개인 보관 중(2008)

Natural selection(3D FPS Type) - 제작 중단 연구용 완성판 배포(2008)

코르뉴의 전설(proto type) - 체험판 배포, 개인 보관 중(2009)

 

Arcadia - 개인 제작, 테스팅 까지만 완료(2011)

TowerDefence - 개인 제작, 타워 디펜스 카페등에 알파버전까지만 수록(2011)

Avengers - 개인 제작, 일리히트 엔진 + Bullet엔진 사용, 알파 버전까지만 배포(2011)

 

연구과제

-Java 1.6

-mysql, php, flash 연동 웹게임

-Unity Engine with Flash

-Flixel Engine with Flash Builder

Comment '2'

List of Articles
분류 제목 글쓴이 날짜 조회 수
Vegas Pro 베가스 강좌 목록 아방스 2017.09.28 886
파이널컷X 파컷 강좌 목록 아방스 2017.06.18 757
C언어 [C언어] 방향키 이동 [깔끔하고 완벽 구동] 8 file [Dark].Angel 2009.01.13 13437
C언어 [C언어] (콘솔) 글씨 색깔 바꾸기 1 [Dark].Angel 2009.01.14 6454
C언어 사각형 테두리 그리기를 연습해봐요 3 file 정체불명 2012.01.21 5701
C언어 Lua강좌 1 *ps인간 2009.01.26 4902
C언어 [C 언어 강의] 1. 프로그램 작성 방법 4 마린레이 2011.09.24 4842
C언어 [비쥬얼 C++ 동영상 강좌] 02회 MFC 전체 구조 살펴보기 4 아방스 2009.01.12 4789
C언어 C# 병렬처리! 스레드 사용하기 1 file 꿈달 2012.11.08 4129
C언어 네트워크 강좌[1]- 기본적인 버클리 소켓을 이용한 프로그래밍 Saber 2010.09.06 4013
C언어 [C언어] 난수에 대해 2 [Dark].Angel 2009.01.14 3785
C언어 한글자씩 출력하기 file 정체불명 2012.01.21 3730
C언어 [ - Zennys - ] 제니스의 C언어 강좌 [아스키(ASCII)코드] 1 제니스 2009.06.13 3643
C언어 [-구름-] 배열로 큐 구현하기 3 [SST]구름 2009.06.13 3610
C언어 [비쥬얼 C++ 동영상 강좌] 01회 Visual C++개요, 간단한 C++맛보기 2 아방스 2009.01.12 3590
C언어 [C언어] 산술연산자, 대입연산자, 증감연산자 란? 2 [Dark].Angel 2009.01.14 3541
C언어 [C언어] for문과 while문에 대해 [Dark].Angel 2009.01.14 3521
C언어 소코반 실행파일+소스+스크린샷 file 정체불명 2012.01.25 3521
C언어 [C언어] printf()함수의 변환 문자 1 [Dark].Angel 2009.01.14 3242
C언어 C언어 기초 - 1. 개요 5 완폐남™ 2011.08.01 3183
C언어 [ - Zennys - ] 제니스의 C언어 강좌 [include] 3 제니스 2009.06.13 3125
C언어 [ - Zennys - ] 제니스의 C언어 강좌 [실수형 상수] 제니스 2009.06.13 3089
Board Pagination Prev 1 2 3 4 5 Next
/ 5