일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- attr()
- microsoft
- 오라클
- 비주얼스튜디오
- SSRS
- 윈도우
- oracle
- IIS
- 마이크로소프트
- DataGrid
- replace()
- ASP
- MSSQL
- aspnet
- windows
- 태그를 입력해 주세요.
- jQuery
- 프로시저
- 엑셀
- 윈폼
- Excel
- 자바스크립트
- 리포팅서비스
- javascript
- 단축키
- MS
- CONVERT()
- c#
- 이클립스
- Winform
- Today
- Total
목록분류 전체보기 (389)
DJ메탈짱™의 Free Style
private void Form1_Load(object sender, EventArgs e) { foreach (System.Windows.Forms.Keys key in Enum.GetValues(typeof(System.Windows.Forms.Keys))) { comboBoxKeys.Items.Add(new { Value = key, Description = GetDescription(key) }); } comboBoxKeys.DisplayMember = "Description"; } private string GetDescription(System.Windows.Forms.Keys key) { switch(key) { case Keys.OemPipe: return "Better oem pipe d..
일반적으로 목록화면과 등록화면을 만든다고 했을때. 목록화면에서는 등록화면을 등록하거나 수정할 수 있는데... 이때 등록/수정화면에서 결과값이 반영이 되는 것으로 보려면 목록화면이 새로고침(Refresh) 되어야 하는데... 웹폼과 달리 윈폼에서는 아래와 같이 약간의 조작이 필요함. 출처 : http://stackoverflow.com/questions/3838618/refresh-mdi-parent-window-datagrid-after-closing-child-window-in-c-net-windows
유저컨트롤(UserControl), 텍스트박스(TextBox)에 Form 로딩시 Focus 설정하기... Form에서는 this.Textbox1.Focus() 와 같이 설정하면 Focus가 잘 먹는다... 하지만 UserControl에 있는 Textbox라면 Focus() 가 동작하지 않음.... 이럴땐 UserControl의 Load이벤트에서 Focus() --> Select() 를 사용하여 Focus 설정을 해보자.
Infragstics, UltraGrid, WinGrid, Scrollbar, 울트라그리드, 스크롤바,스크롤바영역, 숨기기 // Scrollbar 영역을 숨기기 위해 ViewStyle 속성 설정. this.keGrid2.DisplayLayout.ViewStyle= ViewStyle.SingleBand;
Infragstics, Wingrid, Cell, RightClick, ContextMenu, MenuItems, 울트라그리드, 셀, 우클릭, 메뉴아이템 /// /// 셀에 대한 마우스 우클릭(ContextMenu)시 MenuItem 설정 /// /// private void ShowContextMenu(Point mousePoint) { ContextMenu cMenu = new ContextMenu(); for (int i = 0; i < 3; i++) { cMenu.MenuItems.Add(i.ToString(), MenuItemClick); } foreach (MenuItem c in cMenu.MenuItems) { if (c.Index == 1) { c.Enabled = false; } } c..
Cell, Row에 Border 가 나오지 않도록 설정. 속성창 > DisplayLayout > Override > CellAppearance > BorderColor = "Transparent"속성창 > DisplayLayout > Override > RowAppearance > BorderColor = "Transparent" -------------------------------------------------------------------------------------------아래는 Online 도움말....using Infragistics.Win; private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraW..
/// /// 1.설정된 row, column에 따라 테이블 레이아웃 그려주기. /// 2.xml결과값에 따라 해당 영역의 속성값확인. /// 3.해당 클래스의 시설물,Seat 등의 속성에 따른 아이콘 & 툴팁 설정. /// /// /// private void SeatGenerateTableLayOut(int columnCount, int rowCount) { //Clear out the existing controls, we are generating a new table layout keTableLayoutPanel1.Controls.Clear(); //Clear out the existing row and column styles keTableLayoutPanel1.ColumnStyles.Clea..
그림1) 1. Properties의 Resources.resx 더블클릭하면 좌측화면과 같이 등록된 파일들이 보인다. 2. 리소스 추가 메뉴를 통해 "기존 파일 추가" 또는 새롭게 추가할 수 있다. 그림2) 선택된 리소스 파일의 빌드 작업 메뉴를 "포함 리소스" 선택 후 빌드 하면 cs에서 쉽게 접근가능. 예제) Label 컨트롤의 배경이미지를 설정하는 방법. // 리소스에 등록된 11.gif 이미지 파일을 사용하는 방법 label1.Appearance.Image = Properties.Resources._11;
Grid속성창에서 DisplayLayout > GroupByBox > Hidden = "True"