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,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>
@@ -0,0 +1,232 @@
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports DevExpress.ExpressApp.Web
Imports DevExpress.ExpressApp
Imports SISBusiness.Module
Imports DevExpress.Data.Filtering
Imports DevExpress.ExpressApp.Xpo
Imports DevExpress.Persistent.BaseImpl
Partial Public Class SISBusinessSupportAspNetApplication
Inherits WebApplication
Private _ocur As Xpo.XPObjectSpace
Private module1 As DevExpress.ExpressApp.SystemModule.SystemModule
Private module2 As DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule
Private module5 As DevExpress.ExpressApp.Validation.ValidationModule
Private module6 As DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule
Private securityModule1 As DevExpress.ExpressApp.Security.SecurityModule
Friend WithEvents AuditTrailModule1 As DevExpress.ExpressApp.AuditTrail.AuditTrailModule
Friend WithEvents ConditionalAppearanceModule1 As DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule
Friend WithEvents FileAttachmentsAspNetModule1 As DevExpress.ExpressApp.FileAttachments.Web.FileAttachmentsAspNetModule
Friend WithEvents HtmlPropertyEditorAspNetModule1 As DevExpress.ExpressApp.HtmlPropertyEditor.Web.HtmlPropertyEditorAspNetModule
Friend WithEvents ViewVariantsModule1 As DevExpress.ExpressApp.ViewVariantsModule.ViewVariantsModule
Friend WithEvents SecurityComplex1 As DevExpress.ExpressApp.Security.SecurityComplex
Friend WithEvents AuthenticationStandard1 As DevExpress.ExpressApp.Security.AuthenticationStandard
Friend WithEvents ChartAspNetModule1 As DevExpress.ExpressApp.Chart.Web.ChartAspNetModule
Friend WithEvents ChartModule1 As DevExpress.ExpressApp.Chart.ChartModule
Friend WithEvents CloneObjectModule1 As DevExpress.ExpressApp.CloneObject.CloneObjectModule
Friend WithEvents PivotChartAspNetModule1 As DevExpress.ExpressApp.PivotChart.Web.PivotChartAspNetModule
Friend WithEvents PivotChartModuleBase1 As DevExpress.ExpressApp.PivotChart.PivotChartModuleBase
Friend WithEvents PivotGridAspNetModule1 As DevExpress.ExpressApp.PivotGrid.Web.PivotGridAspNetModule
Friend WithEvents PivotGridModule1 As DevExpress.ExpressApp.PivotGrid.PivotGridModule
Friend WithEvents TreeListEditorsAspNetModule1 As DevExpress.ExpressApp.TreeListEditors.Web.TreeListEditorsAspNetModule
Friend WithEvents TreeListEditorsModuleBase1 As DevExpress.ExpressApp.TreeListEditors.TreeListEditorsModuleBase
Friend WithEvents ReportsAspNetModule1 As DevExpress.ExpressApp.Reports.Web.ReportsAspNetModule
Friend WithEvents ReportsModule1 As DevExpress.ExpressApp.Reports.ReportsModule
Friend WithEvents SchedulerAspNetModule1 As DevExpress.ExpressApp.Scheduler.Web.SchedulerAspNetModule
Friend WithEvents SchedulerModuleBase1 As DevExpress.ExpressApp.Scheduler.SchedulerModuleBase
Friend WithEvents SisBusinessModule1 As SISBusiness.Module.SISBusinessModule
Friend WithEvents KpiModule1 As DevExpress.ExpressApp.Kpi.KpiModule
Friend WithEvents SisBusinessAspNetModule1 As SISBusiness.Module.Web.SISBusinessAspNetModule
Friend WithEvents ReportsModuleV21 As DevExpress.ExpressApp.ReportsV2.ReportsModuleV2
Friend WithEvents NotificationsModule1 As DevExpress.ExpressApp.Notifications.NotificationsModule
Friend WithEvents ReportsAspNetModuleV21 As DevExpress.ExpressApp.ReportsV2.Web.ReportsAspNetModuleV2
Private sqlConnection1 As System.Data.SqlClient.SqlConnection
Public Sub New()
InitializeComponent()
End Sub
Private Sub SISBusinessSupportAspNetApplication_DatabaseVersionMismatch(ByVal sender As Object, ByVal e As DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs) Handles MyBase.DatabaseVersionMismatch
#If EASYTEST Then
e.Updater.Update()
e.Handled = True
#Else
If System.Diagnostics.Debugger.IsAttached Then
e.Updater.Update()
e.Handled = True
Else
Throw New InvalidOperationException( _
"The application cannot connect to the specified database, because the latter doesn't exist or its version is older than that of the application." & Constants.vbCrLf & _
"This error occurred because the automatic database update was disabled when the application was started without debugging." & Constants.vbCrLf & _
"To avoid this error, you should either start the application under Visual Studio in debug mode, or modify the " & _
"source code of the 'DatabaseVersionMismatch' event handler to enable automatic database update, " & _
"or manually create a database using the 'DBUpdater' tool." & Constants.vbCrLf & _
"Anyway, refer to the 'Update Application and Database Versions' help topic at http://www.devexpress.com/Help/?document=ExpressApp/CustomDocument2795.htm " & _
"for more detailed information. If this doesn't help, please contact our Support Team at http://www.devexpress.com/Support/Center/")
End If
#End If
End Sub
Private Sub InitializeComponent()
Me.module1 = New DevExpress.ExpressApp.SystemModule.SystemModule()
Me.module2 = New DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule()
Me.module5 = New DevExpress.ExpressApp.Validation.ValidationModule()
Me.module6 = New DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule()
Me.securityModule1 = New DevExpress.ExpressApp.Security.SecurityModule()
Me.sqlConnection1 = New System.Data.SqlClient.SqlConnection()
Me.AuditTrailModule1 = New DevExpress.ExpressApp.AuditTrail.AuditTrailModule()
Me.ConditionalAppearanceModule1 = New DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule()
Me.FileAttachmentsAspNetModule1 = New DevExpress.ExpressApp.FileAttachments.Web.FileAttachmentsAspNetModule()
Me.HtmlPropertyEditorAspNetModule1 = New DevExpress.ExpressApp.HtmlPropertyEditor.Web.HtmlPropertyEditorAspNetModule()
Me.ViewVariantsModule1 = New DevExpress.ExpressApp.ViewVariantsModule.ViewVariantsModule()
Me.SecurityComplex1 = New DevExpress.ExpressApp.Security.SecurityComplex()
Me.AuthenticationStandard1 = New DevExpress.ExpressApp.Security.AuthenticationStandard()
Me.ChartAspNetModule1 = New DevExpress.ExpressApp.Chart.Web.ChartAspNetModule()
Me.ChartModule1 = New DevExpress.ExpressApp.Chart.ChartModule()
Me.CloneObjectModule1 = New DevExpress.ExpressApp.CloneObject.CloneObjectModule()
Me.PivotChartAspNetModule1 = New DevExpress.ExpressApp.PivotChart.Web.PivotChartAspNetModule()
Me.PivotChartModuleBase1 = New DevExpress.ExpressApp.PivotChart.PivotChartModuleBase()
Me.PivotGridAspNetModule1 = New DevExpress.ExpressApp.PivotGrid.Web.PivotGridAspNetModule()
Me.PivotGridModule1 = New DevExpress.ExpressApp.PivotGrid.PivotGridModule()
Me.TreeListEditorsAspNetModule1 = New DevExpress.ExpressApp.TreeListEditors.Web.TreeListEditorsAspNetModule()
Me.TreeListEditorsModuleBase1 = New DevExpress.ExpressApp.TreeListEditors.TreeListEditorsModuleBase()
Me.ReportsAspNetModule1 = New DevExpress.ExpressApp.Reports.Web.ReportsAspNetModule()
Me.ReportsModule1 = New DevExpress.ExpressApp.Reports.ReportsModule()
Me.SchedulerAspNetModule1 = New DevExpress.ExpressApp.Scheduler.Web.SchedulerAspNetModule()
Me.SchedulerModuleBase1 = New DevExpress.ExpressApp.Scheduler.SchedulerModuleBase()
Me.SisBusinessModule1 = New SISBusiness.[Module].SISBusinessModule()
Me.KpiModule1 = New DevExpress.ExpressApp.Kpi.KpiModule()
Me.SisBusinessAspNetModule1 = New SISBusiness.[Module].Web.SISBusinessAspNetModule()
Me.ReportsModuleV21 = New DevExpress.ExpressApp.ReportsV2.ReportsModuleV2()
Me.NotificationsModule1 = New DevExpress.ExpressApp.Notifications.NotificationsModule()
Me.ReportsAspNetModuleV21 = New DevExpress.ExpressApp.ReportsV2.Web.ReportsAspNetModuleV2()
CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
'
'module5
'
Me.module5.AllowValidationDetailsAccess = True
Me.module5.IgnoreWarningAndInformationRules = False
'
'sqlConnection1
'
Me.sqlConnection1.ConnectionString = "Data Source=(local);Initial Catalog=SISSupport;Integrated Security=SSPI;Pooling=f" & _
"alse"
Me.sqlConnection1.FireInfoMessageEventOnUserErrors = False
'
'AuditTrailModule1
'
Me.AuditTrailModule1.AuditDataItemPersistentType = GetType(DevExpress.Persistent.BaseImpl.AuditDataItemPersistent)
'
'SecurityComplex1
'
Me.SecurityComplex1.Authentication = Me.AuthenticationStandard1
Me.SecurityComplex1.RoleType = GetType(DevExpress.Persistent.BaseImpl.Role)
Me.SecurityComplex1.UserType = GetType(DevExpress.Persistent.BaseImpl.User)
'
'AuthenticationStandard1
'
Me.AuthenticationStandard1.LogonParametersType = GetType(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters)
'
'PivotChartModuleBase1
'
Me.PivotChartModuleBase1.ShowAdditionalNavigation = False
'
'ReportsModule1
'
Me.ReportsModule1.EnableInplaceReports = True
Me.ReportsModule1.ReportDataType = GetType(DevExpress.Persistent.BaseImpl.ReportData)
'
'ReportsModuleV21
'
Me.ReportsModuleV21.EnableInplaceReports = True
Me.ReportsModuleV21.ReportDataType = GetType(DevExpress.Persistent.BaseImpl.ReportDataV2)
'
'NotificationsModule1
'
Me.NotificationsModule1.NotificationsRefreshInterval = System.TimeSpan.Parse("00:05:00")
Me.NotificationsModule1.NotificationsStartDelay = System.TimeSpan.Parse("00:00:05")
Me.NotificationsModule1.ShowNotificationsWindow = True
'
'ReportsAspNetModuleV21
'
'Me.ReportsAspNetModuleV21.ClientLibrariesLocation = DevExpress.ExpressApp.ReportsV2.Web.ClientLibrariesLocations.Embedded
'
'SISBusinessSupportAspNetApplication
'
Me.ApplicationName = "SISBusiness"
Me.Connection = Me.sqlConnection1
Me.Modules.Add(Me.module1)
Me.Modules.Add(Me.module2)
Me.Modules.Add(Me.module6)
Me.Modules.Add(Me.ViewVariantsModule1)
Me.Modules.Add(Me.ConditionalAppearanceModule1)
Me.Modules.Add(Me.AuditTrailModule1)
Me.Modules.Add(Me.module5)
Me.Modules.Add(Me.HtmlPropertyEditorAspNetModule1)
Me.Modules.Add(Me.FileAttachmentsAspNetModule1)
Me.Modules.Add(Me.ChartModule1)
Me.Modules.Add(Me.ChartAspNetModule1)
Me.Modules.Add(Me.securityModule1)
Me.Modules.Add(Me.CloneObjectModule1)
Me.Modules.Add(Me.PivotChartModuleBase1)
Me.Modules.Add(Me.PivotChartAspNetModule1)
Me.Modules.Add(Me.PivotGridModule1)
Me.Modules.Add(Me.PivotGridAspNetModule1)
Me.Modules.Add(Me.TreeListEditorsModuleBase1)
Me.Modules.Add(Me.TreeListEditorsAspNetModule1)
Me.Modules.Add(Me.ReportsModule1)
Me.Modules.Add(Me.ReportsAspNetModule1)
Me.Modules.Add(Me.SchedulerModuleBase1)
Me.Modules.Add(Me.SchedulerAspNetModule1)
Me.Modules.Add(Me.KpiModule1)
Me.Modules.Add(Me.ReportsModuleV21)
Me.Modules.Add(Me.NotificationsModule1)
Me.Modules.Add(Me.SisBusinessModule1)
Me.Modules.Add(Me.SisBusinessAspNetModule1)
Me.Modules.Add(Me.ReportsAspNetModuleV21)
Me.Security = Me.SecurityComplex1
CType(Me, System.ComponentModel.ISupportInitialize).EndInit()
End Sub
Protected Overrides Sub CreateDefaultObjectSpaceProvider(args As CreateCustomObjectSpaceProviderEventArgs)
args.ObjectSpaceProvider = New XPObjectSpaceProvider(args.ConnectionString, args.Connection)
End Sub
Protected Overrides Sub OnLoggedOn(ByVal e As DevExpress.ExpressApp.LogonEventArgs)
MyBase.OnLoggedOn(e)
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
Else
MsgBox("Ön nem jogosult a rendszer használatára !")
ForceLogout()
End If
Else
MsgBox("Ön nem jogosult a rendszer használatára !")
ForceLogout()
End If
End Sub
Protected Overrides Sub OnObjectSpaceCreated(objectSpace As DevExpress.ExpressApp.IObjectSpace)
MyBase.OnObjectSpaceCreated(objectSpace)
_ocur = objectSpace
End Sub
Private Sub ForceLogout()
SecuritySystem.Instance.Logoff()
HttpContext.Current.Session.Abandon()
FormsAuthentication.SignOut()
HttpContext.Current.Response.Redirect(HttpContext.Current.Request.Url.ToString())
End Sub
End Class