Imports System Imports System.ComponentModel Imports DevExpress.Xpo Imports DevExpress.Data.Filtering Imports DevExpress.ExpressApp Imports DevExpress.Persistent.Base Imports DevExpress.Persistent.BaseImpl Imports DevExpress.Persistent.Validation _ Public Class AlertPeriodMonthly Inherits BaseObject Private _AlertPeriod As AlertPeriod Private _DayOfMonth As eDayOfMonth Private _AlertTime As DateTime Private _AlertHoure As Long Private _AlertMinute As Long Public Sub New(ByVal session As Session) MyBase.New(session) End Sub Public Overrides Sub AfterConstruction() MyBase.AfterConstruction() End Sub _ Property AlertPeriod As AlertPeriod Get Return _AlertPeriod End Get Set(value As AlertPeriod) SetPropertyValue("AlertPeriod", _AlertPeriod, value) End Set End Property Property DayOfMonth As eDayOfMonth Get Return _DayOfMonth End Get Set(value As eDayOfMonth) SetPropertyValue("DayOfMonth", _DayOfMonth, value) End Set End Property Property AlertTime As DateTime Get Return _AlertTime End Get Set(value As DateTime) SetPropertyValue("AlertTime", _AlertTime, value) End Set End Property _ Property AlertHoure As Long Get Return _AlertHoure End Get Set(value As Long) SetPropertyValue("AlertHoure", _AlertHoure, value) End Set End Property _ Property AlertMinute As Long Get Return _AlertMinute End Get Set(value As Long) SetPropertyValue("AlertMinute", _AlertMinute, value) End Set End Property ReadOnly Property DisplayName As String Get Return String.Format("Minden hónap {0} napján, {1} óra {2} perckor", DayOfMonth, AlertHoure, AlertMinute) End Get End Property End Class