Imports Microsoft.VisualBasic Imports System Imports System.Linq Imports System.Text Imports DevExpress.Xpo Imports DevExpress.ExpressApp Imports System.ComponentModel Imports DevExpress.ExpressApp.DC Imports DevExpress.Data.Filtering Imports DevExpress.Persistent.Base Imports System.Collections.Generic Imports DevExpress.ExpressApp.Model Imports DevExpress.Persistent.BaseImpl Imports DevExpress.Persistent.Validation ' _ ' _ ' _ ' _ Public Enum eGLRowsTypeSelect eOpen = 0 eClose = 1 eBoth = 2 End Enum _ Public Class GLAccountsOpenClosePCIPopup ' Specify more UI options using a declarative approach (http://documentation.devexpress.com/#Xaf/CustomDocument2701). Inherits BaseObject ' Inherit from a different class to provide a custom primary key, concurrency and deletion behavior, etc. (http://documentation.devexpress.com/#Xaf/CustomDocument3146). Public Sub New(ByVal session As Session) MyBase.New(session) End Sub Public Overrides Sub AfterConstruction() MyBase.AfterConstruction() ' Place your initialization code here (http://documentation.devexpress.com/#Xaf/CustomDocument2834). YearClose = Now.Year GLRowsTypeSelect = eGLRowsTypeSelect.eBoth End Sub Private _YearClose As Long Private _GLRowsTypeSelect As eGLRowsTypeSelect Property YearClose As Long Get Return _YearClose End Get Set(value As Long) SetPropertyValue("YearClose", _YearClose, value) End Set End Property Property GLRowsTypeSelect As eGLRowsTypeSelect Get Return _GLRowsTypeSelect End Get Set(value As eGLRowsTypeSelect) SetPropertyValue("GLRowsTypeSelect", _GLRowsTypeSelect, value) End Set End Property 'Private _PersistentProperty As String ' _ ' _ ' _ 'Public Property PersistentProperty() As String ' Get ' Return _PersistentProperty ' End Get ' Set(ByVal value As String) ' SetPropertyValue("PersistentProperty", _PersistentProperty, value) ' End Set 'End Property ' _ 'Public Sub ActionMethod() ' ' Trigger a custom business logic for the current record in the UI (http://documentation.devexpress.com/#Xaf/CustomDocument2619). ' Me.PersistentProperty = "Paid" 'End Sub End Class