본문 바로가기
300x250

winform79

DevExpress / Winform SearchControl에 값을 입력하여 CheckedListBoxControl 항목을 필터링 하기. SearchControl에 값을 입력하여 CheckedListBoxControl 항목을 필터링 할 수 있습니다. public partial class Form1 : Form { #region Form1() /// /// 생성자 입니다. /// public Form1() { InitializeComponent(); List item = new List(); for (int i = 0; i < 5; i++) { item.Add(new Sample() { Name = "Sample" + i.ToString() }); } this.checkedListBoxControl1.DataSource = item; this.checkedListBoxControl1.DisplayMember = "Name"; this.che.. 2019. 4. 18.
DevExpress / Winform CheckedListBoxControl 전체 선택 및 전체 선택 해제하기. CheckedListBoxControl 에서 전체 선택 및 전체 선택 해제 하기 입니다. public partial class Form1 : Form { #region Form1() /// /// 생성자 입니다. /// public Form1() { InitializeComponent(); this.checkedListBoxControl1.Items.Add("Check All"); this.checkedListBoxControl1.Items.AddRange(new object[] { "가", "나", "다", "라", "마",}); this.checkedListBoxControl1.ItemCheck += checkedListBoxControl1_ItemCheck; } #endregion #region c.. 2019. 4. 18.
DevExpress / Winform GridLookUpEdit 컨트롤에 새로운 값을 추가하기. GridLookUpEdit 컨트롤에 새로운 값을 추가할 수 있습니다. 기존의 존재하는 값을 사용하거나 새로운 문자열을 입력할 수 있습니다. using DevExpress.XtraEditors; using System; using System.Collections.Generic; using System.Windows.Forms; namespace WindowsFormsApp4 { public partial class Form1 : Form { #region Form1() /// /// 생성자 입니다. /// public Form1() { InitializeComponent(); InitLookUpEdit(); InitGridLookUpEdit(); } #endregion #region InitLookUpE.. 2019. 4. 18.
DevExpress / Winform CheckedComboBoxEdit에 열겨형 값 표시하기. CheckedComboBoxEdit에 열겨형 값을 표시할 수 있습니다. using DevExpress.XtraEditors; using System; using System.Windows.Forms; namespace WindowsFormsApp4 { public partial class Form1 : Form { /// /// Color 열거형 입니다. /// enum MyColors { None = 0x00, Black = 0x01, White = 0x02, Blue = 0x04, Yellow = 0x08, Green = Blue | Yellow } #region Form1() /// /// 생성자 입니다. /// public Form1() { InitializeComponent(); this.che.. 2019. 4. 17.
300x250