mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-04-25 07:19:38 -05:00
POGOserver - Porting POGOserver to Visual Studio
This commit is contained in:
parent
6ea7c17176
commit
010991a93f
|
|
@ -5,75 +5,24 @@ VisualStudioVersion = 14.0.25420.1
|
|||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "POGOserver", "POGOserver.jsproj", "{623ED577-0A06-4A07-A70B-D179FBCCC78D}"
|
||||
EndProject
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Panel Control", "Panel Control\Panel Control.vbproj", "{BF7FA37B-9C74-4FA1-9EDE-A88C77BB920D}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D} = {623ED577-0A06-4A07-A70B-D179FBCCC78D}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Android = Debug|Android
|
||||
Debug|iOS = Debug|iOS
|
||||
Debug|Windows Phone (Universal) = Debug|Windows Phone (Universal)
|
||||
Debug|Windows Phone 8 = Debug|Windows Phone 8
|
||||
Debug|Windows-AnyCPU = Debug|Windows-AnyCPU
|
||||
Debug|Windows-ARM = Debug|Windows-ARM
|
||||
Debug|Windows-x64 = Debug|Windows-x64
|
||||
Debug|Windows-x86 = Debug|Windows-x86
|
||||
Release|Android = Release|Android
|
||||
Release|iOS = Release|iOS
|
||||
Release|Windows Phone (Universal) = Release|Windows Phone (Universal)
|
||||
Release|Windows Phone 8 = Release|Windows Phone 8
|
||||
Release|Windows-AnyCPU = Release|Windows-AnyCPU
|
||||
Release|Windows-ARM = Release|Windows-ARM
|
||||
Release|Windows-x64 = Release|Windows-x64
|
||||
Release|Windows-x86 = Release|Windows-x86
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Description = Pokemon GO Server Emulator
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Android.ActiveCfg = Debug|Android
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Android.Build.0 = Debug|Android
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Android.Deploy.0 = Debug|Android
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|iOS.ActiveCfg = Debug|iOS
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|iOS.Build.0 = Debug|iOS
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|iOS.Deploy.0 = Debug|iOS
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows Phone (Universal).ActiveCfg = Debug|Windows Phone (Universal)
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows Phone (Universal).Build.0 = Debug|Windows Phone (Universal)
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows Phone (Universal).Deploy.0 = Debug|Windows Phone (Universal)
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows Phone 8.ActiveCfg = Debug|Windows Phone 8
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows Phone 8.Build.0 = Debug|Windows Phone 8
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows Phone 8.Deploy.0 = Debug|Windows Phone 8
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-AnyCPU.ActiveCfg = Debug|Windows-AnyCPU
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-AnyCPU.Build.0 = Debug|Windows-AnyCPU
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-AnyCPU.Deploy.0 = Debug|Windows-AnyCPU
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-ARM.ActiveCfg = Debug|Windows-ARM
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-ARM.Build.0 = Debug|Windows-ARM
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-ARM.Deploy.0 = Debug|Windows-ARM
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-x64.ActiveCfg = Debug|Windows-x64
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-x64.Build.0 = Debug|Windows-x64
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-x64.Deploy.0 = Debug|Windows-x64
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-x86.ActiveCfg = Debug|Windows-x86
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-x86.Build.0 = Debug|Windows-x86
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Windows-x86.Deploy.0 = Debug|Windows-x86
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Android.ActiveCfg = Release|Android
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Android.Build.0 = Release|Android
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Android.Deploy.0 = Release|Android
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|iOS.ActiveCfg = Release|iOS
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|iOS.Build.0 = Release|iOS
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|iOS.Deploy.0 = Release|iOS
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows Phone (Universal).ActiveCfg = Release|Windows Phone (Universal)
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows Phone (Universal).Build.0 = Release|Windows Phone (Universal)
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows Phone (Universal).Deploy.0 = Release|Windows Phone (Universal)
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows Phone 8.ActiveCfg = Release|Windows Phone 8
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows Phone 8.Build.0 = Release|Windows Phone 8
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows Phone 8.Deploy.0 = Release|Windows Phone 8
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-AnyCPU.ActiveCfg = Release|Windows-AnyCPU
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-AnyCPU.Build.0 = Release|Windows-AnyCPU
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-AnyCPU.Deploy.0 = Release|Windows-AnyCPU
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-ARM.ActiveCfg = Release|Windows-ARM
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-ARM.Build.0 = Release|Windows-ARM
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-ARM.Deploy.0 = Release|Windows-ARM
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-x64.ActiveCfg = Release|Windows-x64
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-x64.Build.0 = Release|Windows-x64
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-x64.Deploy.0 = Release|Windows-x64
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-x86.ActiveCfg = Release|Windows-x86
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-x86.Build.0 = Release|Windows-x86
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Windows-x86.Deploy.0 = Release|Windows-x86
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Debug|Any CPU.ActiveCfg = Debug|Android
|
||||
{623ED577-0A06-4A07-A70B-D179FBCCC78D}.Release|Any CPU.ActiveCfg = Release|Android
|
||||
{BF7FA37B-9C74-4FA1-9EDE-A88C77BB920D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BF7FA37B-9C74-4FA1-9EDE-A88C77BB920D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BF7FA37B-9C74-4FA1-9EDE-A88C77BB920D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BF7FA37B-9C74-4FA1-9EDE-A88C77BB920D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
|||
6
Panel Control/App.config
Normal file
6
Panel Control/App.config
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||
</startup>
|
||||
</configuration>
|
||||
38
Panel Control/My Project/Application.Designer.vb
generated
Normal file
38
Panel Control/My Project/Application.Designer.vb
generated
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
'REMARQUE : ce fichier étant généré automatiquement, ne le modifiez pas directement. Pour apporter des modifications,
|
||||
' ou si vous rencontrez des erreurs de build dans ce fichier, accédez au Concepteur de projets
|
||||
' (allez dans les propriétés du projet ou double-cliquez sur le nœud My Project dans
|
||||
' l'Explorateur de solutions), puis apportez vos modifications sous l'onglet Application.
|
||||
'
|
||||
Partial Friend Class MyApplication
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Public Sub New()
|
||||
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
|
||||
Me.IsSingleInstance = false
|
||||
Me.EnableVisualStyles = true
|
||||
Me.SaveMySettingsOnExit = true
|
||||
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
|
||||
End Sub
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Protected Overrides Sub OnCreateMainForm()
|
||||
Me.MainForm = Global.Panel_Control.POGOserver
|
||||
End Sub
|
||||
End Class
|
||||
End Namespace
|
||||
10
Panel Control/My Project/Application.myapp
Normal file
10
Panel Control/My Project/Application.myapp
Normal file
|
|
@ -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>true</MySubMain>
|
||||
<MainForm>POGOserver</MainForm>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
||||
35
Panel Control/My Project/AssemblyInfo.vb
Normal file
35
Panel Control/My Project/AssemblyInfo.vb
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' Les informations générales relatives à un assembly dépendent de
|
||||
' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
|
||||
' associées à un assembly.
|
||||
|
||||
' Vérifiez les valeurs des attributs de l'assembly
|
||||
|
||||
<Assembly: AssemblyTitle("Panel Control")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("Panel Control")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2016")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
|
||||
<Assembly: Guid("53a6cb25-7fab-4f55-b850-c87ffeca3880")>
|
||||
|
||||
' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
|
||||
'
|
||||
' Version principale
|
||||
' Version secondaire
|
||||
' Numéro de build
|
||||
' Révision
|
||||
'
|
||||
' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
|
||||
' en utilisant '*', comme indiqué ci-dessous :
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||
63
Panel Control/My Project/Resources.Designer.vb
generated
Normal file
63
Panel Control/My Project/Resources.Designer.vb
generated
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
Imports System
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
'à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
'Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
'avec l'option /str ou régénérez votre projet VS.
|
||||
'''<summary>
|
||||
''' Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
'''</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>
|
||||
''' Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
'''</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("Panel_Control.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
''' les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
'''</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
|
||||
117
Panel Control/My Project/Resources.resx
Normal file
117
Panel Control/My Project/Resources.resx
Normal file
|
|
@ -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:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=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>
|
||||
73
Panel Control/My Project/Settings.Designer.vb
generated
Normal file
73
Panel Control/My Project/Settings.Designer.vb
generated
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </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", "14.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 "Fonctionnalité Enregistrement automatique My.Settings"
|
||||
#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.Panel_Control.My.MySettings
|
||||
Get
|
||||
Return Global.Panel_Control.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
||||
7
Panel Control/My Project/Settings.settings
Normal file
7
Panel Control/My Project/Settings.settings
Normal file
|
|
@ -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>
|
||||
104
Panel Control/POGOserver-Main.Designer.vb
generated
Normal file
104
Panel Control/POGOserver-Main.Designer.vb
generated
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||
Partial Class POGOserver
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<System.Diagnostics.DebuggerNonUserCode()>
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
Try
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
components.Dispose()
|
||||
End If
|
||||
Finally
|
||||
MyBase.Dispose(disposing)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()>
|
||||
Private Sub InitializeComponent()
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(POGOserver))
|
||||
Me.Button1 = New System.Windows.Forms.Button()
|
||||
Me.Button2 = New System.Windows.Forms.Button()
|
||||
Me.Button3 = New System.Windows.Forms.Button()
|
||||
Me.Button4 = New System.Windows.Forms.Button()
|
||||
Me.Button5 = New System.Windows.Forms.Button()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
Me.Button1.Location = New System.Drawing.Point(50, 43)
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.Size = New System.Drawing.Size(180, 43)
|
||||
Me.Button1.TabIndex = 0
|
||||
Me.Button1.Text = "POGOserver Install"
|
||||
Me.Button1.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Button2
|
||||
'
|
||||
Me.Button2.Location = New System.Drawing.Point(50, 92)
|
||||
Me.Button2.Name = "Button2"
|
||||
Me.Button2.Size = New System.Drawing.Size(180, 43)
|
||||
Me.Button2.TabIndex = 1
|
||||
Me.Button2.Text = "POGOserver Start"
|
||||
Me.Button2.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Button3
|
||||
'
|
||||
Me.Button3.Location = New System.Drawing.Point(50, 141)
|
||||
Me.Button3.Name = "Button3"
|
||||
Me.Button3.Size = New System.Drawing.Size(180, 43)
|
||||
Me.Button3.TabIndex = 2
|
||||
Me.Button3.Text = "POGOserver Web-API"
|
||||
Me.Button3.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Button4
|
||||
'
|
||||
Me.Button4.Location = New System.Drawing.Point(50, 190)
|
||||
Me.Button4.Name = "Button4"
|
||||
Me.Button4.Size = New System.Drawing.Size(180, 43)
|
||||
Me.Button4.TabIndex = 3
|
||||
Me.Button4.Text = "POGOserver Uptade"
|
||||
Me.Button4.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Button5
|
||||
'
|
||||
Me.Button5.Location = New System.Drawing.Point(50, 268)
|
||||
Me.Button5.Name = "Button5"
|
||||
Me.Button5.Size = New System.Drawing.Size(180, 42)
|
||||
Me.Button5.TabIndex = 4
|
||||
Me.Button5.Text = "Quit"
|
||||
Me.Button5.UseVisualStyleBackColor = True
|
||||
'
|
||||
'POGOserver
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 16.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(289, 348)
|
||||
Me.Controls.Add(Me.Button5)
|
||||
Me.Controls.Add(Me.Button4)
|
||||
Me.Controls.Add(Me.Button3)
|
||||
Me.Controls.Add(Me.Button2)
|
||||
Me.Controls.Add(Me.Button1)
|
||||
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
|
||||
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
||||
Me.MaximizeBox = False
|
||||
Me.MinimizeBox = False
|
||||
Me.Name = "POGOserver"
|
||||
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
||||
Me.Text = "🍙POGOserver Control"
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
|
||||
Friend WithEvents Button1 As Button
|
||||
Friend WithEvents Button2 As Button
|
||||
Friend WithEvents Button3 As Button
|
||||
Friend WithEvents Button4 As Button
|
||||
Friend WithEvents Button5 As Button
|
||||
End Class
|
||||
145
Panel Control/POGOserver-Main.resx
Normal file
145
Panel Control/POGOserver-Main.resx
Normal file
|
|
@ -0,0 +1,145 @@
|
|||
<?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>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
|
||||
AAD///9W//////////v8/f7/+/v7//v7+//7+/v/+/v7//v7+//7+/v//Pv7///+/v//////////+///
|
||||
//////9W////Vv/////8/f77/v3+///////////////////////////////////////8/Pz///39////
|
||||
//v/////////Vv///1b9/v7/////+7nX7/+Pk5j/qaSd/62trP+srKz/qqyu/5OZof+xoY3///He////
|
||||
/////v37/////////1b++fhW/////4yv0Pt9cnH/nqmh/yU4Xv8AAAD/AAMD/xMAAP+Hb1j/laKl/2Vq
|
||||
aP/10q3/////+//+/f////9W////VtTw+/+AcIj7/PTV//////9jkMf/AAIL/wULDP8tBgD/5r+d////
|
||||
//+lxdb/qH2L//////v9/Pz/////Vv///1bG5vL/oGWF+///9///////baja/wAABv8ABQH/EAAA/82p
|
||||
ef//////3eTw/5Z/vf/////7/Pz9/////1b///xW6vX//4GOofv/8cb//////4u21/9IT1T/UFRV/2xU
|
||||
R//s1rf//////5zI5P+2in7/////+/38/P////9W//f2Vv7///+Yqrj727ap///////9/P3/////////
|
||||
/////////vz9//////9zhq7/58qe//////v//v3/////VvT5/Vb/////p9T2+5iEfP///e//+P3///r6
|
||||
+v/6+vr/+Pj5////+/+72f//loFs///76f/+///7/////////1b+//9W/vz9//////tpiKf/6MKf////
|
||||
///+/fz////////9+//6////gJWn/9m7lv///////fz8+/////////9W////Vv3+///////7s9v3/4hp
|
||||
bv///9r/+/v///z+/P//////stz0/4l2b////+f//P7//////vv/////////Vv///1b///////z8+///
|
||||
//94nb//yI9+////////+fn/5f///2dhi//szZP////////+/P/////7/////////1b///9W//////7+
|
||||
//v///z/5////3Bnl//XrYr//v///1Btnf+9h3H///////z9////////////+/////////9W////Vv//
|
||||
///////7/v7//////v/X8///YmyB/0VTRf+2j3v////v//z9//////7///////////v/////////Vv//
|
||||
/1b/////////+//////+/v////////P2+P/m4uT////8///+/v/////////////////////7////////
|
||||
/1b///9W//////////v///////////3+/////vz///////z9/v///v7/////////////////////+///
|
||||
//////9WgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIAB
|
||||
AACAAQAAgAEAAA==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
33
Panel Control/POGOserver-Main.vb
Normal file
33
Panel Control/POGOserver-Main.vb
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
Public Class POGOserver
|
||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||
Dim ID As Integer
|
||||
Hide()
|
||||
ID = Shell("cmd /c set LIBPROTOBUF=%CD%\protobuf | npm install node-protobuf && npm install", AppWinStyle.NormalFocus, True, -1)
|
||||
Show()
|
||||
End Sub
|
||||
|
||||
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
|
||||
Dim ID As Integer
|
||||
Hide()
|
||||
ID = Shell("cmd /c npm run boot", AppWinStyle.NormalFocus, True, -1)
|
||||
Show()
|
||||
End Sub
|
||||
|
||||
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
||||
Dim ID As Integer
|
||||
Hide()
|
||||
ID = Shell("cmd /c npm run api", AppWinStyle.NormalFocus, True, -1)
|
||||
Show()
|
||||
End Sub
|
||||
|
||||
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
|
||||
Dim ID As Integer
|
||||
Hide()
|
||||
ID = Shell("cmd /c npm run update", AppWinStyle.NormalFocus, True, -1)
|
||||
Show()
|
||||
End Sub
|
||||
|
||||
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
|
||||
End
|
||||
End Sub
|
||||
End Class
|
||||
BIN
Panel Control/POGOserver.ico
Normal file
BIN
Panel Control/POGOserver.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
138
Panel Control/Panel Control.vbproj
Normal file
138
Panel Control/Panel Control.vbproj
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{BF7FA37B-9C74-4FA1-9EDE-A88C77BB920D}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<StartupObject>Panel_Control.My.MyApplication</StartupObject>
|
||||
<RootNamespace>Panel_Control</RootNamespace>
|
||||
<AssemblyName>Panel Control</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>WindowsForms</MyType>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DocumentationFile>Panel Control.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>Panel Control.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>POGOserver.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.ServiceProcess" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Drawing" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Windows.Forms" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
<Import Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="POGOserver-Main.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="POGOserver-Main.Designer.vb">
|
||||
<DependentUpon>POGOserver-Main.vb</DependentUpon>
|
||||
<SubType>Form</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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="POGOserver-Main.resx">
|
||||
<DependentUpon>POGOserver-Main.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<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>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="POGOserver.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\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,33 @@
|
|||
Public Class POGOserver
|
||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||
Dim ID As Integer
|
||||
Hide()
|
||||
ID = Shell("cmd /c set LIBPROTOBUF=%CD%\protobuf | npm install node-protobuf && npm install", AppWinStyle.NormalFocus, True, -1)
|
||||
Show()
|
||||
End Sub
|
||||
|
||||
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
|
||||
Dim ID As Integer
|
||||
Hide()
|
||||
ID = Shell("cmd /c npm run boot", AppWinStyle.NormalFocus, True, -1)
|
||||
Show()
|
||||
End Sub
|
||||
|
||||
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
||||
Dim ID As Integer
|
||||
Hide()
|
||||
ID = Shell("cmd /c npm run api", AppWinStyle.NormalFocus, True, -1)
|
||||
Show()
|
||||
End Sub
|
||||
|
||||
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
|
||||
Dim ID As Integer
|
||||
Hide()
|
||||
ID = Shell("cmd /c npm run update", AppWinStyle.NormalFocus, True, -1)
|
||||
Show()
|
||||
End Sub
|
||||
|
||||
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
|
||||
End
|
||||
End Sub
|
||||
End Class
|
||||
91
run.bat
91
run.bat
|
|
@ -1,91 +0,0 @@
|
|||
@ECHO off
|
||||
:init
|
||||
CLS
|
||||
ECHO.
|
||||
TYPE %CD%\.greet
|
||||
ECHO.
|
||||
ECHO.
|
||||
ECHO 1 - Run Build-Install
|
||||
ECHO 2 - Run POGOserver
|
||||
ECHO 3 - Run Web-API
|
||||
ECHO 4 - Run POGOserver Update
|
||||
ECHO Q - Exit
|
||||
ECHO.
|
||||
REM To start the server automatically please remove "REM" in the following line and add "REM" in the current line "CHOICE".
|
||||
REM This Will start the server in 10 seconds for a superior time change /T 10 by /T XX.
|
||||
REM Change /D 2 by default startup service.
|
||||
ECHO.
|
||||
REM CHOICE /C:1234Q /N /T 10 /D 2 /M "Please select a control?"
|
||||
CHOICE /C:1234Q /M "Please select a control:"
|
||||
IF ERRORLEVEL 5 GOTO exit
|
||||
IF ERRORLEVEL 4 GOTO four
|
||||
IF ERRORLEVEL 3 GOTO three
|
||||
IF ERRORLEVEL 2 GOTO two
|
||||
IF ERRORLEVEL 1 GOTO one
|
||||
GOTO end
|
||||
|
||||
:one
|
||||
CLS
|
||||
ECHO.
|
||||
TYPE %CD%\.greet
|
||||
ECHO.
|
||||
ECHO.
|
||||
ECHO POGOserver Build-Install
|
||||
ECHO.
|
||||
ECHO.
|
||||
SET LIBPROTOBUF=%CD%\protobuf
|
||||
npm install node-protobuf && npm install
|
||||
GOTO end
|
||||
|
||||
:two
|
||||
CLS
|
||||
ECHO.
|
||||
TYPE %CD%\.greet
|
||||
ECHO.
|
||||
ECHO.
|
||||
ECHO Run POGOserver
|
||||
ECHO.
|
||||
ECHO.
|
||||
npm run boot
|
||||
GOTO end
|
||||
|
||||
:three
|
||||
CLS
|
||||
ECHO.
|
||||
TYPE %CD%\.greet
|
||||
ECHO.
|
||||
ECHO.
|
||||
ECHO Start POGOserver Web-API on port 9000
|
||||
ECHO.
|
||||
ECHO.
|
||||
npm run api
|
||||
GOTO end
|
||||
|
||||
:four
|
||||
CLS
|
||||
ECHO.
|
||||
TYPE %CD%\.greet
|
||||
ECHO.
|
||||
ECHO.
|
||||
ECHO POGOserver updater
|
||||
ECHO.
|
||||
ECHO.
|
||||
npm run update
|
||||
|
||||
:exit
|
||||
CLS
|
||||
ECHO.
|
||||
TYPE %CD%\.greet
|
||||
ECHO.
|
||||
ECHO.
|
||||
CHOICE /M "Do yo really want to quit"
|
||||
IF ERRORLEVEL 2 GOTO init
|
||||
|
||||
:end
|
||||
CLS
|
||||
ECHO.
|
||||
TYPE %CD%\.greet
|
||||
ECHO.
|
||||
ECHO.
|
||||
PAUSE
|
||||
ECHO.
|
||||
Loading…
Reference in New Issue
Block a user