Reconfigure for GIT

This commit is contained in:
2017-03-26 20:00:03 +02:00
commit 00637826ab
8056 changed files with 535977 additions and 0 deletions
@@ -0,0 +1,32 @@
Partial Class DocumentsVC
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
End Sub
End Class
@@ -0,0 +1,36 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Imports DevExpress.ExpressApp.SystemModule
Imports DevExpress.ExpressApp.Web.SystemModule
Public Class DocumentsVC
Inherits DevExpress.ExpressApp.ViewController
Public Sub New()
MyBase.New()
'This call is required by the Component Designer.
InitializeComponent()
RegisterActions(components)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
If View.Id = "Installation_InstallationDocumentations_ListView_Support" Then
Frame.GetController(Of NewObjectViewController).Active.SetItemValue("", False)
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", False)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
Frame.GetController(Of DetailViewEditorActionController).Active.SetItemValue("", False)
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
End If
End Sub
End Class
@@ -0,0 +1,32 @@
Partial Class InstallationVC
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
End Sub
End Class
@@ -0,0 +1,35 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Imports DevExpress.ExpressApp.CloneObject
Public Class InstallationVC
Inherits DevExpress.ExpressApp.ViewController
Public Sub New()
MyBase.New()
'This call is required by the Component Designer.
InitializeComponent()
RegisterActions(components)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
If View.Id = "Installation_InstallationDocumentations_ListView_Support" Then
Frame.GetController(Of CloneObjectViewController).Active.SetItemValue("", False)
End If
End Sub
Protected Overrides Sub OnDeactivated()
MyBase.OnDeactivated()
If View.Id = "Installation_InstallationDocumentations_ListView_Support" Then
Frame.GetController(Of CloneObjectViewController).Active.SetItemValue("", True)
End If
End Sub
End Class
@@ -0,0 +1,50 @@
Partial Class PCIGroupVC
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Me.aViewBill = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
'
'aViewBill
'
Me.aViewBill.Caption = "aView Bill"
Me.aViewBill.ConfirmationMessage = Nothing
Me.aViewBill.Id = "aViewBill"
Me.aViewBill.ImageName = Nothing
Me.aViewBill.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
Me.aViewBill.Shortcut = Nothing
Me.aViewBill.Tag = Nothing
Me.aViewBill.TargetObjectsCriteria = Nothing
Me.aViewBill.TargetObjectType = GetType(SISBusiness.[Module].PCIGroup)
Me.aViewBill.TargetViewId = Nothing
Me.aViewBill.ToolTip = Nothing
Me.aViewBill.TypeOfView = Nothing
End Sub
Friend WithEvents aViewBill As DevExpress.ExpressApp.Actions.SimpleAction
End Class
@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="aViewBill.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>
@@ -0,0 +1,81 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Imports DevExpress.ExpressApp.Web.SystemModule
Imports System.IO
Imports DevExpress.Data.Filtering
Imports DevExpress.Web.Internal
Imports System.Web
Imports System.Net
Imports DevExpress.ExpressApp.Web
Public Class PCIGroupVC
Inherits DevExpress.ExpressApp.ViewController
Public Sub New()
MyBase.New()
'This call is required by the Component Designer.
InitializeComponent()
RegisterActions(components)
Me.TargetObjectType = GetType(SISBusiness.Module.PCIGroup)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
Frame.GetController(Of PCIGroupVC).aViewBill.Active.SetItemValue("", False)
If View.Id = "PCIGroup_ListView_Support" Then
Frame.GetController(Of PCIGroupVC).aViewBill.Active.SetItemValue("", True)
End If
If View.Id = "PCIGroup_ListView_Subcontractor" Then
Frame.GetController(Of PCIGroupVC).aViewBill.Active.SetItemValue("", True)
End If
End Sub
Protected Overrides Sub OnDeactivated()
MyBase.OnDeactivated()
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", True)
End Sub
Private Sub aViewBill_Execute(sender As System.Object, e As DevExpress.ExpressApp.Actions.SimpleActionExecuteEventArgs) Handles aViewBill.Execute
Dim _ocur As Xpo.XPObjectSpace = TryCast(View.ObjectSpace, Xpo.XPObjectSpace)
Dim _PCIGroup As PCIGroup = TryCast(View.SelectedObjects(0), PCIGroup)
If _PCIGroup IsNot Nothing Then
If _PCIGroup.PartnerType = ePartnerType.eReceivables Then
Dim _InvoiceHeader As InvoiceHeader = _ocur.FindObject(Of InvoiceHeader)(CriteriaOperator.Parse("CustomersFrom.Oid=? and Customers.Oid=? and DocumentNumber=?", _PCIGroup.CustomersFrom.Oid, _PCIGroup.Customers.Oid, _PCIGroup.DocumentNumber))
If _InvoiceHeader IsNot Nothing Then
If _InvoiceHeader.PDF_Copy IsNot Nothing Then
Dim _FileStream As New MemoryStream
_InvoiceHeader.PDF_Copy.SaveToStream(_FileStream)
WebApplication.Redirect("GetAttachments.ashx?id=" & _InvoiceHeader.PDF_Copy.Oid.ToString)
End If
End If
ElseIf _PCIGroup.PartnerType = ePartnerType.ePayabels Then
Dim _RegistryHeader As RegistryHeader = _ocur.FindObject(Of RegistryHeader)(CriteriaOperator.Parse("CustomersFrom.Oid=? and Customers.Oid=? and DocumentNumber=?", _PCIGroup.CustomersFrom.Oid, _PCIGroup.Customers.Oid, _PCIGroup.DocumentNumber))
If _RegistryHeader IsNot Nothing Then
If _RegistryHeader.DocumentFile IsNot Nothing Then
Dim _FileStream As New MemoryStream
_RegistryHeader.DocumentFile.SaveToStream(_FileStream)
WebApplication.Redirect("GetAttachments.ashx?id=" & _RegistryHeader.DocumentFile.Oid.ToString)
End If
End If
End If
End If
End Sub
End Class
@@ -0,0 +1,31 @@
Partial Class AboutInfoCustomizationVC
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
End Sub
End Class
@@ -0,0 +1,54 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Imports DevExpress.ExpressApp.SystemModule
Imports DevExpress.Persistent.BaseImpl
Imports DevExpress.Data.Filtering
Public Class AboutInfoCustomizationVC
Inherits DevExpress.ExpressApp.WindowController
Public Sub New()
MyBase.New()
'This call is required by the Component Designer.
InitializeComponent()
RegisterActions(components)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
AboutInfo.Instance.AboutInfoString = GetCustomAboutString()
End Sub
Function GetCustomAboutString() As String
Dim _CustomAboutString As String = ""
Dim _User As User
Dim _Contacts As Contacts
Dim _onew As Xpo.XPObjectSpace = Application.CreateObjectSpace
Dim _PartnerInfo As String = ""
_User = _onew.GetObject(TryCast(SecuritySystem.CurrentUser, User))
If _User IsNot Nothing Then
_Contacts = _onew.FindObject(Of Contacts)(CriteriaOperator.Parse("User=?", _User))
If _Contacts IsNot Nothing Then
_PartnerInfo = _Contacts.Customers.FullName
End If
End If
_CustomAboutString = TryCast(SecuritySystem.CurrentUser, User).FullName & "<br>"
_CustomAboutString += "<b>" & _PartnerInfo & "</b><br><br>"
_CustomAboutString += Application.Model.Application.Description & "<br>"
_CustomAboutString += "Version: " & System.Reflection.Assembly.GetExecutingAssembly.GetName.Version.ToString & "<br>"
_CustomAboutString += "Copyright (C) " & Application.Model.Copyright
Return _CustomAboutString
End Function
End Class
@@ -0,0 +1,32 @@
Partial Class HTMLEditorUserVC
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
End Sub
End Class
@@ -0,0 +1,76 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Imports DevExpress.Web.ASPxHtmlEditor
Imports DevExpress.ExpressApp.HtmlPropertyEditor.Web
Imports System.Web.UI.WebControls
Imports System.Web.UI
Imports DevExpress.ExpressApp.Editors
Public Class HTMLEditorUserVC
Inherits DevExpress.ExpressApp.ViewController(Of DetailView)
Private htmlEditors As ArrayList
Public Sub New()
MyBase.New()
htmlEditors = New ArrayList
htmlEditors.Clear()
'This call is required by the Component Designer.
InitializeComponent()
RegisterActions(components)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
Dim fView As DetailView = TryCast(View, DetailView)
If (Not fView Is Nothing) AndAlso (fView.ViewEditMode = ViewEditMode.View) Then
fView.ViewEditMode = ViewEditMode.Edit
End If
End Sub
Protected Overrides Sub OnViewControlsCreated()
MyBase.OnViewControlsCreated()
Dim editor As ASPxHtmlPropertyEditor
Dim htmlEditor As ASPxHtmlEditor
If View.ViewEditMode = Editors.ViewEditMode.Edit Then
For Each editor In View.GetItems(Of ASPxHtmlPropertyEditor)()
If editor.Control IsNot Nothing Then
htmlEditor = TryCast(editor.Control, Table).Rows(0).Cells(1).Controls(0)
If htmlEditor IsNot Nothing Then
htmlEditors.Add(htmlEditor)
End If
End If
Next
AddHandler TryCast(View.Control, Control).PreRender, AddressOf ChangeHtmlEditorWidthController_PreRender
End If
End Sub
Sub ChangeHtmlEditorWidthController_PreRender(sender As Object, e As EventArgs)
Dim htmlEditor As ASPxHtmlEditor
Dim _Toolbar As DevExpress.Web.ASPxHtmlEditor.HtmlEditorToolbar
Dim _ToolbarItem As DevExpress.Web.ASPxHtmlEditor.HtmlEditorToolbarItem
For Each htmlEditor In htmlEditors
htmlEditor.Width = Unit.Percentage(100)
'-- InsertImage tiltása.
For Each _Toolbar In htmlEditor.Toolbars
For Each _ToolbarItem In _Toolbar.Items
If TryCast(_ToolbarItem, ToolbarInsertImageDialogButton) IsNot Nothing Then
_ToolbarItem.Visible = False
End If
If TryCast(_ToolbarItem, ToolbarInsertLinkDialogButton) IsNot Nothing Then
_ToolbarItem.Visible = False
End If
If TryCast(_ToolbarItem, ToolbarUnlinkButton) IsNot Nothing Then
_ToolbarItem.Visible = False
End If
Next
Next
Next
htmlEditors.Clear()
End Sub
End Class
@@ -0,0 +1,32 @@
Partial Class CustomersMeeting_VC
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
End Sub
End Class
@@ -0,0 +1,34 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Imports DevExpress.ExpressApp.SystemModule
Public Class CustomersMeeting_VC
Inherits DevExpress.ExpressApp.ViewController
Public Sub New()
MyBase.New()
InitializeComponent()
RegisterActions(components)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
If View.Id = "CustomersMeeting_DetailView_Support" Then
Frame.GetController(Of DetailViewController).SaveAction.Active.SetItemValue("", False)
Frame.GetController(Of DetailViewController).SaveAndCloseAction.Active.SetItemValue("", False)
End If
End Sub
Protected Overrides Sub OnDeactivated()
MyBase.OnDeactivated()
If View.Id = "CustomersMeeting_DetailView_Support" Then
Frame.GetController(Of DetailViewController).SaveAction.Active.SetItemValue("", True)
Frame.GetController(Of DetailViewController).SaveAndCloseAction.Active.SetItemValue("", True)
End If
End Sub
End Class
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Application>
<ActionDesign>
<Actions>
<Action Id="aSupportNavigationDisable" Caption="Tiltás" />
<Action Id="aSupportNavigationEnable" Caption="Engedélyezés" />
<Action Id="Logoff" Caption="Kijelentkezés" />
</Actions>
</ActionDesign>
<Views>
<DetailView Id="ChangePasswordOnLogonParameters_DetailView" Caption="Jelszó módosítása az első bejelentkezéskor">
<Items>
<StaticText Id="ChangePasswordText" Text="Biztonsági okokból most meg kell adnia a saját jelszavát. Kérjük adja meg új jelszavát az alábbi két szöveges mezőben, és győződjön meg arról, hogy nem használta ezt már korábban." />
</Items>
</DetailView>
<DetailView Id="Reply_DetailView">
<Layout>
<LayoutGroup Id="Main" Caption="Main">
<LayoutGroup Id="SimpleEditors" Caption="SimpleEditors">
<LayoutGroup Id="Reply" Caption="Reply" />
</LayoutGroup>
</LayoutGroup>
</Layout>
</DetailView>
</Views>
</Application>
@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="utf-8"?>
<Application Title="SISBusiness.Module.Web.SupportModule" Subtitle="Powered by eXpressApp Framework" Company="Developer Express Inc" Logo="ExpressAppLogo">
<ActionDesign>
<Actions>
<Action Id="aSupportNavigationDisable" ImageName="Action_Deny" />
<Action Id="aSupportNavigationEnable" ImageName="Action_Grant" />
<Action Id="aViewBill" ImageName="text_find" Caption="Számla PDF" />
</Actions>
</ActionDesign>
<BOModel>
<Class Name="DevExpress.Persistent.BaseImpl.User" IsClonable="False" />
<Class Name="SISBusiness.Module.Contracts">
<OwnMembers>
<Member Name="CurrencyName" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="CurrencyName_Invoice" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="CustomersFrom" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</OwnMembers>
</Class>
<Class Name="SISBusiness.Module.CRM_Opportunities">
<OwnMembers>
<Member Name="CustomersFrom" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</OwnMembers>
</Class>
<Class Name="SISBusiness.Module.InstallationDocumentations">
<OwnMembers>
<Member Name="Installation" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="RowGroup1" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="RowGroup2" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="Status" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</OwnMembers>
</Class>
<Class Name="SISBusiness.Module.OfferOutHeader">
<OwnMembers>
<Member Name="Contact" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="CurrencyName" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="Customers" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="CustomersFrom" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="PaymentOption" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="QualityOption" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="ShipmentOption" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="UserCreated" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</OwnMembers>
</Class>
<Class Name="SISBusiness.Module.PCIGroup">
<OwnMembers>
<Member Name="CurrencyName" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="CurrencyName_Account" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="Customers" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="CustomersFrom" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</OwnMembers>
</Class>
<Class Name="SISBusiness.Module.Question">
<OwnMembers>
<Member Name="Subject" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</OwnMembers>
</Class>
<Class Name="SISBusiness.Module.WorkSheet_Header">
<OwnMembers>
<Member Name="CurrencyName" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="Customers" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<Member Name="CustomersFrom" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</OwnMembers>
</Class>
</BOModel>
<SchemaModules>
<SchemaModule Name="SchedulerAspNetModule" Version="12.1.8.0" IsNewNode="True" />
<SchemaModule Name="SchedulerModuleBase" Version="12.1.8.0" IsNewNode="True" />
<SchemaModule Name="SystemModule" Version="12.1.8.0" IsNewNode="True" />
</SchemaModules>
<Views>
<DetailView Id="CustomersMeeting_DetailView_Support" AllowEdit="False">
<Items>
<PropertyEditor Id="Customers" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<PropertyEditor Id="CustomersMeetingDocuments" AllowEdit="True" />
<PropertyEditor Id="DateExecution" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<PropertyEditor Id="Description" PropertyEditorType="DevExpress.ExpressApp.HtmlPropertyEditor.Web.ASPxHtmlPropertyEditor" AllowEdit="False" />
<PropertyEditor Id="DocumentNumber" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" AllowEdit="False" />
<PropertyEditor Id="MeetPlace" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<PropertyEditor Id="ObjectCreated" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<PropertyEditor Id="ShortName" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<PropertyEditor Id="UserCreated" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</Items>
<Layout>
<TabbedGroup Id="Item1">
<LayoutGroup Id="Main" ImageName="">
<LayoutGroup Id="SimpleEditors" RelativeSize="15" ImageName="" />
<LayoutGroup Id="SizeableEditors" RelativeSize="84" ImageName="">
<LayoutItem Id="Description" ShowCaption="False" />
</LayoutGroup>
</LayoutGroup>
</TabbedGroup>
</Layout>
</DetailView>
<ListView Id="CustomersMeeting_ListView_Support" DetailViewID="CustomersMeeting_DetailView_Support" AllowEdit="False" IsListViewProcess="True">
<Columns>
<ColumnInfo Id="Customers" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<ColumnInfo Id="UserCreated" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</Columns>
</ListView>
<ListView Id="Installation_InstallationDocumentations_ListView_Support">
<Columns>
<ColumnInfo Id="Installation" GroupIndex="0" Index="0" />
<ColumnInfo Id="File" Index="1" />
</Columns>
</ListView>
<ListView Id="OfferOutHeader_ListView_Support" AllowDelete="False" AllowNew="False" AutoExpandAllGroups="False">
<Columns>
<ColumnInfo Id="CustomersFrom" Index="0" GroupIndex="0" />
<ColumnInfo Id="DocumentNumber" Index="1" />
<ColumnInfo Id="DateCreated" Index="2" />
<ColumnInfo Id="Description" Index="3" />
<ColumnInfo Id="OfferOutState" Index="3" Removed="True" />
<ColumnInfo Id="OfferLOSTReason" Index="4" Removed="True" />
<ColumnInfo Id="PaymentOption" Index="4" />
<ColumnInfo Id="Customers" Index="5" Removed="True" />
<ColumnInfo Id="ShipmentOption" Index="5" />
<ColumnInfo Id="Contact" Index="6" Removed="True" />
<ColumnInfo Id="QualityOption" Index="6" />
<ColumnInfo Id="SumPriceHUF" Index="7" />
<ColumnInfo Id="CurrencyName" Index="8" />
<ColumnInfo Id="DateExecution" Index="8" Removed="True" />
<ColumnInfo Id="DatePayment" Index="9" Removed="True" />
<ColumnInfo Id="SumPriceDEV" Index="9" />
<ColumnInfo Id="ObjectCreated" Index="16" Removed="True" />
<ColumnInfo Id="@92b15479-2ea2-40ee-9008-47dc734041ad" PropertyName="PDF_Original" IsNewNode="True" />
<ColumnInfo Id="DocumentOutNumber" Removed="True" />
<ColumnInfo Id="OfferLOSTReasonDescription" Removed="True" />
<ColumnInfo Id="OfferOutParameters" Removed="True" />
</Columns>
</ListView>
<DetailView Id="Question_DetailView_User">
<Items>
<PropertyEditor Id="Subject" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxStringPropertyEditor" />
</Items>
</DetailView>
<ListView Id="Question_ListView_Customers">
<Columns>
<ColumnInfo Id="User" GroupIndex="0" />
</Columns>
</ListView>
<DetailView Id="Reply_DetailView">
<Items>
<PropertyEditor Id="Description" PropertyEditorType="DevExpress.ExpressApp.HtmlPropertyEditor.Web.ASPxHtmlPropertyEditor" />
</Items>
<Layout>
<LayoutGroup Id="Main" RelativeSize="100" ImageName="" CaptionLocation="Default" CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default">
<LayoutGroup Id="SimpleEditors" RelativeSize="5" ImageName="" CaptionLocation="Default" CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default">
<LayoutGroup Id="Reply" RelativeSize="100" ImageName="" Direction="Vertical" CaptionLocation="Default" CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default">
<LayoutItem Id="Question" ViewItem="Question" Index="0" RelativeSize="100" IsNewNode="True" Removed="True" />
<LayoutItem Id="ObjectCreated" Index="1" RelativeSize="48" ViewItem="ObjectCreated" Removed="True" />
<LayoutItem Id="UserCreated" ViewItem="UserCreated" Index="1" RelativeSize="50" Removed="True" />
</LayoutGroup>
</LayoutGroup>
</LayoutGroup>
</Layout>
</DetailView>
<DetailView Id="User_DetailView" AllowDelete="False" AllowNew="False">
<Items>
<PropertyEditor Id="ChangePasswordOnFirstLogon" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<PropertyEditor Id="IsActive" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
<PropertyEditor Id="Permissions" Removed="True" />
<PropertyEditor Id="Roles" Removed="True" />
<PropertyEditor Id="UserName" PropertyEditorType="DevExpress.ExpressApp.Web.Editors.ASPx.ASPxDefaultPropertyEditor" />
</Items>
<Layout>
<LayoutGroup Id="Main" Caption="Main" ImageName="" CaptionLocation="Default" CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default" RelativeSize="100">
<LayoutGroup Id="SimpleEditors" RelativeSize="37" ImageName="">
<LayoutGroup Id="User" RelativeSize="28" ImageName="">
<LayoutItem Id="UserName" SizeConstraintsType="Default" RelativeSize="37" />
<LayoutItem Id="ChangePasswordOnFirstLogon" SizeConstraintsType="Default" RelativeSize="27" />
<LayoutItem Id="IsActive" SizeConstraintsType="Default" RelativeSize="34" />
</LayoutGroup>
<LayoutGroup Id="Person" RelativeSize="36" ImageName="">
<LayoutGroup Id="Person_col1" RelativeSize="48" ImageName="">
<LayoutItem Id="FirstName" SizeConstraintsType="Default" RelativeSize="36" />
<LayoutItem Id="LastName" SizeConstraintsType="Default" RelativeSize="27" />
<LayoutItem Id="MiddleName" SizeConstraintsType="Default" RelativeSize="36" />
</LayoutGroup>
<LayoutGroup Id="Person_col2" RelativeSize="48" ImageName="">
<LayoutItem Id="Birthday" SizeConstraintsType="Default" RelativeSize="36" />
<LayoutItem Id="FullName" SizeConstraintsType="Default" RelativeSize="27" />
<LayoutItem Id="Email" SizeConstraintsType="Default" RelativeSize="36" />
</LayoutGroup>
</LayoutGroup>
<LayoutGroup Id="Party" RelativeSize="35" ImageName="">
<LayoutItem Id="Photo" SizeConstraintsType="Default" RelativeSize="27" />
<LayoutItem Id="Address1" SizeConstraintsType="Default" RelativeSize="22" />
<LayoutItem Id="Address2" SizeConstraintsType="Default" RelativeSize="22" />
<LayoutItem Id="DisplayName" SizeConstraintsType="Default" RelativeSize="27" />
</LayoutGroup>
</LayoutGroup>
<TabbedGroup Id="Tabs" CaptionLocation="Default" CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default" Index="1" RelativeSize="62">
<LayoutGroup Id="Permissions" Index="0" RelativeSize="100" Removed="True">
<LayoutItem Id="Permissions" ViewItem="" SizeConstraintsType="Default" RelativeSize="100" />
</LayoutGroup>
<LayoutGroup Id="PhoneNumbers" Index="0" RelativeSize="100" ImageName="telephone">
<LayoutItem Id="PhoneNumbers" SizeConstraintsType="Default" RelativeSize="100" />
</LayoutGroup>
<LayoutGroup Id="Roles" ShowCaption="True" Index="0" RelativeSize="100" Removed="True">
<LayoutItem Id="Roles" ShowCaption="False" ViewItem="" SizeConstraintsType="Default" Index="0" RelativeSize="100" IsNewNode="True" />
</LayoutGroup>
</TabbedGroup>
</LayoutGroup>
</Layout>
</DetailView>
</Views>
</Application>
+50
View File
@@ -0,0 +1,50 @@
Imports Microsoft.VisualBasic
Imports System
Partial Public Class SupportModule
''' <summary>
''' Required designer variable.
''' </summary>
Private components As System.ComponentModel.IContainer = Nothing
''' <summary>
''' Clean up any resources being used.
''' </summary>
''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso (Not components Is Nothing) Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
#Region "Component Designer generated code"
''' <summary>
''' Required method for Designer support - do not modify
''' the contents of this method with the code editor.
''' </summary>
Private Sub InitializeComponent()
'
'SupportModule
'
Me.RequiredModuleTypes.Add(GetType(SISBusiness.[Module].SISBusinessModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.AuditTrail.AuditTrailModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.Validation.ValidationModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.ViewVariantsModule.ViewVariantsModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.HtmlPropertyEditor.Web.HtmlPropertyEditorAspNetModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.Chart.Web.ChartAspNetModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.CloneObject.CloneObjectModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.FileAttachments.Web.FileAttachmentsAspNetModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.Kpi.KpiModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.PivotGrid.Web.PivotGridAspNetModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.Reports.Web.ReportsAspNetModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.Scheduler.Web.SchedulerAspNetModule))
Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.TreeListEditors.Web.TreeListEditorsAspNetModule))
End Sub
#End Region
End Class
+120
View File
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
+13
View File
@@ -0,0 +1,13 @@
Imports System
Imports System.Reflection
Imports System.Collections.Generic
Imports DevExpress.ExpressApp
Public NotInheritable Class [SupportModule]
Inherits ModuleBase
Public Sub New()
ModelDifferenceResourceName = "SISBusiness.Module.Web.Support.Model.DesignedDiffs"
InitializeComponent()
End Sub
End Class
@@ -0,0 +1,13 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.239
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>false</MySubMain>
<SingleInstance>false</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<ApplicationType>1</ApplicationType>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
</MyApplicationData>
@@ -0,0 +1,32 @@
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
' Review the values of the assembly attributes
<Assembly: AssemblyTitle("SISBusiness.Module.Web.Support")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("-")>
<Assembly: AssemblyProduct("SISBusiness.Module.Web.Support")>
<Assembly: AssemblyCopyright("Copyright © - 2007")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(False)>
' Version information for an assembly consists of the following four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build and Revision Numbers
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("12.1.8.1001")>
@@ -0,0 +1,63 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.239
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Imports System
Namespace My.Resources
'This class was auto-generated by the StronglyTypedResourceBuilder
'class via a tool like ResGen or Visual Studio.
'To add or remove a member, edit your .ResX file then rerun ResGen
'with the /str option, or rebuild your VS project.
'''<summary>
''' A strongly-typed resource class, for looking up localized strings, etc.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Returns the cached ResourceManager instance used by this class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
Get
If Object.ReferenceEquals(resourceMan, Nothing) Then
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("SISBusiness.Module.Web.Support.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Overrides the current thread's CurrentUICulture property for all
''' resource lookups using this strongly typed resource class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend Property Culture() As Global.System.Globalization.CultureInfo
Get
Return resourceCulture
End Get
Set
resourceCulture = value
End Set
End Property
End Module
End Namespace
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"></xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"></xsd:attribute>
<xsd:attribute name="type" type="xsd:string"></xsd:attribute>
<xsd:attribute name="mimetype" type="xsd:string"></xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"></xsd:attribute>
<xsd:attribute name="name" type="xsd:string"></xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"></xsd:element>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"></xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1"></xsd:attribute>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"></xsd:attribute>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"></xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"></xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -0,0 +1,73 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.239
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
#Region "My.Settings Auto-Save Functionality"
#If _MyType = "WindowsForms" Then
Private Shared addedHandler As Boolean
Private Shared addedHandlerLockObject As New Object
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
If My.Application.SaveMySettingsOnExit Then
My.Settings.Save()
End If
End Sub
#End If
#End Region
Public Shared ReadOnly Property [Default]() As MySettings
Get
#If _MyType = "WindowsForms" Then
If Not addedHandler Then
SyncLock addedHandlerLockObject
If Not addedHandler Then
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
addedHandler = True
End If
End SyncLock
End If
#End If
Return defaultInstance
End Get
End Property
End Class
End Namespace
Namespace My
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global.SISBusiness.[Module].Web.Support.My.MySettings
Get
Return Global.SISBusiness.[Module].Web.Support.My.MySettings.Default
End Get
End Property
End Module
End Namespace
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
+32
View File
@@ -0,0 +1,32 @@
Partial Class QuickCreate
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
End Sub
End Class
@@ -0,0 +1,32 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Public Class QuickCreate
Inherits DevExpress.ExpressApp.ViewController
Public Sub New()
MyBase.New()
'This call is required by the Component Designer.
InitializeComponent()
RegisterActions(components)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
Frame.GetController(Of DevExpress.ExpressApp.Web.SystemModule.WebNewObjectViewController).QuickCreateAction.Active.SetItemValue("", False)
End Sub
Protected Overrides Sub OnDeactivated()
MyBase.OnDeactivated()
Frame.GetController(Of DevExpress.ExpressApp.Web.SystemModule.WebNewObjectViewController).QuickCreateAction.Active.SetItemValue("", True)
End Sub
End Class
@@ -0,0 +1,275 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C3C28A3C-8C6A-4C77-B51C-391C33D0FEE7}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>SISBusiness.Module.Web.Support</RootNamespace>
<AssemblyName>SISBusiness.Module.Web.Support</AssemblyName>
<MyType>Windows</MyType>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>SISBusiness.Module.Web.Support.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>SISBusiness.Module.Web.Support.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'R64|AnyCPU'">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\R64\</OutputPath>
<DocumentationFile>SISBusiness.Module.Web.Support.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Printing.v15.2.Core, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Data.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.ExpressApp.AuditTrail.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.Chart.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.CloneObject.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.ConditionalAppearance.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.FileAttachment.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.HtmlPropertyEditor.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.ExpressApp.Kpi.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.PivotGrid.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.Reports.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.Scheduler.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.ExpressApp.Scheduler.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.TreeListEditors.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.Xpo.v15.2">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
<Reference Include="DevExpress.ExpressApp.v15.2">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
<Reference Include="DevExpress.ExpressApp.Objects.v15.2">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
<Reference Include="DevExpress.ExpressApp.Validation.v15.2">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.ExpressApp.ViewVariantsModule.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.ExpressApp.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Persistent.BaseImpl.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Web.ASPxHtmlEditor.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Office.v15.2.Core, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.RichEdit.v15.2.Core, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Web.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Xpo.v15.2, Version=15.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System">
<Private>False</Private>
</Reference>
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
<Private>False</Private>
</Reference>
<Reference Include="System.Web" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Collections.Generic" />
<Import Include="System.Diagnostics" />
<Import Include="System.Linq" />
</ItemGroup>
<ItemGroup>
<Compile Include="Business\PCIGroupVC.Designer.vb">
<DependentUpon>PCIGroupVC.vb</DependentUpon>
</Compile>
<Compile Include="Business\PCIGroupVC.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controllers\AboutInfoCustomizationVC.Designer.vb">
<DependentUpon>AboutInfoCustomizationVC.vb</DependentUpon>
</Compile>
<Compile Include="Controllers\AboutInfoCustomizationVC.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Business\InstallationVC.Designer.vb">
<DependentUpon>InstallationVC.vb</DependentUpon>
</Compile>
<Compile Include="Business\InstallationVC.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Business\DocumentsVC.Designer.vb">
<DependentUpon>DocumentsVC.vb</DependentUpon>
</Compile>
<Compile Include="Business\DocumentsVC.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controllers\HTMLEditorUserVC.Designer.vb">
<DependentUpon>HTMLEditorUserVC.vb</DependentUpon>
</Compile>
<Compile Include="Controllers\HTMLEditorUserVC.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="CustomersMeeting_VC.Designer.vb">
<DependentUpon>CustomersMeeting_VC.vb</DependentUpon>
</Compile>
<Compile Include="CustomersMeeting_VC.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Module.Designer.vb">
<DependentUpon>Module.vb</DependentUpon>
</Compile>
<Compile Include="Module.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="QuickCreate.Designer.vb">
<DependentUpon>QuickCreate.vb</DependentUpon>
</Compile>
<Compile Include="QuickCreate.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Support\Question\QuestionVC.Designer.vb">
<DependentUpon>QuestionVC.vb</DependentUpon>
</Compile>
<Compile Include="Support\Question\QuestionVC.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Support\Support_VC.Designer.vb">
<DependentUpon>Support_VC.vb</DependentUpon>
</Compile>
<Compile Include="Support\Support_VC.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Updater.vb" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Business\PCIGroupVC.resx">
<DependentUpon>PCIGroupVC.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Module.resx">
<DependentUpon>Module.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="My Project\licenses.licx" />
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Support\Support_VC.resx">
<DependentUpon>Support_VC.vb</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Model.DesignedDiffs.xafml" />
<EmbeddedResource Include="Model.DesignedDiffs.Localization.hu.xafml">
<DependentUpon>Model.DesignedDiffs.xafml</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SISBusiness.Module\SISBusiness.Module.vbproj">
<Project>{60BF693F-7DEA-4CF6-85BD-EA96829D79DD}</Project>
<Name>SISBusiness.Module</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="UnusableNodes.xml">
<DependentUpon>Model.DesignedDiffs.xafml</DependentUpon>
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<None Include="UnusableNodes1_hu.xml">
<DependentUpon>Model.DesignedDiffs.xafml</DependentUpon>
<SubType>Designer</SubType>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -0,0 +1,10 @@
""
{
"FILE_VERSION" = "9237"
"ENLISTMENT_CHOICE" = "NEVER"
"PROJECT_FILE_RELATIVE_PATH" = ""
"NUMBER_OF_EXCLUDED_FILES" = "0"
"ORIGINAL_PROJECT_FILE_PATH" = ""
"NUMBER_OF_NESTED_PROJECTS" = "0"
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
}
@@ -0,0 +1,32 @@
Partial Class QuestionVC
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
End Sub
End Class
@@ -0,0 +1,72 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Imports DevExpress.ExpressApp.Filtering
Imports DevExpress.ExpressApp.Web.SystemModule
Imports DevExpress.ExpressApp.SystemModule
Public Class QuestionVC
Inherits SISBusiness.Module.QuestionVC 'Module.Web
Public Sub New()
MyBase.New()
InitializeComponent()
RegisterActions(components)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
If View.Id = "Question_ListView_Customers" Then
Frame.GetController(Of QuestionVC).aViewQuestionInfo.Active.SetItemValue("", True)
Frame.GetController(Of QuestionVC).aCreateWorkSheetfromQuestion.Active.SetItemValue("", False)
Frame.GetController(Of RefreshController).Active.SetItemValue("", False)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", False)
End If
If View.Id = "Question_ListView_User" Then
Frame.GetController(Of QuestionVC).aViewQuestionInfo.Active.SetItemValue("", True)
Frame.GetController(Of QuestionVC).aCreateWorkSheetfromQuestion.Active.SetItemValue("", False)
Frame.GetController(Of RefreshController).Active.SetItemValue("", False)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", False)
End If
If View.Id = "Installation_InstallationDocumentations_ListView_Support" Then
Frame.GetController(Of QuestionVC).aViewQuestionInfo.Active.SetItemValue("", False)
Frame.GetController(Of QuestionVC).aCreateWorkSheetfromQuestion.Active.SetItemValue("", False)
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", False)
End If
If View.Id = "Question_DetailView_User" Then
Frame.GetController(Of DetailViewController).Active.SetItemValue("", False)
Frame.GetController(Of NewObjectViewController).Active.SetItemValue("", False)
Frame.GetController(Of QuestionVC).aCreateQuestion.Active.SetItemValue("", True)
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", False)
End If
If View.Id = "Question_DetailView_Info" Then
Frame.GetController(Of DetailViewController).Active.SetItemValue("", False)
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", False)
End If
End Sub
Protected Overrides Sub OnDeactivated()
MyBase.OnDeactivated()
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", False)
If View.Id = "Question_DetailView_User" Then
Frame.GetController(Of DetailViewController).Active.SetItemValue("", True)
Frame.GetController(Of NewObjectViewController).Active.SetItemValue("", True)
Frame.GetController(Of QuestionVC).aCreateQuestion.Active.SetItemValue("", False)
End If
If View.Id = "Question_DetailView_Info" Then
Frame.GetController(Of DetailViewController).Active.SetItemValue("", True)
End If
End Sub
End Class
@@ -0,0 +1,71 @@
Partial Class Support_VC
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
MyClass.New()
'Required for Windows.Forms Class Composition Designer support
Container.Add(Me)
End Sub
'Component overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Me.aSupportNavigationDisable = New DevExpress.ExpressApp.Actions.PopupWindowShowAction(Me.components)
Me.aSupportNavigationEnable = New DevExpress.ExpressApp.Actions.PopupWindowShowAction(Me.components)
'
'aSupportNavigationDisable
'
Me.aSupportNavigationDisable.AcceptButtonCaption = Nothing
Me.aSupportNavigationDisable.CancelButtonCaption = Nothing
Me.aSupportNavigationDisable.Caption = "aSupport Navigation Disable"
Me.aSupportNavigationDisable.ConfirmationMessage = Nothing
Me.aSupportNavigationDisable.Id = "aSupportNavigationDisable"
Me.aSupportNavigationDisable.ImageName = Nothing
Me.aSupportNavigationDisable.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
Me.aSupportNavigationDisable.Shortcut = Nothing
Me.aSupportNavigationDisable.Tag = Nothing
Me.aSupportNavigationDisable.TargetObjectsCriteria = Nothing
Me.aSupportNavigationDisable.TargetObjectType = GetType(SISBusiness.[Module].SupportRoles)
Me.aSupportNavigationDisable.TargetViewId = Nothing
Me.aSupportNavigationDisable.ToolTip = Nothing
Me.aSupportNavigationDisable.TypeOfView = Nothing
'
'aSupportNavigationEnable
'
Me.aSupportNavigationEnable.AcceptButtonCaption = Nothing
Me.aSupportNavigationEnable.CancelButtonCaption = Nothing
Me.aSupportNavigationEnable.Caption = "aSupport Navigation Enable"
Me.aSupportNavigationEnable.ConfirmationMessage = Nothing
Me.aSupportNavigationEnable.Id = "aSupportNavigationEnable"
Me.aSupportNavigationEnable.ImageName = Nothing
Me.aSupportNavigationEnable.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
Me.aSupportNavigationEnable.Shortcut = Nothing
Me.aSupportNavigationEnable.Tag = Nothing
Me.aSupportNavigationEnable.TargetObjectsCriteria = Nothing
Me.aSupportNavigationEnable.TargetObjectType = GetType(SISBusiness.[Module].SupportRoles)
Me.aSupportNavigationEnable.TargetViewId = Nothing
Me.aSupportNavigationEnable.ToolTip = Nothing
Me.aSupportNavigationEnable.TypeOfView = Nothing
End Sub
Friend WithEvents aSupportNavigationDisable As DevExpress.ExpressApp.Actions.PopupWindowShowAction
Friend WithEvents aSupportNavigationEnable As DevExpress.ExpressApp.Actions.PopupWindowShowAction
End Class
@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="aSupportNavigationDisable.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
<metadata name="aSupportNavigationEnable.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>218, 17</value>
</metadata>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>
@@ -0,0 +1,308 @@
Imports System
Imports System.ComponentModel
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Actions
Imports DevExpress.Persistent.Base
Imports DevExpress.Xpo
Imports DevExpress.Data.Filtering
Imports DevExpress.ExpressApp.SystemModule
Imports DevExpress.ExpressApp.Web.SystemModule
Public Class Support_VC
Inherits DevExpress.ExpressApp.ViewController
Public Sub New()
MyBase.New()
InitializeComponent()
RegisterActions(components)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
If View.Id = "SupportRoles_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
End If
If View.Id = "CRM_Opportunities_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
Dim _ocur As Xpo.XPObjectSpace = TryCast(View.ObjectSpace, Xpo.XPObjectSpace)
Dim _Contacts As Contacts = _ocur.FindObject(Of Contacts)(CriteriaOperator.Parse("User = ?", _ocur.GetObject(SecuritySystem.CurrentUser)))
If _Contacts IsNot Nothing Then
If _Contacts.Customers IsNot Nothing Then
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("Customers.Oid = ?", _Contacts.Customers.Oid)
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
End If
If View.Id = "OfferOutHeader_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
Dim _ocur As Xpo.XPObjectSpace = TryCast(View.ObjectSpace, Xpo.XPObjectSpace)
Dim _Contacts As Contacts = _ocur.FindObject(Of Contacts)(CriteriaOperator.Parse("User = ?", _ocur.GetObject(SecuritySystem.CurrentUser)))
If _Contacts IsNot Nothing Then
If _Contacts.Customers IsNot Nothing Then
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("Customers.Oid = ?", _Contacts.Customers.Oid)
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
End If
If View.Id = "WorkSheet_Header_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
Dim _ocur As Xpo.XPObjectSpace = TryCast(View.ObjectSpace, Xpo.XPObjectSpace)
Dim _Contacts As Contacts = _ocur.FindObject(Of Contacts)(CriteriaOperator.Parse("User = ?", _ocur.GetObject(SecuritySystem.CurrentUser)))
If _Contacts IsNot Nothing Then
If _Contacts.Customers IsNot Nothing Then
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("Customers.Oid = ?", _Contacts.Customers.Oid)
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
End If
If View.Id = "Contracts_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
Dim _ocur As Xpo.XPObjectSpace = TryCast(View.ObjectSpace, Xpo.XPObjectSpace)
Dim _Contacts As Contacts = _ocur.FindObject(Of Contacts)(CriteriaOperator.Parse("User = ?", _ocur.GetObject(SecuritySystem.CurrentUser)))
If _Contacts IsNot Nothing Then
If _Contacts.Customers IsNot Nothing Then
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("Customers.Oid = ?", _Contacts.Customers.Oid)
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
End If
If View.Id = "PCIGroup_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", False)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
Dim _ocur As Xpo.XPObjectSpace = TryCast(View.ObjectSpace, Xpo.XPObjectSpace)
Dim _Contacts As Contacts = _ocur.FindObject(Of Contacts)(CriteriaOperator.Parse("User = ?", _ocur.GetObject(SecuritySystem.CurrentUser)))
If _Contacts IsNot Nothing Then
If _Contacts.Customers IsNot Nothing Then
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("Customers.Oid = ?", _Contacts.Customers.Oid)
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
Else
TryCast(View, ListView).CollectionSource.Criteria("ByPartner") = CriteriaOperator.Parse("1=2")
End If
End If
End Sub
Protected Overrides Sub OnDeactivated()
MyBase.OnDeactivated()
If View.Id = "SupportRoles_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", True)
End If
If View.Id = "CRM_Opportunities_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", True)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", True)
End If
If View.Id = "OfferOutHeader_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", True)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", True)
End If
If View.Id = "WorkSheet_Header_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", True)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", True)
End If
If View.Id = "Contracts_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", True)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", True)
End If
If View.Id = "PCIGroup_ListView_Support" Then
Frame.GetController(Of ListViewController).EditAction.Active.SetItemValue("", True)
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", True)
End If
End Sub
Private Sub aSupportNavigationEnable_CustomizePopupWindowParams(sender As Object, e As DevExpress.ExpressApp.Actions.CustomizePopupWindowParamsEventArgs) Handles aSupportNavigationEnable.CustomizePopupWindowParams
Dim _onew As Xpo.XPObjectSpace = Application.CreateObjectSpace
Dim _uow As New UnitOfWork(_onew.Session.DataLayer)
Dim _MasterKey As Guid = SecuritySystem.CurrentUserId
Dim _ModelNavigation_Collection As New XPCollection(Of ModelNavigation)(_uow, CriteriaOperator.Parse("MasterKey=?", _MasterKey))
_uow.Delete(_ModelNavigation_Collection)
_uow.CommitChanges()
If View.SelectedObjects.Count = 1 Then
Dim _SupportRoles As SupportRoles = TryCast(View.SelectedObjects(0), SupportRoles)
If _SupportRoles IsNot Nothing Then
Dim _NavigationItemRole_Collection As New XPCollection(Of NavigationItemRole)(_onew.Session, CriteriaOperator.Parse("SupportRoles.Oid=?", _SupportRoles.Oid))
Dim _NavigationItemRole As NavigationItemRole
Dim _ModelNavigation As ModelNavigation
Dim _IModelNavigationItems As IModelNavigationItems
Dim _IModelNavigationItem As IModelNavigationItem
Dim _NavigationItems As IModelRootNavigationItems = DirectCast(Application.Model, IModelApplicationNavigationItems).NavigationItems
_IModelNavigationItems = TryCast(_NavigationItems.Items, IModelNavigationItems)
For Each _IModelNavigationItem In _IModelNavigationItems
RecursiveAddModelNavigation(_uow, _MasterKey, Nothing, _IModelNavigationItem)
Next
_uow.CommitChanges()
Dim _CS As CollectionSource = New CollectionSource(_onew, GetType(ModelNavigation))
_CS.BeginUpdateCriteria()
_CS.Criteria.Add("Filter1", CriteriaOperator.Parse("MasterKey=?", _MasterKey))
_CS.EndUpdateCriteria()
_CS.Sorting.Add(New SortProperty("Index", DB.SortingDirection.Ascending))
For Each _ModelNavigation In _CS.Collection
For Each _NavigationItemRole In _NavigationItemRole_Collection
If _NavigationItemRole.ChoiceActionItemId = _ModelNavigation.Name Then
RecursiveDeny(_ModelNavigation)
End If
Next
Next
e.View = Application.CreateListView("ModelNavigation_ListView", _CS, False)
If _SupportRoles IsNot Nothing Then
e.View.Caption += " (" & _SupportRoles.ShortName & ")"
End If
End If
End If
End Sub
Private Sub aSupportNavigationEnable_Execute(sender As System.Object, e As DevExpress.ExpressApp.Actions.PopupWindowShowActionExecuteEventArgs) Handles aSupportNavigationEnable.Execute
Dim _ModelNavigation As ModelNavigation
Dim _NavigationItemRole As NavigationItemRole
Dim _ocur As IObjectSpace = View.ObjectSpace
Dim _SupportRoles As SupportRoles
For Each _SupportRoles In View.SelectedObjects
For Each _ModelNavigation In e.PopupWindow.View.SelectedObjects
_NavigationItemRole = _ocur.FindObject(Of NavigationItemRole)(CriteriaOperator.Parse("SupportRoles.Oid=? and ChoiceActionItemId=?", _SupportRoles.Oid, _ModelNavigation.Name))
If _NavigationItemRole IsNot Nothing Then
_ocur.Delete(_NavigationItemRole)
End If
Next
Next
_ocur.CommitChanges()
End Sub
Private Sub aSupportNavigationDisable_CustomizePopupWindowParams(sender As Object, e As DevExpress.ExpressApp.Actions.CustomizePopupWindowParamsEventArgs) Handles aSupportNavigationDisable.CustomizePopupWindowParams
Dim _onew As Xpo.XPObjectSpace = Application.CreateObjectSpace
Dim _uow As New UnitOfWork(_onew.Session.DataLayer)
Dim _MasterKey As Guid = SecuritySystem.CurrentUserId
Dim _ModelNavigation_Collection As New XPCollection(Of ModelNavigation)(_uow, CriteriaOperator.Parse("MasterKey=?", _MasterKey))
_uow.Delete(_ModelNavigation_Collection)
_uow.CommitChanges()
If View.SelectedObjects.Count = 1 Then
Dim _SupportRoles As SupportRoles = TryCast(View.SelectedObjects(0), SupportRoles)
If _SupportRoles IsNot Nothing Then
Dim _NavigationItemRole_Collection As New XPCollection(Of NavigationItemRole)(_onew.Session, CriteriaOperator.Parse("SupportRoles.Oid=?", _SupportRoles.Oid))
Dim _NavigationItemRole As NavigationItemRole
Dim _ModelNavigation As ModelNavigation
Dim _IModelNavigationItems As IModelNavigationItems
Dim _IModelNavigationItem As IModelNavigationItem
Dim _NavigationItems As IModelRootNavigationItems = DirectCast(Application.Model, IModelApplicationNavigationItems).NavigationItems
_IModelNavigationItems = TryCast(_NavigationItems.Items, IModelNavigationItems)
For Each _IModelNavigationItem In _IModelNavigationItems
RecursiveAddModelNavigation(_uow, _MasterKey, Nothing, _IModelNavigationItem)
Next
_uow.CommitChanges()
Dim _CS As CollectionSource = New CollectionSource(_onew, GetType(ModelNavigation))
_CS.BeginUpdateCriteria()
_CS.Criteria.Add("Filter1", CriteriaOperator.Parse("MasterKey=?", _MasterKey))
_CS.EndUpdateCriteria()
_CS.Sorting.Add(New SortProperty("Index", DB.SortingDirection.Ascending))
For Each _ModelNavigation In _CS.Collection
For Each _NavigationItemRole In _NavigationItemRole_Collection
If _NavigationItemRole.ChoiceActionItemId = _ModelNavigation.Name Then
RecursiveDeny(_ModelNavigation)
End If
Next
Next
e.View = Application.CreateListView("ModelNavigation_ListView", _CS, False)
If _SupportRoles IsNot Nothing Then
e.View.Caption += " (" & _SupportRoles.ShortName & ")"
End If
End If
End If
End Sub
Private Sub aSupportNavigationDisable_Execute(sender As System.Object, e As DevExpress.ExpressApp.Actions.PopupWindowShowActionExecuteEventArgs) Handles aSupportNavigationDisable.Execute
Dim _ModelNavigation As ModelNavigation
Dim _NavigationItemRole As NavigationItemRole
Dim _ocur As IObjectSpace = View.ObjectSpace
Dim _SupportRoles As SupportRoles
For Each _SupportRoles In View.SelectedObjects
For Each _ModelNavigation In e.PopupWindow.View.SelectedObjects
_NavigationItemRole = _ocur.FindObject(Of NavigationItemRole)(CriteriaOperator.Parse("SupportRoles.Oid=? and ChoiceActionItemId=?", _SupportRoles.Oid, _ModelNavigation.Name))
If _NavigationItemRole Is Nothing Then
_NavigationItemRole = _ocur.CreateObject(Of NavigationItemRole)()
_NavigationItemRole.SupportRoles = _ocur.GetObject(_SupportRoles)
_NavigationItemRole.ChoiceActionItemId = _ModelNavigation.Name
End If
Next
Next
_ocur.CommitChanges()
End Sub
Sub RecursiveAddModelNavigation(_uow As UnitOfWork, _MasterKey As Guid, _ModelNavigationParent As ModelNavigation, _IModelNavigationItem As IModelNavigationItem)
Dim _ModelNavigation As ModelNavigation
Dim _IModelNavigationItem_Child As IModelNavigationItem
_ModelNavigation = New ModelNavigation(_uow)
_ModelNavigation.Parent = _ModelNavigationParent
_ModelNavigation.Name = _IModelNavigationItem.Id
_ModelNavigation.Navigation_Caption = _IModelNavigationItem.Caption
_ModelNavigation.Navigation_ImageName = _IModelNavigationItem.ImageName
_ModelNavigation.MasterKey = _MasterKey
_uow.CommitChanges()
If _IModelNavigationItem.Items.Count > 0 Then
For Each _IModelNavigationItem_Child In _IModelNavigationItem.Items
RecursiveAddModelNavigation(_uow, _MasterKey, _ModelNavigation, _IModelNavigationItem_Child)
Next
End If
End Sub
Sub RecursiveDeny(_ModelNavigation As ModelNavigation)
Dim _ModelNavigation_Children As ModelNavigation
_ModelNavigation.Navigation_Enabled = False
If _ModelNavigation.Children.Count > 0 Then
For Each _ModelNavigation_Children In _ModelNavigation.Children
RecursiveDeny(_ModelNavigation_Children)
Next
End If
End Sub
End Class
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Application>
<Views Id="Views">
<DetailView Id="Reply_DetailView">
<Layout Id="Layout">
<LayoutGroup Id="Main">
<LayoutGroup Id="SizeableEditors" RelativeSize="94" ImageName="" CaptionLocation="Default" CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default">
<LayoutItem Id="Description" RelativeSize="3" CaptionLocation="Default" CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default" ViewItem="Description" />
<LayoutItem Id="HTMLEvents" RelativeSize="96" CaptionLocation="Top" CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default" ShowCaption="False" ViewItem="HTMLEvents" />
</LayoutGroup>
</LayoutGroup>
</Layout>
</DetailView>
</Views>
</Application>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Application>
<Views Id="Views">
<DetailView Id="Reply_DetailView">
<Layout Id="Layout">
<LayoutGroup Id="Main">
<LayoutGroup Id="SizeableEditors" Caption="SizeableEditors" />
</LayoutGroup>
</Layout>
</DetailView>
</Views>
</Application>
+22
View File
@@ -0,0 +1,22 @@
Imports System
Imports System.Security.Principal
Imports DevExpress.Persistent.BaseImpl
Imports DevExpress.ExpressApp
Imports DevExpress.ExpressApp.Objects
Imports DevExpress.ExpressApp.Updating
Imports DevExpress.Data.Filtering
Imports DevExpress.Xpo
Public Class Updater
Inherits ModuleUpdater
Public Sub New(ByVal objectSpace As IObjectSpace, ByVal currentDBVersion As Version)
MyBase.New(objectSpace, currentDBVersion)
End Sub
Public Overrides Sub UpdateDatabaseAfterUpdateSchema()
MyBase.UpdateDatabaseAfterUpdateSchema()
End Sub
End Class