Reconfigure for GIT
This commit is contained in:
+65
@@ -0,0 +1,65 @@
|
||||
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
|
||||
|
||||
<DefaultClassOptions()> _
|
||||
<NonPersistent()> _
|
||||
<NavigationItem(False)> _
|
||||
<CreatableItem(False)> _
|
||||
Public Class PricingActionRowsSet_PopUp
|
||||
Inherits BaseObject
|
||||
|
||||
Private _ListPriceHUFPercent As Double 'Ár %-os módosítása, itt az a % os érték kell, ami majd levonódik a termék árából!!
|
||||
Private _ListPriceHUFPercent_Change As Boolean
|
||||
Private _IsAdditionalDiscount As Boolean
|
||||
Private _IsAdditionalDiscount_Change As Boolean
|
||||
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
ListPriceHUFPercent_Change = False
|
||||
IsAdditionalDiscount_Change = False
|
||||
End Sub
|
||||
|
||||
Property ListPriceHUFPercent As Double
|
||||
Get
|
||||
Return _ListPriceHUFPercent
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("ListPriceHUFPercent", _ListPriceHUFPercent, value)
|
||||
End Set
|
||||
End Property
|
||||
Property ListPriceHUFPercent_Change As Boolean
|
||||
Get
|
||||
Return _ListPriceHUFPercent_Change
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
SetPropertyValue("ListPriceHUFPercent_Change", _ListPriceHUFPercent_Change, value)
|
||||
End Set
|
||||
End Property
|
||||
Property IsAdditionalDiscount As Boolean
|
||||
Get
|
||||
Return _IsAdditionalDiscount
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
SetPropertyValue("IsAdditionalDiscount", _IsAdditionalDiscount, value)
|
||||
End Set
|
||||
End Property
|
||||
Property IsAdditionalDiscount_Change As Boolean
|
||||
Get
|
||||
Return _IsAdditionalDiscount_Change
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
SetPropertyValue("IsAdditionalDiscount_Change", _IsAdditionalDiscount_Change, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
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
|
||||
|
||||
'<ImageName("BO_Contact")> _
|
||||
'<DefaultProperty("DisplayMemberNameForLookupEditorsOfThisType")> _
|
||||
'<DefaultListViewOptions(MasterDetailMode.ListViewOnly, False, NewItemRowPosition.None)> _
|
||||
'<Persistent("DatabaseTableName")> _
|
||||
<DefaultClassOptions(), NavigationItem(False), CreatableItem(False), NonPersistent> _
|
||||
Public Class PricingProductsBarcodeCustomersPopup ' 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).
|
||||
End Sub
|
||||
|
||||
ReadOnly Property Customers As XPCollection(Of Customers)
|
||||
Get
|
||||
Return New XPCollection(Of Customers)(Session)
|
||||
End Get
|
||||
End Property
|
||||
ReadOnly Property Products As XPCollection(Of Products)
|
||||
Get
|
||||
Return New XPCollection(Of Products)(Session)
|
||||
End Get
|
||||
End Property
|
||||
Property ExpirationDate As Date
|
||||
Property ActualDate As Date
|
||||
'Private _PersistentProperty As String
|
||||
'<XafDisplayName("My display name"), ToolTip("My hint message")> _
|
||||
'<ModelDefault("EditMask", "(000)-00"), Index(0), VisibleInListView(False)> _
|
||||
'<Persistent("DatabaseColumnName"), RuleRequiredField(DefaultContexts.Save)> _
|
||||
'Public Property PersistentProperty() As String
|
||||
' Get
|
||||
' Return _PersistentProperty
|
||||
' End Get
|
||||
' Set(ByVal value As String)
|
||||
' SetPropertyValue("PersistentProperty", _PersistentProperty, value)
|
||||
' End Set
|
||||
'End Property
|
||||
|
||||
'<Action(Caption:="My UI Action", ConfirmationMessage:="Are you sure?", ImageName:="Attention", AutoCommit:=True)> _
|
||||
'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
|
||||
Reference in New Issue
Block a user