DevExpress에서 DxValidationProvider 를 사용하여 유효성 검사를 합니다. using System.Windows.Forms; using DevExpress.XtraEditors.DXErrorProvider; namespace Test { public partial class Form1 : Form { public Form1() { InitializeComponent(); #region 유효성 검사 입니다. this.dxValidationProvider1.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; ConditionValidationRule validationRule = new Condit..
텍스트 박스의 값이 없거나 혹은 NULL 일 경우 메시지 박스를 호출하고 리턴해줄수 있습니다. #region CheckTextEdit(textEdit, mandatory, inputValue, labelName) /// /// 텍스트 에디트를 검사합니다. /// /// 텍스트 박스 입니다. /// 필수 여부 입니다. /// 입력 값 입니다. /// 라벨 이름 입니다. /// 유효성 여부를 리턴합니다. private bool CheckTextEdit(TextBox textBox, bool mandatory, string inputValue, string labelName) { if(mandatory) { if(string.IsNullOrEmpty(inputValue)) { MessageBox.Show($"..
- Total
- 71,406
- Today
- 8
- Yesterday
- 151
- DevExpress
- winform
- DataGridView
- database
- gridview
- ContextMenuStrip
- CheckedListBoxControl
- mariadb
- RepositoryGridLookUpEdit
- 비동기
- EditMask
- BAR
- c#
- TextEdit
- CheckEdit
- node
- SQLite
- Chart
- ComboBox
- PostgreSQL
- ComboBoxEdit
- Datasource
- LookUpEdit
- GridControl
- TreeView
- task
- TreeList
- Await
- DateEdit
- 전체 선택