Added new export field for issue #109
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
Public Class ExportInformation
|
Public Class ExportInformation
|
||||||
Private dExported As Int64
|
Private dExported As Int64
|
||||||
|
Private iTotalConfigs As Integer
|
||||||
Private iAppVer As Integer
|
Private iAppVer As Integer
|
||||||
|
|
||||||
Property Exported As Int64
|
Property Exported As Int64
|
||||||
@@ -11,6 +12,15 @@
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Property TotalConfigurations As Integer
|
||||||
|
Set(value As Integer)
|
||||||
|
iTotalConfigs = value
|
||||||
|
End Set
|
||||||
|
Get
|
||||||
|
Return iTotalConfigs
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
Property AppVer As Integer
|
Property AppVer As Integer
|
||||||
Set(value As Integer)
|
Set(value As Integer)
|
||||||
iAppVer = value
|
iAppVer = value
|
||||||
@@ -22,11 +32,13 @@
|
|||||||
|
|
||||||
Public Sub New()
|
Public Sub New()
|
||||||
dExported = 0
|
dExported = 0
|
||||||
|
iTotalConfigs = 0
|
||||||
iAppVer = 0
|
iAppVer = 0
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub New(ByVal dInitExported As Int64, ByVal iInitAppVer As Integer)
|
Public Sub New(ByVal dInitExported As Int64, ByVal iInitTotalConfigs As Integer, ByVal iInitAppVer As Integer)
|
||||||
dExported = dInitExported
|
dExported = dInitExported
|
||||||
|
iTotalConfigs = iInitTotalConfigs
|
||||||
iAppVer = iInitAppVer
|
iAppVer = iInitAppVer
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
Generated
+1
-1
@@ -715,7 +715,7 @@ Partial Class frmGameManager
|
|||||||
'btnCancel
|
'btnCancel
|
||||||
'
|
'
|
||||||
Me.btnCancel.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
Me.btnCancel.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
Me.btnCancel.Location = New System.Drawing.Point(697, 392)
|
Me.btnCancel.Location = New System.Drawing.Point(697, 394)
|
||||||
Me.btnCancel.Name = "btnCancel"
|
Me.btnCancel.Name = "btnCancel"
|
||||||
Me.btnCancel.Size = New System.Drawing.Size(75, 23)
|
Me.btnCancel.Size = New System.Drawing.Size(75, 23)
|
||||||
Me.btnCancel.TabIndex = 14
|
Me.btnCancel.TabIndex = 14
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ Public Class mgrXML
|
|||||||
Public Shared Function SerializeAndExport(ByVal oList As List(Of Game), ByVal sLocation As String) As Boolean
|
Public Shared Function SerializeAndExport(ByVal oList As List(Of Game), ByVal sLocation As String) As Boolean
|
||||||
Dim oSerializer As XmlSerializer
|
Dim oSerializer As XmlSerializer
|
||||||
Dim oWriter As StreamWriter
|
Dim oWriter As StreamWriter
|
||||||
Dim oExportInformation = New ExportInformation(mgrCommon.DateToUnix(Now), mgrCommon.AppVersion)
|
Dim oExportInformation = New ExportInformation(mgrCommon.DateToUnix(Now), oList.Count, mgrCommon.AppVersion)
|
||||||
Dim oExportData As ExportData
|
Dim oExportData As ExportData
|
||||||
|
|
||||||
Try
|
Try
|
||||||
|
|||||||
Reference in New Issue
Block a user