Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 1883
- 맥 어드레스
- mosquitto.conf
- pm2 상태 확인
- DataGridView 직접 입력
- 데이터테이블 데이터 넣기
- pm2 설치
- DatePicker
- mySQL_Replication
- mosquitto
- transfer
- pm2 시작
- 서버동기화
- timepicker
- Replication
- invalid data
- allow_anonymouse
- map이 undefined가 뜰 때
- setInterval 외부 정지
- pm2 확인
- setInterval 중지
- pm2
- AntDesign
- c# datagridview 데이터 넣기
- 공인IP
- setInterval 정지
- html #select #option #multiple
- listener 1883
- datagridview 직접입력
- setInterval clear
Archives
- Today
- Total
개발 노트
데이터그리드뷰 서스펜드레이아웃, 더블버퍼링 본문
데이터그리드뷰네임명.DoubleBuffered(true);
데이터그리드뷰네임명.SuspendLayout();
더블버퍼드메소드 확장
//Put this class at the end of the main class or you will have problems.
public static class ExtensionMethods // DoubleBuffered 메서드를 확장 시켜주자..
{
public static void DoubleBuffered(this DataGridView dgv, bool setting)
{
Type dgvType = dgv.GetType();
PropertyInfo pi = dgvType.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.SetProperty);
pi.SetValue(dgv, setting, null);
}
}
'프로그래밍 > C#' 카테고리의 다른 글
C# 데이터그리드뷰 focus 맞추기 (0) | 2022.03.04 |
---|---|
C# Delegate (0) | 2022.03.04 |
C# (0) | 2022.03.03 |
C# mqtt (0) | 2022.03.03 |
슬라이딩퍼즐 (0) | 2022.03.02 |