POGOserver - Porting POGOserver to Visual Studio

This commit is contained in:
--=FurtiF™=-- 2016-11-01 19:44:49 +01:00
parent c689d50bb3
commit 9b13515b0f
3 changed files with 0 additions and 282 deletions

View File

@ -1,104 +0,0 @@
<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

View File

@ -1,145 +0,0 @@
<?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>

View File

@ -1,33 +0,0 @@
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