First create solution

This commit is contained in:
2017-03-08 11:21:27 +01:00
commit a2fb86bacf
5508 changed files with 1082238 additions and 0 deletions
@@ -0,0 +1,61 @@
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
Imports DevExpress.ExpressApp.ConditionalAppearance
'
<DefaultClassOptions()> _
<NavigationItem(False)> _
<CreatableItem(False)> _
<NonPersistent()> _
<Appearance("OpenRTFDocument_PopUp - Hide BusinessDirectory all time", AppearanceItemType.ViewItem, "1=1", TargetItems:="BusinessDirectory", visibility:=Editors.ViewItemVisibility.Hide)> _
<Appearance("OpenRTFDocument_PopUp - Hide CRM_Opportunities all time", AppearanceItemType.ViewItem, "1=1", TargetItems:="CRM_Opportunities", visibility:=Editors.ViewItemVisibility.Hide)> _
<Appearance("OpenRTFDocument_PopUp - Hide aOpenRTFDocument_SaveBusinessDiretory", AppearanceItemType.Action, "IsNull(CRM_Opportunities)=False", TargetItems:="aOpenRTFDocument_SaveBusinessDiretory", visibility:=Editors.ViewItemVisibility.Hide)> _
<Appearance("OpenRTFDocument_PopUp - Hide aOpenRTFDocument_SaveToCRM_Lead", AppearanceItemType.Action, "IsNull(CRM_Opportunities)", TargetItems:="aOpenRTFDocument_SaveToCRM_Lead", visibility:=Editors.ViewItemVisibility.Hide)> _
Public Class OpenRTFDocument_PopUp
Inherits BaseObject
Private _RTFText As String
Private _BusinessDirectory As BusinessDirectory
Private _CRM_Opportunities As CRM_Opportunities
Public Sub New(ByVal session As Session)
MyBase.New(session)
End Sub
Public Overrides Sub AfterConstruction()
MyBase.AfterConstruction()
End Sub
<Size(-1)> _
Property RTFText As String
Get
Return _RTFText
End Get
Set(value As String)
SetPropertyValue("RTFText", _RTFText, value)
End Set
End Property
Property BusinessDirectory As BusinessDirectory
Get
Return _BusinessDirectory
End Get
Set(value As BusinessDirectory)
SetPropertyValue("BusinessDirectory", _BusinessDirectory, value)
End Set
End Property
Property CRM_Opportunities As CRM_Opportunities
Get
Return _CRM_Opportunities
End Get
Set(value As CRM_Opportunities)
SetPropertyValue("CRM_Opportunities", _CRM_Opportunities, value)
End Set
End Property
End Class
@@ -0,0 +1,72 @@
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 OpenSpreadDocument_Popup ' 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).
Private _BusinessDirectory As BusinessDirectory
Private _SpreadXML As String
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
Property BusinessDirectory As BusinessDirectory
Get
Return _BusinessDirectory
End Get
Set(value As BusinessDirectory)
SetPropertyValue("BusinessDirectory", _BusinessDirectory, value)
End Set
End Property
<Size(-1)> _
Property SpreadXML As String
Get
Return _SpreadXML
End Get
Set(value As String)
SetPropertyValue("SpreadXML", _SpreadXML, value)
End Set
End Property
'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
@@ -0,0 +1,37 @@
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(), NavigationItem(False), NonPersistent, CreatableItem(False)> _
Public Class RTFDocumentsCreatorHeader
Inherits BaseObject
Private _RTFDocumentsCreatorRows As IList(Of RTFDocumentsCreatorRows)
Public Sub New(ByVal session As Session)
MyBase.New(session)
End Sub
Public Overrides Sub AfterConstruction()
MyBase.AfterConstruction()
' Place here your initialization code.
_RTFDocumentsCreatorRows = New List(Of RTFDocumentsCreatorRows)
End Sub
Property RTFExportFileType As eRTFExportFileType
<Size(255)> Property FileName As String
<ImmediatePostData(True), DataSourceCriteria("IsFolder=True")>
Property BusinessDirectory As BusinessDirectory
ReadOnly Property RTFDocumentsCreatorRows As IList(Of RTFDocumentsCreatorRows)
Get
Return _RTFDocumentsCreatorRows
End Get
End Property
End Class
@@ -0,0 +1,26 @@
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(), NavigationItem(False), NonPersistent, CreatableItem(False)> _
Public Class RTFDocumentsCreatorRows
Inherits BaseObject
Public Sub New(ByVal session As Session)
MyBase.New(session)
End Sub
Public Overrides Sub AfterConstruction()
MyBase.AfterConstruction()
End Sub
Property RTFDocumentsCreatorHeader As RTFDocumentsCreatorHeader
Property InfoString As String
Property ValueString As String
End Class