티스토리 툴바

보이기/숨기기 가능합니다^^
분류 전체보기 (48)
Linux (2)
Database (6)
C (0)
C++ (0)
C# (9)
Java (9)
TCP / IP (2)
etc... (15)
알고리즘 (0)
보이기/숨기기 가능합니다^^
'C#'에 해당되는 글 9건
[ C# ] - 정규표현식
C# | 2010/05/30 17:02
사용자 삽입 이미지


from : 데브피아
Trackback 0 : Comment 0
위로
http://gustmder.tistory.com/trackback/141 관련글 쓰기
[ C# ] Win32API를 이용하여 프레임없는 윈도우 이동
C# | 2010/02/12 18:30

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;   // for API

namespace MoveWndWithAPISample
{
    public partial class Form1 : Form
    {
        #region API 등록
        public const int WM_NCLBUTTONDOWN = 0xA1;
        public const int HT_CAPTION = 0x2;
        [DllImportAttribute("user32.dll")]
        public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
        [DllImportAttribute("user32.dll")]
        public static extern bool ReleaseCapture();
        #endregion

        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_MouseDown(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
                ReleaseCapture();
                SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0);
            }
        }
    }
}

Trackback 0 : Comment 0
위로
http://gustmder.tistory.com/trackback/135 관련글 쓰기
닷넷 프레임워크 기반 소켓프로그래밍 가이드
C# | 2009/08/24 13:32
닷넷 프레임워크 기반 소켓프로그래밍 가이드



Trackback 0 : Comment 0
위로
http://gustmder.tistory.com/trackback/116 관련글 쓰기
이전 페이지 다음 페이지
보이기/숨기기 가능합니다^^
«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
보이기/숨기기 가능합니다^^
RSSFeed