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..
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
- 시스템트레이딩
- 이 행은
- c# Speech
- C# 마우스 폼이동
- framework
- 인삼키우기
- NET FRAMEWORK
- 이베스트
- MySQL
- C# textbox 커서 시작
- 스털링
- ESP32
- imemode
- 앉은뱅이 방울토마토
- 방울토마토
- c#
- ArgumentException
- 복호화
- c# 음성
- 베란타
- 베란다 방울토마토
- c# SpeechSynthesizer
- 스털링엔진
- Xingapi
- 베란다 텃밭
- C# textbox 커서 위치
- 암호화
- 드론
- 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 |