Keep it up

  • HOME
  • TAG
  • MEDIA
  • LOCATION
  • GUEST
  • ADMIN
  • WRITE

Gridview 2

C# gridview row를 이동 할 경우 이동한 row가 화면 중앙으로 되게 하기

gridview에서 row를 이동할 경우 해당 row가 맨위나 맨 아래로 갈 경우가 많은데 이럴 경우 아래 코드로 적용해주면 이동한 row가 화면 중앙에 위치하여 보기 편해짐 ----------------------------------------------------------------------------- if (nRow > OutlookGrid_main.DisplayedRowCount(false) / 2) OutlookGrid_main.FirstDisplayedScrollingRowIndex = nRow - OutlookGrid_main.DisplayedRowCount(false) / 2; OutlookGrid_main.Refresh(); -------------------------------..

프로그래밍/C# 2013.09.27

C# Disable Buttons in a Button Column in the Windows Forms DataGridView Control

using System; using System.Drawing; using System.Windows.Forms; using System.Windows.Forms.VisualStyles; class Form1 : Form { private DataGridView dataGridView1 = new DataGridView(); [STAThread] public static void Main() { Application.EnableVisualStyles(); Application.Run(new Form1()); } public Form1() { this.AutoSize = true; this.Load += new EventHandler(Form1_Load); } public void Form1_Load(ob..

프로그래밍/C# 2013.09.27
이전
1
다음
더보기
프로필사진

Keep it up

  • 몽땅 보기(All) (87)
    • Relate_work (0)
    • 프로그래밍 (61)
      • Python (6)
      • C# (37)
      • Java (2)
      • Linux (8)
      • SSMS (3)
      • MongoDB (2)
      • Mysql (0)
      • iOS (0)
      • 토이프로젝트 (0)
      • 기타 (3)
    • 마음의 여유 (26)
      • 축제 (4)
      • 전시회 (5)
      • 디자인 (4)
      • 아이디어 (7)
      • 영화 (1)
      • 냥이들 (2)
      • 멍뭉이들 (2)

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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

공지사항

최근댓글

최근글과 인기글

  • 최근글
  • 인기글

Tag

SQL, MongoDB, 201사진관, regex, 르아인, 위례사진관, WebRequest, 머미쿨쿨, Gridview, 고양이, convert, C#, DataSet, 자바, 위례, 페스티벌, invoke, 송파사진관, windows 추천, getfiles,

방문자수Total

  • Today :
  • Yesterday :
07-08 13:16

Copyright © Kakao Corp. All rights reserved.

티스토리툴바