Winform 5

[C#/Event] TextBox 등 Control 객체의 키보드 이벤트 샘플(KeyPress, KeyDown)

/** // KeyDown : 컨트롤에 포커스가 있을 때 키를 누르면 발생합니다. // - https://docs.microsoft.com/ko-kr/dotnet/api/system.windows.forms.control.keydown?view=net-5.0 // KeyPress : 컨트롤에 포커스가 있을 때 문자, 스페이스 또는 백스페이스 키를 누르면 발생합니다. // - https://docs.microsoft.com/ko-kr/dotnet/api/system.windows.forms.control.keypress?view=net-5.0 // KeyUp : 컨트롤에 포커스가 있을 때 키를 눌렀다 놓으면 발생합니다. // - https://docs.microsoft.com/ko-kr/dotnet/api..

[Devexpress/WinForm/C#] XtraGrid (GridView) Record 단위 Checkbox (CheckBoxRowSelect) 설정

void SetMultiSelectMode(GridView view, DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode multiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect) { view.OptionsSelection.MultiSelectMode = multiSelectMode; } string GetSelectedRows(GridView view) { //출처 : DevExpress - "Demo Center 19.2" / WinForms Demos / Data Grid and Editors / UI CUSTOMIZATION / Cell Selection str..

[C#]Window Form에 적용할 DevExpress Skin 관련 소스

참조 : http://documentation.devexpress.com/#WindowsForms/clsDevExpressSkinsSkinManagertopic using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace UserPark { static class Program { /// /// 해당 응용 프로그램의 주 진입점입니다. /// [STAThread] static void Main() { //DevExpress 보너스 스킨 등록(활성화) DevExpress.UserSkins.BonusSkins.Register(); //DevExpress.XtraEditors.XtraF..

How to Integrate Excel in a Windows Form Application using the WebBrowser

Link : How to Integrate Excel in a Windows Form Application using the WebBrowser Download demo project - 28.4 Kb Introduction With Automation, you are able to drive any Office application from your .NET application. This is really powerful. It may happen that one time, you would like to integrate such an application (Excel, for example) in your own application, and handle it like a control. A fi..