private Rectangle dragBoxFromMouseDown; private int rowIndexFromMouseDown; private int rowIndexOfItemUnderMouseToDrop; private void ItemGrid_MouseMove(object sender, MouseEventArgs e) { if ((e.Button & MouseButtons.Left) == MouseButtons.Left) { if (dragBoxFromMouseDown != Rectangle.Empty && !dragBoxFromMouseDown.Contains(e.X, e.Y)) { DragDropEffects dropEffect = Condition1Grid.DoDragDrop(Conditi..
private Point mousePoint; // 현재 마우스 포인터의 좌표저장 변수 선언 // 마우스 누를때 현재 마우스 좌표를 저장한다 private void Form1_MouseDown(object sender, MouseEventArgs e) { mousePoint = new Point(e.X, e.Y); //현재 마우스 좌표 저장 } // 마우스 왼쪽 버튼을 누르고 움직이면 폼을 이동시킨다 private void Form1_MouseMove(object sender, MouseEventArgs e) { if ((e.Button & MouseButtons.Left) == MouseButtons.Left) //마우스 왼쪽 클릭 시에만 실행 { //폼의 위치를 드래그중인 마우스의 좌표로 이동 Loc..
private Rectangle dragBoxFromMouseDown; private int rowIndexFromMouseDown; private int rowIndexOfItemUnderMouseToDrop; private void ItemGrid_MouseMove(object sender, MouseEventArgs e) { if ((e.Button & MouseButtons.Left) == MouseButtons.Left) { if (dragBoxFromMouseDown != Rectangle.Empty && !dragBoxFromMouseDown.Contains(e.X, e.Y)) { DragDropEffects dropEffect = ItemGrid.DoDragDrop(ItemGrid.Rows..
regsvr32 XA_Session.dll regsvr32 XA_DataSet.dll 같은 폴더에 파일이 존재하는데 위와 같이 명령하니까 "DLLRegisterServer 호출에 실패 했습니다" 라고 에러가 떴습니다 이걸 아래와 같이 절대경로를 입력하니까 정상적으로 실행이 되었습니다 regsvr32 C:\eBEST\xingAPI\XA_Session.dll regsvr32 C:\eBEST\xingAPI\XA_DataSet.dll
class NewProgressBar : ProgressBar { private SolidBrush brush = null; public NewProgressBar() { this.SetStyle(ControlStyles.UserPaint, true); } protected override void OnPaint(PaintEventArgs e) { if (brush == null || brush.Color != this.ForeColor) brush = new SolidBrush(this.ForeColor); Rectangle rec = new Rectangle(0, 0, this.Width, this.Height); if (ProgressBarRenderer.IsSupported) ProgressBar..
- Total
- Today
- Yesterday
- 베란다 텃밭
- MySQL
- 스털링엔진
- 스털링
- 베란타
- c# Speech
- 방울토마토
- 베란다 방울토마토
- 시스템트레이딩
- 드론
- c# SpeechSynthesizer
- 복호화
- NET FRAMEWORK
- ArgumentException
- C# textbox 커서 위치
- C# 마우스 폼이동
- imemode
- 코딩
- c#
- 암호화
- Xingapi
- framework
- C# textbox 커서 시작
- c# 음성
- 이베스트
- ESP32
- 이 행은
- C# textbox 커서 마지막
- 앉은뱅이 방울토마토
- 인삼키우기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |