init commit

This commit is contained in:
zino
2021-02-16 23:07:41 +01:00
parent ec3fc78e0f
commit 12b4ef5db4
5000 changed files with 2596132 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Select a Product Configuration -->
<InstallShieldProductConfiguration>Express</InstallShieldProductConfiguration>
<!-- Select a Visual Studio Configuration / InstallShield Release -->
<Configuration>Debug</Configuration>
<InstallShieldRelease>$(Configuration)</InstallShieldRelease>
</PropertyGroup>
<ItemGroup>
<!-- The InstallShieldProject item selects the project to build -->
<InstallShieldProject Include="$(MSBuildProjectDirectory)\$(MSBuildProjectName).isl"/>
<!-- The InstallShieldReleaseFlags sets Release Flags -->
<!--<InstallShieldReleaseFlags Include=""/>-->
<!-- The InstallShieldMergeModulePath specifies what directories are
searched for Merge Modules -->
<!--<InstallShieldMergeModulePath Include=""/>-->
</ItemGroup>
<ItemGroup>
<!-- The ProjectReference items refer to any Visual Studio solutions you want to automatically probe for Project Output Groups. -->
</ItemGroup>
<ItemGroup>
<!-- The TaggedOutputs items allow you to explicitly add extra files to output groups. Each item must include both Name and OutputGroup, as well as TargetPath metadata values. -->
<!--<TaggedOutputs Include="C:\My Test Exe.exe">
<Name>My Test Project</Name>
<OutputGroup>Primary output</OutputGroup>
<TargetPath>My Test Exe.exe</TargetPath>
</TaggedOutputs> -->
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\InstallShield\2015Limited\InstallShield.targets"/>
<ItemGroup/>
</Project>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@@ -0,0 +1,523 @@
<HTML><HEAD><TITLE>Build Report</TITLE></HEAD><BODY>
<B><FONT FACE="Arial" SIZE=4><P ALIGN="center">
Build Report</P></B></FONT>
<B><I><FONT FACE="Arial" ><P>
Summary</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Number of features:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Number of merge modules:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Number of dynamic links:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Media:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
DVD-5
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Number of files:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
10
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Uncompressed files total size:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
3.06 MB
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Compressed files total size:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
0.00 MB
</FONT></P></TD>
</TR>
</TABLE>
<B><I><FONT FACE="Arial" ><P>
Features</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
<TR>
<TD WIDTH="100%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
AlwaysInstall
</FONT></P></TD>
</TR>
</TABLE>
<B><I><FONT FACE="Arial" ><P>
Merge Modules</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
</TABLE>
<B><I><FONT FACE="Arial" ><P>
Dynamic links</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
</TABLE>
<B><I><FONT FACE="Arial" ><P>
Files</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
<TR>
<TD WIDTH="30%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
File
</I></B></FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Destination
</I></B></FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Feature
</I></B></FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Last Modified
</I></B></FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Size (bytes)
</I></B></FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Version
</I></B></FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
MetroFramework.Design.dll
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
7/19/2016 11:44:02 PM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
16896
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1.4.0.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
MetroFramework.dll
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
7/19/2016 11:44:02 PM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
353280
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1.4.0.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
MetroFramework.Fonts.dll
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
7/19/2016 11:44:02 PM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
672256
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1.4.0.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
MySql.Data.dll
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
6/17/2016 5:29:10 PM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
424448
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
6.9.9.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.exe
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/5/2016 6:50:34 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1669120
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1.0.0.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.exe.config
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/4/2016 3:54:51 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1584
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.pdb
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/5/2016 6:50:34 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
50688
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.vshost.exe.config
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/4/2016 3:54:51 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1584
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.vshost.exe.manifest
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
7/16/2016 9:26:46 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
490
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.vshost.exe
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/5/2016 6:48:34 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
22696
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
14.0.23107.0
</FONT></P></TD>
</TR>
</TABLE>
</BODY></HTML>

View File

@@ -0,0 +1,523 @@
<HTML><HEAD><TITLE>Build Report</TITLE></HEAD><BODY>
<B><FONT FACE="Arial" SIZE=4><P ALIGN="center">
Build Report</P></B></FONT>
<B><I><FONT FACE="Arial" ><P>
Summary</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Number of features:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Number of merge modules:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Number of dynamic links:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Media:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
SingleImage
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Number of files:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
10
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Uncompressed files total size:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
0.00 MB
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="45%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Compressed files total size:
</FONT></P></TD>
<TD WIDTH="55%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
0.00 MB
</FONT></P></TD>
</TR>
</TABLE>
<B><I><FONT FACE="Arial" ><P>
Features</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
<TR>
<TD WIDTH="100%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
AlwaysInstall
</FONT></P></TD>
</TR>
</TABLE>
<B><I><FONT FACE="Arial" ><P>
Merge Modules</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
</TABLE>
<B><I><FONT FACE="Arial" ><P>
Dynamic links</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
</TABLE>
<B><I><FONT FACE="Arial" ><P>
Files</P></I></B></FONT>
<TABLE CELLSPACING=0 STYLE="margin-left:20" BORDER=0 CELLPADDING=4 WIDTH=600>
<TR>
<TD WIDTH="30%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
File
</I></B></FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Destination
</I></B></FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Feature
</I></B></FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Last Modified
</I></B></FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Size (bytes)
</I></B></FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><B><I><FONT FACE="Arial"SIZE=2><P>
Version
</I></B></FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.exe.config
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/4/2016 3:54:51 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1584
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.pdb
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/5/2016 6:50:34 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
50688
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.vshost.exe.config
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/4/2016 3:54:51 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1584
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.vshost.exe.manifest
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
0
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
MetroFramework.Design.dll
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
7/19/2016 11:44:02 PM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
16896
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1.4.0.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
MetroFramework.Fonts.dll
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
7/19/2016 11:44:02 PM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
672256
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1.4.0.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
MetroFramework.dll
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
7/19/2016 11:44:02 PM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
353280
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1.4.0.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
MySql.Data.dll
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
6/17/2016 5:29:10 PM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
424448
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
6.9.9.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.exe
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/5/2016 6:50:34 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1669120
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
1.0.0.0
</FONT></P></TD>
</TR>
<TR>
<TD WIDTH="30%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
WindowsFormsApplication2.vshost.exe
</FONT></P></TD>
<TD WIDTH="20%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
[ProgramFilesFolder]Zinomedia\PokerStarsBot
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
Always Install
</FONT></P></TD>
<TD WIDTH="15%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
11/5/2016 7:17:10 AM
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
22696
</FONT></P></TD>
<TD WIDTH="10%"VALIGN="center"><FONT FACE="Times New Roman"SIZE=2><P>
14.0.23107.0
</FONT></P></TD>
</TR>
</TABLE>
</BODY></HTML>

View File

@@ -0,0 +1,34 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30611.23
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication2", "WindowsFormsApplication2\WindowsFormsApplication2.csproj", "{2FD51233-AC89-43F0-9099-2E2851F41458}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
CD_ROM|Any CPU = CD_ROM|Any CPU
Debug|Any CPU = Debug|Any CPU
DVD-5|Any CPU = DVD-5|Any CPU
Release|Any CPU = Release|Any CPU
SingleImage|Any CPU = SingleImage|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2FD51233-AC89-43F0-9099-2E2851F41458}.CD_ROM|Any CPU.ActiveCfg = Release|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.CD_ROM|Any CPU.Build.0 = Release|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.DVD-5|Any CPU.ActiveCfg = Debug|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.DVD-5|Any CPU.Build.0 = Debug|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.Release|Any CPU.Build.0 = Release|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.SingleImage|Any CPU.ActiveCfg = Release|Any CPU
{2FD51233-AC89-43F0-9099-2E2851F41458}.SingleImage|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D5171551-EA89-42A9-A85D-569F4C88A9ED}
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDirUploadAll" serializeAs="String">
<value />
</setting>
<setting name="UploadAllTimeStamp" serializeAs="String">
<value />
</setting>
<setting name="DelaySeconds" serializeAs="String">
<value>0</value>
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApplication2
{
class Class1
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApplication2
{
class Class2
{
}
}

View File

@@ -0,0 +1,266 @@
namespace WindowsFormsApplication2
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label2 = new System.Windows.Forms.Label();
this.txtUserName = new MetroFramework.Controls.MetroTextBox();
this.txtPassword = new MetroFramework.Controls.MetroTextBox();
this.label1 = new System.Windows.Forms.Label();
this.RememberMeCheckBox = new MetroFramework.Controls.MetroCheckBox();
this.LoginButton = new MetroFramework.Controls.MetroButton();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.label3 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 5);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(346, 416);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Poppins Light", 10F);
this.label2.Location = new System.Drawing.Point(376, 82);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(464, 23);
this.label2.TabIndex = 3;
this.label2.Text = "Don\'t have an account? Go to the website and send out a request.";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// txtUserName
//
this.txtUserName.BackColor = System.Drawing.Color.White;
//
//
//
this.txtUserName.CustomButton.Image = null;
this.txtUserName.CustomButton.Location = new System.Drawing.Point(268, 1);
this.txtUserName.CustomButton.Name = "";
this.txtUserName.CustomButton.Padding = new System.Windows.Forms.Padding(15);
this.txtUserName.CustomButton.Size = new System.Drawing.Size(21, 21);
this.txtUserName.CustomButton.Style = MetroFramework.MetroColorStyle.Pink;
this.txtUserName.CustomButton.TabIndex = 1;
this.txtUserName.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.txtUserName.CustomButton.UseSelectable = true;
this.txtUserName.CustomButton.Visible = false;
this.txtUserName.FontSize = MetroFramework.MetroTextBoxSize.Medium;
this.txtUserName.FontWeight = MetroFramework.MetroTextBoxWeight.Light;
this.txtUserName.ForeColor = System.Drawing.Color.Black;
this.txtUserName.Icon = ((System.Drawing.Image)(resources.GetObject("txtUserName.Icon")));
this.txtUserName.IconRight = true;
this.txtUserName.Lines = new string[0];
this.txtUserName.Location = new System.Drawing.Point(380, 155);
this.txtUserName.MaxLength = 25;
this.txtUserName.Name = "txtUserName";
this.txtUserName.PasswordChar = '\0';
this.txtUserName.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.txtUserName.SelectedText = "";
this.txtUserName.SelectionLength = 0;
this.txtUserName.SelectionStart = 0;
this.txtUserName.ShortcutsEnabled = true;
this.txtUserName.Size = new System.Drawing.Size(290, 23);
this.txtUserName.Style = MetroFramework.MetroColorStyle.Blue;
this.txtUserName.TabIndex = 1;
this.txtUserName.UseSelectable = true;
this.txtUserName.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.txtUserName.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
this.txtUserName.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtUserName_KeyUp);
//
// txtPassword
//
this.txtPassword.BackColor = System.Drawing.Color.White;
//
//
//
this.txtPassword.CustomButton.Image = null;
this.txtPassword.CustomButton.Location = new System.Drawing.Point(268, 1);
this.txtPassword.CustomButton.Name = "";
this.txtPassword.CustomButton.Padding = new System.Windows.Forms.Padding(15);
this.txtPassword.CustomButton.Size = new System.Drawing.Size(21, 21);
this.txtPassword.CustomButton.Style = MetroFramework.MetroColorStyle.Pink;
this.txtPassword.CustomButton.TabIndex = 1;
this.txtPassword.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.txtPassword.CustomButton.UseSelectable = true;
this.txtPassword.CustomButton.Visible = false;
this.txtPassword.FontSize = MetroFramework.MetroTextBoxSize.Medium;
this.txtPassword.FontWeight = MetroFramework.MetroTextBoxWeight.Light;
this.txtPassword.ForeColor = System.Drawing.Color.Black;
this.txtPassword.Lines = new string[0];
this.txtPassword.Location = new System.Drawing.Point(380, 227);
this.txtPassword.MaxLength = 25;
this.txtPassword.Name = "txtPassword";
this.txtPassword.PasswordChar = '●';
this.txtPassword.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.txtPassword.SelectedText = "";
this.txtPassword.SelectionLength = 0;
this.txtPassword.SelectionStart = 0;
this.txtPassword.ShortcutsEnabled = true;
this.txtPassword.Size = new System.Drawing.Size(290, 23);
this.txtPassword.Style = MetroFramework.MetroColorStyle.Blue;
this.txtPassword.TabIndex = 2;
this.txtPassword.UseSelectable = true;
this.txtPassword.UseSystemPasswordChar = true;
this.txtPassword.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.txtPassword.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
this.txtPassword.Click += new System.EventHandler(this.metroTextBox1_Click);
this.txtPassword.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPassword_KeyDown);
this.txtPassword.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtPassword_KeyUp);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Century Gothic", 30F);
this.label1.ForeColor = System.Drawing.Color.Black;
this.label1.Location = new System.Drawing.Point(368, 11);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(126, 49);
this.label1.TabIndex = 3;
this.label1.Text = "Login";
//
// RememberMeCheckBox
//
this.RememberMeCheckBox.AutoSize = true;
this.RememberMeCheckBox.FontWeight = MetroFramework.MetroCheckBoxWeight.Light;
this.RememberMeCheckBox.Location = new System.Drawing.Point(380, 291);
this.RememberMeCheckBox.Name = "RememberMeCheckBox";
this.RememberMeCheckBox.Size = new System.Drawing.Size(98, 15);
this.RememberMeCheckBox.Style = MetroFramework.MetroColorStyle.Green;
this.RememberMeCheckBox.TabIndex = 3;
this.RememberMeCheckBox.Text = "Remember Me";
this.RememberMeCheckBox.UseCustomForeColor = true;
this.RememberMeCheckBox.UseSelectable = true;
this.RememberMeCheckBox.CheckedChanged += new System.EventHandler(this.metroCheckBox1_CheckedChanged);
//
// LoginButton
//
this.LoginButton.BackColor = System.Drawing.Color.Green;
this.LoginButton.Enabled = false;
this.LoginButton.FontSize = MetroFramework.MetroButtonSize.Tall;
this.LoginButton.FontWeight = MetroFramework.MetroButtonWeight.Light;
this.LoginButton.Highlight = true;
this.LoginButton.Location = new System.Drawing.Point(537, 330);
this.LoginButton.Name = "LoginButton";
this.LoginButton.Size = new System.Drawing.Size(133, 46);
this.LoginButton.Style = MetroFramework.MetroColorStyle.Green;
this.LoginButton.TabIndex = 4;
this.LoginButton.Text = "Login";
this.LoginButton.UseSelectable = true;
this.LoginButton.Click += new System.EventHandler(this.metroButton1_Click);
//
// pictureBox2
//
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(352, 155);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(22, 23);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox2.TabIndex = 6;
this.pictureBox2.TabStop = false;
//
// pictureBox3
//
this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
this.pictureBox3.Location = new System.Drawing.Point(352, 227);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(22, 23);
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox3.TabIndex = 6;
this.pictureBox3.TabStop = false;
//
// label3
//
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label3.Font = new System.Drawing.Font("Poppins Light", 8F);
this.label3.ForeColor = System.Drawing.Color.Black;
this.label3.Location = new System.Drawing.Point(534, 393);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(82, 18);
this.label3.TabIndex = 3;
this.label3.Text = "PokerStarsBot";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(715, 421);
this.Controls.Add(this.pictureBox3);
this.Controls.Add(this.pictureBox2);
this.Controls.Add(this.LoginButton);
this.Controls.Add(this.RememberMeCheckBox);
this.Controls.Add(this.label2);
this.Controls.Add(this.label3);
this.Controls.Add(this.label1);
this.Controls.Add(this.txtPassword);
this.Controls.Add(this.txtUserName);
this.Controls.Add(this.pictureBox1);
this.ForeColor = System.Drawing.SystemColors.MenuText;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "Form1";
this.Resizable = false;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label2;
private MetroFramework.Controls.MetroTextBox txtUserName;
private MetroFramework.Controls.MetroTextBox txtPassword;
private System.Windows.Forms.Label label1;
private MetroFramework.Controls.MetroCheckBox RememberMeCheckBox;
private MetroFramework.Controls.MetroButton LoginButton;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.PictureBox pictureBox3;
private System.Windows.Forms.Label label3;
}
}

View File

@@ -0,0 +1,283 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
using MySql.Data;
using System.Security.Cryptography;
namespace WindowsFormsApplication2
{
public partial class Form1 : MetroFramework.Forms.MetroForm
{
public string Version = "0.5.2";
public int FileNotOlderThanMin;
public object EnableDisableLoginButtons { get; private set; }
public Form1()
{
InitializeComponent();
label2.MaximumSize = new Size(300, 0);
label3.Text = label3.Text + " " + Version;
// Load credentials if saved
if (Properties.Settings.Default.UserName != string.Empty && Properties.Settings.Default.Password != string.Empty)
{
txtUserName.Text = Properties.Settings.Default.UserName;
txtPassword.Text = Properties.Settings.Default.Password;
RememberMeCheckBox.Checked = true;
EnableDisableLoginButton();
}
}
public DataTable GetSQLDataTable(string query)
{
DataTable dt = new DataTable();
try
{
var dbCon = Data.DBConnection.Instance();
dbCon.DatabaseName = "pkrstarsbot";
if (dbCon.IsConnect())
{
// Execute Query
var cmd = new MySqlCommand(query, dbCon.Connection);
using (MySqlDataReader dr = cmd.ExecuteReader())
{
dt.Load(dr);
}
dbCon.Close();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
return dt;
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void metroTextBox1_Click(object sender, EventArgs e)
{
}
private void label2_Click(object sender, EventArgs e)
{
}
// Login button
private void metroButton1_Click(object sender, EventArgs e)
{
try
{
var dbCon = Data.DBConnection.Instance();
dbCon.DatabaseName = "pkrstarsbot";
if (dbCon.IsConnect())
{
// Username and md5 password
string Username = txtUserName.Text;
string Password = txtPassword.Text;
string PasswordMD5 = CalculateMD5Hash(Password);
string Count1 = "";
//Console.WriteLine(PasswordMD5);
// Execute Query
//string query = "SELECT count(1) FROM `reg_users` WHERE `UserName` = '" + Username + "' AND `Password` = '" + PasswordMD5 + "'";
string query = "SELECT count(1) FROM `reg_users` WHERE `UserName` = @UserName AND `Password` = @PassWord";
var cmd = new MySqlCommand(query, dbCon.Connection);
cmd.Parameters.AddWithValue("@UserName", Username);
cmd.Parameters.AddWithValue("@PassWord", PasswordMD5);
var reader = cmd.ExecuteReader();
while (reader.Read())
{
Count1 = reader.GetString(0);
//Console.WriteLine(Count1);
}
reader.Close();
// User passwd combination found or not
if (Count1 == "1")
{
// Save credentials if Remember me checked
if (RememberMeCheckBox.Checked)
{
Console.WriteLine("WAS CHECKED");
Properties.Settings.Default.UserName = Username;
Properties.Settings.Default.Password = Password;
Properties.Settings.Default.Save();
}
else
{
Properties.Settings.Default.UserName = Username;
Properties.Settings.Default.Save();
}
// Hide Login, show up main
Main Main = new Main();
Main.Show();
this.Hide();
//MessageBox.Show("OK");
}
else if (Count1 == "0")
{
//MessageBox.Show("FAILED");
MessageBox.Show("LOGIN FAILED", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
dbCon.Close();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public string CalculateMD5Hash(string input)
{
// step 1, calculate MD5 hash from input
MD5 md5 = System.Security.Cryptography.MD5.Create();
byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input);
byte[] hash = md5.ComputeHash(inputBytes);
// step 2, convert byte array to hex string
StringBuilder sb = new StringBuilder();
for (int i = 0; i < hash.Length; i++)
{
sb.Append(hash[i].ToString("X2"));
}
return sb.ToString();
}
private void txtPassword_KeyUp(object sender, KeyEventArgs e)
{
EnableDisableLoginButton();
}
private void txtUserName_KeyUp(object sender, KeyEventArgs e)
{
EnableDisableLoginButton();
}
public void EnableDisableLoginButton()
{
if (txtUserName.Text == "" || txtPassword.Text == "")
{
LoginButton.Enabled = false;
}
else
{
LoginButton.Enabled = true;
}
}
private void metroCheckBox1_CheckedChanged(object sender, EventArgs e)
{
if (RememberMeCheckBox.Checked == false)
{
Console.WriteLine("CheckBox unchecked");
// Delete credentials
Properties.Settings.Default.UserName = string.Empty;
Properties.Settings.Default.Password = string.Empty;
Properties.Settings.Default.Save();
}
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
Application.Exit();
}
private void txtPassword_KeyDown(object sender, KeyEventArgs e)
{
// Enter hits login button
switch (e.KeyCode)
{
case Keys.Enter:
e.Handled = true;
e.SuppressKeyPress = true;
LoginButton.PerformClick();
break;
}
}
}
}
namespace Data
{
public class DBConnection
{
private DBConnection()
{
}
private string databaseName = string.Empty;
public string DatabaseName
{
get { return databaseName; }
set { databaseName = value; }
}
public string Password { get; set; }
private MySqlConnection connection = null;
public MySqlConnection Connection
{
get { return connection; }
}
private static DBConnection _instance = null;
public static DBConnection Instance()
{
if (_instance == null)
_instance = new DBConnection();
return _instance;
}
public bool IsConnect()
{
bool result = true;
if (Connection == null)
{
if (String.IsNullOrEmpty(databaseName))
result = false;
string connstring = string.Format("server=zinomedia.de;user id=pkrstarsbot;persistsecurityinfo=True;database={0};password=ichpkrstarsbot#1337", databaseName);
connection = new MySqlConnection(connstring);
connection.Open();
result = true;
}
return result;
}
public void Close()
{
connection.Close();
_instance = null;
}
}
}

View File

@@ -0,0 +1,752 @@
namespace WindowsFormsApplication2
{
public class FlatStyleMenuButton : System.Windows.Forms.Button
{
public string DisplayText { get; set; }
public FlatStyleMenuButton()
{
this.BackColor = System.Drawing.Color.Transparent;
this.DisplayText = this.Text;
this.FlatAppearance.BorderSize = 0;
this.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.Font = new System.Drawing.Font("Poppins Light", 12F);
this.ForeColor = System.Drawing.Color.White;
this.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.Padding = new System.Windows.Forms.Padding(15, 0, 0, 3);
this.UseVisualStyleBackColor = false;
}
}
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
this.metroPanel1 = new MetroFramework.Controls.MetroPanel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.metroPanel_run = new MetroFramework.Controls.MetroPanel();
this.StreamDelayTextBox = new MetroFramework.Controls.MetroTextBox();
this.label7 = new System.Windows.Forms.Label();
this.DelayLabel = new System.Windows.Forms.Label();
this.label_runpkrstarsbot = new System.Windows.Forms.Label();
this.label_chooseDir = new System.Windows.Forms.Label();
this.metroButton_chooseDir = new MetroFramework.Controls.MetroButton();
this.ToggleDelay = new MetroFramework.Controls.MetroToggle();
this.metroTextBox_chooseDir = new MetroFramework.Controls.MetroTextBox();
this.metroToggle1 = new MetroFramework.Controls.MetroToggle();
this.metroPanel_update = new MetroFramework.Controls.MetroPanel();
this.label3 = new System.Windows.Forms.Label();
this.label_recentVersion = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label_yourVersion = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.fbd = new System.Windows.Forms.FolderBrowserDialog();
this.metroPanel_UploadAll = new MetroFramework.Controls.MetroPanel();
this.UploadAll_label_uploaded = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.UploadAll_SelectButton = new MetroFramework.Controls.MetroButton();
this.UploadAll_metroTextBox = new MetroFramework.Controls.MetroTextBox();
this.UploadAll_toggle = new MetroFramework.Controls.MetroToggle();
this.label4 = new System.Windows.Forms.Label();
this.metroPanel_config = new MetroFramework.Controls.MetroPanel();
this.label10 = new System.Windows.Forms.Label();
this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox();
this.menuButton_config = new WindowsFormsApplication2.FlatStyleMenuButton();
this.UploadAllButton = new WindowsFormsApplication2.FlatStyleMenuButton();
this.flatStyleMenuButton2 = new WindowsFormsApplication2.FlatStyleMenuButton();
this.flatStyleMenuButton = new WindowsFormsApplication2.FlatStyleMenuButton();
this.metroPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.metroPanel_run.SuspendLayout();
this.metroPanel_update.SuspendLayout();
this.metroPanel_UploadAll.SuspendLayout();
this.metroPanel_config.SuspendLayout();
this.SuspendLayout();
//
// metroPanel1
//
this.metroPanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(32)))), ((int)(((byte)(40)))));
this.metroPanel1.Controls.Add(this.menuButton_config);
this.metroPanel1.Controls.Add(this.UploadAllButton);
this.metroPanel1.Controls.Add(this.pictureBox2);
this.metroPanel1.Controls.Add(this.flatStyleMenuButton2);
this.metroPanel1.Controls.Add(this.flatStyleMenuButton);
this.metroPanel1.HorizontalScrollbarBarColor = true;
this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
this.metroPanel1.HorizontalScrollbarSize = 10;
this.metroPanel1.Location = new System.Drawing.Point(-1, 5);
this.metroPanel1.Name = "metroPanel1";
this.metroPanel1.Size = new System.Drawing.Size(177, 408);
this.metroPanel1.TabIndex = 0;
this.metroPanel1.UseCustomBackColor = true;
this.metroPanel1.VerticalScrollbarBarColor = true;
this.metroPanel1.VerticalScrollbarHighlightOnWheel = false;
this.metroPanel1.VerticalScrollbarSize = 10;
this.metroPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.metroPanel1_Paint);
//
// pictureBox2
//
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(24, 21);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(121, 101);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox2.TabIndex = 3;
this.pictureBox2.TabStop = false;
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(4, 21);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(167, 111);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 2;
this.pictureBox1.TabStop = false;
//
// metroPanel_run
//
this.metroPanel_run.Controls.Add(this.StreamDelayTextBox);
this.metroPanel_run.Controls.Add(this.label7);
this.metroPanel_run.Controls.Add(this.DelayLabel);
this.metroPanel_run.Controls.Add(this.label_runpkrstarsbot);
this.metroPanel_run.Controls.Add(this.label_chooseDir);
this.metroPanel_run.Controls.Add(this.metroButton_chooseDir);
this.metroPanel_run.Controls.Add(this.ToggleDelay);
this.metroPanel_run.Controls.Add(this.metroTextBox_chooseDir);
this.metroPanel_run.Controls.Add(this.metroToggle1);
this.metroPanel_run.Dock = System.Windows.Forms.DockStyle.Fill;
this.metroPanel_run.HorizontalScrollbarBarColor = true;
this.metroPanel_run.HorizontalScrollbarHighlightOnWheel = false;
this.metroPanel_run.HorizontalScrollbarSize = 10;
this.metroPanel_run.Location = new System.Drawing.Point(0, 0);
this.metroPanel_run.Name = "metroPanel_run";
this.metroPanel_run.Size = new System.Drawing.Size(539, 387);
this.metroPanel_run.TabIndex = 1;
this.metroPanel_run.VerticalScrollbarBarColor = true;
this.metroPanel_run.VerticalScrollbarHighlightOnWheel = false;
this.metroPanel_run.VerticalScrollbarSize = 10;
//
// StreamDelayTextBox
//
this.StreamDelayTextBox.BackColor = System.Drawing.Color.White;
//
//
//
this.StreamDelayTextBox.CustomButton.Image = null;
this.StreamDelayTextBox.CustomButton.Location = new System.Drawing.Point(35, 2);
this.StreamDelayTextBox.CustomButton.Name = "";
this.StreamDelayTextBox.CustomButton.Padding = new System.Windows.Forms.Padding(15);
this.StreamDelayTextBox.CustomButton.Size = new System.Drawing.Size(15, 15);
this.StreamDelayTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Pink;
this.StreamDelayTextBox.CustomButton.TabIndex = 1;
this.StreamDelayTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.StreamDelayTextBox.CustomButton.UseSelectable = true;
this.StreamDelayTextBox.CustomButton.Visible = false;
this.StreamDelayTextBox.FontWeight = MetroFramework.MetroTextBoxWeight.Light;
this.StreamDelayTextBox.ForeColor = System.Drawing.Color.Black;
this.StreamDelayTextBox.Icon = ((System.Drawing.Image)(resources.GetObject("StreamDelayTextBox.Icon")));
this.StreamDelayTextBox.IconRight = true;
this.StreamDelayTextBox.Lines = new string[0];
this.StreamDelayTextBox.Location = new System.Drawing.Point(272, 274);
this.StreamDelayTextBox.MaxLength = 4;
this.StreamDelayTextBox.Name = "StreamDelayTextBox";
this.StreamDelayTextBox.PasswordChar = '\0';
this.StreamDelayTextBox.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.StreamDelayTextBox.SelectedText = "";
this.StreamDelayTextBox.SelectionLength = 0;
this.StreamDelayTextBox.SelectionStart = 0;
this.StreamDelayTextBox.ShortcutsEnabled = true;
this.StreamDelayTextBox.Size = new System.Drawing.Size(53, 20);
this.StreamDelayTextBox.Style = MetroFramework.MetroColorStyle.Blue;
this.StreamDelayTextBox.TabIndex = 6;
this.StreamDelayTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.StreamDelayTextBox.UseSelectable = true;
this.StreamDelayTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.StreamDelayTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
this.StreamDelayTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.StreamDelayTextBox_KeyPress);
this.StreamDelayTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StreamDelayTextBox_KeyUp);
//
// label7
//
this.label7.AutoSize = true;
this.label7.BackColor = System.Drawing.Color.Transparent;
this.label7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label7.Location = new System.Drawing.Point(198, 274);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(67, 17);
this.label7.TabIndex = 5;
this.label7.Text = "Seconds:";
//
// DelayLabel
//
this.DelayLabel.AutoSize = true;
this.DelayLabel.BackColor = System.Drawing.Color.Transparent;
this.DelayLabel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.DelayLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.DelayLabel.Location = new System.Drawing.Point(63, 247);
this.DelayLabel.Name = "DelayLabel";
this.DelayLabel.Size = new System.Drawing.Size(91, 17);
this.DelayLabel.TabIndex = 5;
this.DelayLabel.Text = "Stream delay";
//
// label_runpkrstarsbot
//
this.label_runpkrstarsbot.AutoSize = true;
this.label_runpkrstarsbot.BackColor = System.Drawing.Color.Transparent;
this.label_runpkrstarsbot.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label_runpkrstarsbot.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label_runpkrstarsbot.Location = new System.Drawing.Point(63, 160);
this.label_runpkrstarsbot.Name = "label_runpkrstarsbot";
this.label_runpkrstarsbot.Size = new System.Drawing.Size(129, 17);
this.label_runpkrstarsbot.TabIndex = 5;
this.label_runpkrstarsbot.Text = "Run PokerStarsBot";
//
// label_chooseDir
//
this.label_chooseDir.AutoSize = true;
this.label_chooseDir.BackColor = System.Drawing.Color.Transparent;
this.label_chooseDir.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label_chooseDir.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label_chooseDir.Location = new System.Drawing.Point(63, 63);
this.label_chooseDir.Name = "label_chooseDir";
this.label_chooseDir.Size = new System.Drawing.Size(262, 17);
this.label_chooseDir.TabIndex = 5;
this.label_chooseDir.Text = "Select PokerStars handhistory directory:";
//
// metroButton_chooseDir
//
this.metroButton_chooseDir.Location = new System.Drawing.Point(398, 89);
this.metroButton_chooseDir.Name = "metroButton_chooseDir";
this.metroButton_chooseDir.Size = new System.Drawing.Size(106, 23);
this.metroButton_chooseDir.Style = MetroFramework.MetroColorStyle.Blue;
this.metroButton_chooseDir.TabIndex = 4;
this.metroButton_chooseDir.Text = "Select";
this.metroButton_chooseDir.UseSelectable = true;
this.metroButton_chooseDir.UseStyleColors = true;
this.metroButton_chooseDir.Click += new System.EventHandler(this.metroButton1_Click);
//
// ToggleDelay
//
this.ToggleDelay.AutoSize = true;
this.ToggleDelay.DisplayStatus = false;
this.ToggleDelay.FontWeight = MetroFramework.MetroLinkWeight.Light;
this.ToggleDelay.Location = new System.Drawing.Point(67, 280);
this.ToggleDelay.Name = "ToggleDelay";
this.ToggleDelay.Size = new System.Drawing.Size(50, 17);
this.ToggleDelay.Style = MetroFramework.MetroColorStyle.Blue;
this.ToggleDelay.TabIndex = 2;
this.ToggleDelay.Text = "Off";
this.ToggleDelay.UseSelectable = true;
this.ToggleDelay.CheckedChanged += new System.EventHandler(this.ToggleDelay_CheckedChanged);
//
// metroTextBox_chooseDir
//
//
//
//
this.metroTextBox_chooseDir.CustomButton.Image = null;
this.metroTextBox_chooseDir.CustomButton.Location = new System.Drawing.Point(314, 1);
this.metroTextBox_chooseDir.CustomButton.Name = "";
this.metroTextBox_chooseDir.CustomButton.Size = new System.Drawing.Size(21, 21);
this.metroTextBox_chooseDir.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
this.metroTextBox_chooseDir.CustomButton.TabIndex = 1;
this.metroTextBox_chooseDir.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.metroTextBox_chooseDir.CustomButton.UseSelectable = true;
this.metroTextBox_chooseDir.CustomButton.Visible = false;
this.metroTextBox_chooseDir.FontWeight = MetroFramework.MetroTextBoxWeight.Light;
this.metroTextBox_chooseDir.Lines = new string[0];
this.metroTextBox_chooseDir.Location = new System.Drawing.Point(67, 89);
this.metroTextBox_chooseDir.MaxLength = 32767;
this.metroTextBox_chooseDir.Name = "metroTextBox_chooseDir";
this.metroTextBox_chooseDir.PasswordChar = '\0';
this.metroTextBox_chooseDir.ReadOnly = true;
this.metroTextBox_chooseDir.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.metroTextBox_chooseDir.SelectedText = "";
this.metroTextBox_chooseDir.SelectionLength = 0;
this.metroTextBox_chooseDir.SelectionStart = 0;
this.metroTextBox_chooseDir.ShortcutsEnabled = true;
this.metroTextBox_chooseDir.Size = new System.Drawing.Size(336, 23);
this.metroTextBox_chooseDir.Style = MetroFramework.MetroColorStyle.Blue;
this.metroTextBox_chooseDir.TabIndex = 3;
this.metroTextBox_chooseDir.UseSelectable = true;
this.metroTextBox_chooseDir.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.metroTextBox_chooseDir.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
//
// metroToggle1
//
this.metroToggle1.AutoSize = true;
this.metroToggle1.DisplayStatus = false;
this.metroToggle1.FontWeight = MetroFramework.MetroLinkWeight.Light;
this.metroToggle1.Location = new System.Drawing.Point(67, 193);
this.metroToggle1.Name = "metroToggle1";
this.metroToggle1.Size = new System.Drawing.Size(50, 17);
this.metroToggle1.Style = MetroFramework.MetroColorStyle.Blue;
this.metroToggle1.TabIndex = 2;
this.metroToggle1.Text = "Off";
this.metroToggle1.UseSelectable = true;
this.metroToggle1.CheckedChanged += new System.EventHandler(this.metroToggle1_CheckedChanged);
//
// metroPanel_update
//
this.metroPanel_update.Controls.Add(this.label3);
this.metroPanel_update.Controls.Add(this.label_recentVersion);
this.metroPanel_update.Controls.Add(this.label2);
this.metroPanel_update.Controls.Add(this.label_yourVersion);
this.metroPanel_update.Controls.Add(this.label1);
this.metroPanel_update.HorizontalScrollbarBarColor = true;
this.metroPanel_update.HorizontalScrollbarHighlightOnWheel = false;
this.metroPanel_update.HorizontalScrollbarSize = 10;
this.metroPanel_update.Location = new System.Drawing.Point(176, 26);
this.metroPanel_update.Name = "metroPanel_update";
this.metroPanel_update.Size = new System.Drawing.Size(539, 387);
this.metroPanel_update.TabIndex = 1;
this.metroPanel_update.VerticalScrollbarBarColor = true;
this.metroPanel_update.VerticalScrollbarHighlightOnWheel = false;
this.metroPanel_update.VerticalScrollbarSize = 10;
//
// label3
//
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label3.Location = new System.Drawing.Point(73, 213);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(366, 17);
this.label3.TabIndex = 6;
this.label3.Text = "Please visit the website and update your client if needed.";
//
// label_recentVersion
//
this.label_recentVersion.AutoSize = true;
this.label_recentVersion.BackColor = System.Drawing.Color.Transparent;
this.label_recentVersion.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label_recentVersion.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label_recentVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label_recentVersion.Location = new System.Drawing.Point(268, 115);
this.label_recentVersion.Name = "label_recentVersion";
this.label_recentVersion.Size = new System.Drawing.Size(2, 19);
this.label_recentVersion.TabIndex = 6;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label2.Location = new System.Drawing.Point(73, 115);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(136, 17);
this.label2.TabIndex = 6;
this.label2.Text = "Most recent version:";
//
// label_yourVersion
//
this.label_yourVersion.AutoSize = true;
this.label_yourVersion.BackColor = System.Drawing.Color.Transparent;
this.label_yourVersion.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label_yourVersion.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label_yourVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label_yourVersion.Location = new System.Drawing.Point(268, 63);
this.label_yourVersion.Name = "label_yourVersion";
this.label_yourVersion.Size = new System.Drawing.Size(2, 19);
this.label_yourVersion.TabIndex = 6;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label1.Location = new System.Drawing.Point(73, 63);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(94, 17);
this.label1.TabIndex = 6;
this.label1.Text = "Your Version:";
//
// fbd
//
this.fbd.ShowNewFolderButton = false;
this.fbd.HelpRequest += new System.EventHandler(this.folderBrowserDialog1_HelpRequest);
//
// metroPanel_UploadAll
//
this.metroPanel_UploadAll.Controls.Add(this.metroPanel_config);
this.metroPanel_UploadAll.Controls.Add(this.metroPanel_run);
this.metroPanel_UploadAll.Controls.Add(this.UploadAll_label_uploaded);
this.metroPanel_UploadAll.Controls.Add(this.label5);
this.metroPanel_UploadAll.Controls.Add(this.label6);
this.metroPanel_UploadAll.Controls.Add(this.UploadAll_SelectButton);
this.metroPanel_UploadAll.Controls.Add(this.UploadAll_metroTextBox);
this.metroPanel_UploadAll.Controls.Add(this.UploadAll_toggle);
this.metroPanel_UploadAll.Controls.Add(this.label4);
this.metroPanel_UploadAll.HorizontalScrollbarBarColor = true;
this.metroPanel_UploadAll.HorizontalScrollbarHighlightOnWheel = false;
this.metroPanel_UploadAll.HorizontalScrollbarSize = 10;
this.metroPanel_UploadAll.Location = new System.Drawing.Point(176, 26);
this.metroPanel_UploadAll.Name = "metroPanel_UploadAll";
this.metroPanel_UploadAll.Size = new System.Drawing.Size(539, 387);
this.metroPanel_UploadAll.TabIndex = 1;
this.metroPanel_UploadAll.VerticalScrollbarBarColor = true;
this.metroPanel_UploadAll.VerticalScrollbarHighlightOnWheel = false;
this.metroPanel_UploadAll.VerticalScrollbarSize = 10;
//
// UploadAll_label_uploaded
//
this.UploadAll_label_uploaded.AutoSize = true;
this.UploadAll_label_uploaded.BackColor = System.Drawing.Color.Transparent;
this.UploadAll_label_uploaded.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.UploadAll_label_uploaded.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F);
this.UploadAll_label_uploaded.Location = new System.Drawing.Point(172, 245);
this.UploadAll_label_uploaded.Name = "UploadAll_label_uploaded";
this.UploadAll_label_uploaded.Size = new System.Drawing.Size(0, 13);
this.UploadAll_label_uploaded.TabIndex = 10;
//
// label5
//
this.label5.AutoSize = true;
this.label5.BackColor = System.Drawing.Color.Transparent;
this.label5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label5.Location = new System.Drawing.Point(53, 212);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 17);
this.label5.TabIndex = 10;
this.label5.Text = "Upload All";
//
// label6
//
this.label6.AutoSize = true;
this.label6.BackColor = System.Drawing.Color.Transparent;
this.label6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label6.Location = new System.Drawing.Point(53, 115);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(262, 17);
this.label6.TabIndex = 11;
this.label6.Text = "Select PokerStars handhistory directory:";
//
// UploadAll_SelectButton
//
this.UploadAll_SelectButton.Location = new System.Drawing.Point(388, 141);
this.UploadAll_SelectButton.Name = "UploadAll_SelectButton";
this.UploadAll_SelectButton.Size = new System.Drawing.Size(106, 23);
this.UploadAll_SelectButton.Style = MetroFramework.MetroColorStyle.Blue;
this.UploadAll_SelectButton.TabIndex = 9;
this.UploadAll_SelectButton.Text = "Select";
this.UploadAll_SelectButton.UseSelectable = true;
this.UploadAll_SelectButton.UseStyleColors = true;
this.UploadAll_SelectButton.Click += new System.EventHandler(this.UploadAll_SelectButton_Click);
//
// UploadAll_metroTextBox
//
//
//
//
this.UploadAll_metroTextBox.CustomButton.Image = null;
this.UploadAll_metroTextBox.CustomButton.Location = new System.Drawing.Point(314, 1);
this.UploadAll_metroTextBox.CustomButton.Name = "";
this.UploadAll_metroTextBox.CustomButton.Size = new System.Drawing.Size(21, 21);
this.UploadAll_metroTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
this.UploadAll_metroTextBox.CustomButton.TabIndex = 1;
this.UploadAll_metroTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.UploadAll_metroTextBox.CustomButton.UseSelectable = true;
this.UploadAll_metroTextBox.CustomButton.Visible = false;
this.UploadAll_metroTextBox.FontWeight = MetroFramework.MetroTextBoxWeight.Light;
this.UploadAll_metroTextBox.Lines = new string[0];
this.UploadAll_metroTextBox.Location = new System.Drawing.Point(57, 141);
this.UploadAll_metroTextBox.MaxLength = 32767;
this.UploadAll_metroTextBox.Name = "UploadAll_metroTextBox";
this.UploadAll_metroTextBox.PasswordChar = '\0';
this.UploadAll_metroTextBox.ReadOnly = true;
this.UploadAll_metroTextBox.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.UploadAll_metroTextBox.SelectedText = "";
this.UploadAll_metroTextBox.SelectionLength = 0;
this.UploadAll_metroTextBox.SelectionStart = 0;
this.UploadAll_metroTextBox.ShortcutsEnabled = true;
this.UploadAll_metroTextBox.Size = new System.Drawing.Size(336, 23);
this.UploadAll_metroTextBox.Style = MetroFramework.MetroColorStyle.Blue;
this.UploadAll_metroTextBox.TabIndex = 8;
this.UploadAll_metroTextBox.UseSelectable = true;
this.UploadAll_metroTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.UploadAll_metroTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
//
// UploadAll_toggle
//
this.UploadAll_toggle.AutoSize = true;
this.UploadAll_toggle.DisplayStatus = false;
this.UploadAll_toggle.FontWeight = MetroFramework.MetroLinkWeight.Light;
this.UploadAll_toggle.Location = new System.Drawing.Point(57, 245);
this.UploadAll_toggle.Name = "UploadAll_toggle";
this.UploadAll_toggle.Size = new System.Drawing.Size(50, 17);
this.UploadAll_toggle.Style = MetroFramework.MetroColorStyle.Blue;
this.UploadAll_toggle.TabIndex = 7;
this.UploadAll_toggle.Text = "Off";
this.UploadAll_toggle.UseSelectable = true;
this.UploadAll_toggle.CheckedChanged += new System.EventHandler(this.UploadAll_toggle_CheckedChanged);
//
// label4
//
this.label4.AutoSize = true;
this.label4.BackColor = System.Drawing.Color.Transparent;
this.label4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label4.Location = new System.Drawing.Point(53, 35);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(419, 17);
this.label4.TabIndex = 6;
this.label4.Text = "Use this feature to upload your whole handhistory directory once.";
//
// metroPanel_config
//
this.metroPanel_config.AllowDrop = true;
this.metroPanel_config.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.metroPanel_config.Controls.Add(this.label10);
this.metroPanel_config.Controls.Add(this.metroTextBox1);
this.metroPanel_config.ForeColor = System.Drawing.SystemColors.ControlText;
this.metroPanel_config.HorizontalScrollbarBarColor = true;
this.metroPanel_config.HorizontalScrollbarHighlightOnWheel = false;
this.metroPanel_config.HorizontalScrollbarSize = 10;
this.metroPanel_config.Location = new System.Drawing.Point(6, 0);
this.metroPanel_config.Name = "metroPanel_config";
this.metroPanel_config.Size = new System.Drawing.Size(528, 376);
this.metroPanel_config.TabIndex = 12;
this.metroPanel_config.VerticalScrollbarBarColor = true;
this.metroPanel_config.VerticalScrollbarHighlightOnWheel = false;
this.metroPanel_config.VerticalScrollbarSize = 10;
//
// label10
//
this.label10.AutoSize = true;
this.label10.BackColor = System.Drawing.Color.Transparent;
this.label10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label10.Location = new System.Drawing.Point(53, 115);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(103, 17);
this.label10.TabIndex = 11;
this.label10.Text = "URL to upload:";
//
// metroTextBox1
//
//
//
//
this.metroTextBox1.CustomButton.Image = null;
this.metroTextBox1.CustomButton.Location = new System.Drawing.Point(314, 1);
this.metroTextBox1.CustomButton.Name = "";
this.metroTextBox1.CustomButton.Size = new System.Drawing.Size(21, 21);
this.metroTextBox1.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
this.metroTextBox1.CustomButton.TabIndex = 1;
this.metroTextBox1.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.metroTextBox1.CustomButton.UseSelectable = true;
this.metroTextBox1.CustomButton.Visible = false;
this.metroTextBox1.FontWeight = MetroFramework.MetroTextBoxWeight.Light;
this.metroTextBox1.Lines = new string[0];
this.metroTextBox1.Location = new System.Drawing.Point(57, 141);
this.metroTextBox1.MaxLength = 32767;
this.metroTextBox1.Name = "metroTextBox1";
this.metroTextBox1.PasswordChar = '\0';
this.metroTextBox1.ReadOnly = true;
this.metroTextBox1.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.metroTextBox1.SelectedText = "";
this.metroTextBox1.SelectionLength = 0;
this.metroTextBox1.SelectionStart = 0;
this.metroTextBox1.ShortcutsEnabled = true;
this.metroTextBox1.Size = new System.Drawing.Size(336, 23);
this.metroTextBox1.Style = MetroFramework.MetroColorStyle.Blue;
this.metroTextBox1.TabIndex = 8;
this.metroTextBox1.UseSelectable = true;
this.metroTextBox1.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.metroTextBox1.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
//
// menuButton_config
//
this.menuButton_config.BackColor = System.Drawing.Color.Transparent;
this.menuButton_config.DisplayText = "";
this.menuButton_config.FlatAppearance.BorderSize = 0;
this.menuButton_config.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.menuButton_config.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.menuButton_config.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.menuButton_config.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.menuButton_config.ForeColor = System.Drawing.Color.White;
this.menuButton_config.Image = ((System.Drawing.Image)(resources.GetObject("menuButton_config.Image")));
this.menuButton_config.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.menuButton_config.Location = new System.Drawing.Point(0, 301);
this.menuButton_config.Name = "menuButton_config";
this.menuButton_config.Padding = new System.Windows.Forms.Padding(15, 0, 0, 3);
this.menuButton_config.Size = new System.Drawing.Size(177, 50);
this.menuButton_config.TabIndex = 4;
this.menuButton_config.Text = "Config";
this.menuButton_config.UseVisualStyleBackColor = false;
this.menuButton_config.Click += new System.EventHandler(this.menuButton_config_Click);
//
// UploadAllButton
//
this.UploadAllButton.BackColor = System.Drawing.Color.Transparent;
this.UploadAllButton.DisplayText = "";
this.UploadAllButton.FlatAppearance.BorderSize = 0;
this.UploadAllButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.UploadAllButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.UploadAllButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.UploadAllButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.UploadAllButton.ForeColor = System.Drawing.Color.White;
this.UploadAllButton.Image = ((System.Drawing.Image)(resources.GetObject("UploadAllButton.Image")));
this.UploadAllButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.UploadAllButton.Location = new System.Drawing.Point(0, 196);
this.UploadAllButton.Name = "UploadAllButton";
this.UploadAllButton.Padding = new System.Windows.Forms.Padding(15, 0, 0, 3);
this.UploadAllButton.Size = new System.Drawing.Size(177, 50);
this.UploadAllButton.TabIndex = 2;
this.UploadAllButton.Text = "Upload All";
this.UploadAllButton.UseVisualStyleBackColor = false;
this.UploadAllButton.Click += new System.EventHandler(this.UploadAllButton_Click);
//
// flatStyleMenuButton2
//
this.flatStyleMenuButton2.BackColor = System.Drawing.Color.Transparent;
this.flatStyleMenuButton2.DisplayText = "";
this.flatStyleMenuButton2.FlatAppearance.BorderSize = 0;
this.flatStyleMenuButton2.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.flatStyleMenuButton2.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.flatStyleMenuButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.flatStyleMenuButton2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.flatStyleMenuButton2.ForeColor = System.Drawing.Color.White;
this.flatStyleMenuButton2.Image = ((System.Drawing.Image)(resources.GetObject("flatStyleMenuButton2.Image")));
this.flatStyleMenuButton2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.flatStyleMenuButton2.Location = new System.Drawing.Point(0, 252);
this.flatStyleMenuButton2.Name = "flatStyleMenuButton2";
this.flatStyleMenuButton2.Padding = new System.Windows.Forms.Padding(15, 0, 0, 3);
this.flatStyleMenuButton2.Size = new System.Drawing.Size(177, 50);
this.flatStyleMenuButton2.TabIndex = 2;
this.flatStyleMenuButton2.Text = "Version";
this.flatStyleMenuButton2.UseVisualStyleBackColor = false;
this.flatStyleMenuButton2.Click += new System.EventHandler(this.flatStyleMenuButton2_Click);
//
// flatStyleMenuButton
//
this.flatStyleMenuButton.BackColor = System.Drawing.Color.Transparent;
this.flatStyleMenuButton.DisplayText = "";
this.flatStyleMenuButton.FlatAppearance.BorderSize = 0;
this.flatStyleMenuButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.flatStyleMenuButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.flatStyleMenuButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.flatStyleMenuButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.flatStyleMenuButton.ForeColor = System.Drawing.Color.White;
this.flatStyleMenuButton.Image = ((System.Drawing.Image)(resources.GetObject("flatStyleMenuButton.Image")));
this.flatStyleMenuButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.flatStyleMenuButton.Location = new System.Drawing.Point(0, 140);
this.flatStyleMenuButton.Name = "flatStyleMenuButton";
this.flatStyleMenuButton.Padding = new System.Windows.Forms.Padding(15, 0, 0, 3);
this.flatStyleMenuButton.Size = new System.Drawing.Size(177, 50);
this.flatStyleMenuButton.TabIndex = 2;
this.flatStyleMenuButton.Text = "Run";
this.flatStyleMenuButton.UseVisualStyleBackColor = false;
this.flatStyleMenuButton.Click += new System.EventHandler(this.flatStyleMenuButton_Click);
//
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(715, 412);
this.Controls.Add(this.metroPanel_UploadAll);
this.Controls.Add(this.metroPanel1);
this.Controls.Add(this.metroPanel_update);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "Main";
this.Resizable = false;
this.ShowInTaskbar = false;
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
this.Load += new System.EventHandler(this.Main_Load);
this.metroPanel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.metroPanel_run.ResumeLayout(false);
this.metroPanel_run.PerformLayout();
this.metroPanel_update.ResumeLayout(false);
this.metroPanel_update.PerformLayout();
this.metroPanel_UploadAll.ResumeLayout(false);
this.metroPanel_UploadAll.PerformLayout();
this.metroPanel_config.ResumeLayout(false);
this.metroPanel_config.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private MetroFramework.Controls.MetroPanel metroPanel1;
private MetroFramework.Controls.MetroPanel metroPanel_run;
private System.Windows.Forms.PictureBox pictureBox1;
//private FlatStyleMenuButton flatStyleMenuButton4;
//private FlatStyleMenuButton flatStyleMenuButton3;
private MetroFramework.Controls.MetroToggle metroToggle1;
private MetroFramework.Controls.MetroPanel metroPanel_update;
private MetroFramework.Controls.MetroButton metroButton_chooseDir;
private MetroFramework.Controls.MetroTextBox metroTextBox_chooseDir;
private System.Windows.Forms.FolderBrowserDialog fbd;
private System.Windows.Forms.Label label_chooseDir;
private System.Windows.Forms.Label label_runpkrstarsbot;
private FlatStyleMenuButton flatStyleMenuButton;
private System.Windows.Forms.PictureBox pictureBox2;
private FlatStyleMenuButton flatStyleMenuButton2;
private System.Windows.Forms.Label label3;
private FlatStyleMenuButton UploadAllButton;
private System.Windows.Forms.Label label_recentVersion;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label_yourVersion;
private System.Windows.Forms.Label label1;
private MetroFramework.Controls.MetroPanel metroPanel_UploadAll;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private MetroFramework.Controls.MetroButton UploadAll_SelectButton;
private MetroFramework.Controls.MetroTextBox UploadAll_metroTextBox;
private MetroFramework.Controls.MetroToggle UploadAll_toggle;
private System.Windows.Forms.Label UploadAll_label_uploaded;
private System.Windows.Forms.Label DelayLabel;
private MetroFramework.Controls.MetroToggle ToggleDelay;
private MetroFramework.Controls.MetroTextBox StreamDelayTextBox;
private System.Windows.Forms.Label label7;
private MetroFramework.Controls.MetroPanel metroPanel_config;
private System.Windows.Forms.Label label10;
private MetroFramework.Controls.MetroTextBox metroTextBox1;
private FlatStyleMenuButton menuButton_config;
//private System.Windows.Forms.ToolStripContainer toolStripContainer1;
}
}

View File

@@ -0,0 +1,703 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Collections;
using System.Net;
using System.Collections.Specialized;
using System.Reflection;
using MySql.Data.MySqlClient;
namespace WindowsFormsApplication2
{
public partial class Main : MetroFramework.Forms.MetroForm
{
public Button[] MenuButtons;
public Panel[] Panels;
public int LoopIntervalMS = 1000;
public Dictionary<string, DateTime> dictionary = new Dictionary<string, DateTime>();
//public List<FileInfo> UploadList = new List<FileInfo>();
public string UserName = Properties.Settings.Default.UserName;
public string ClientSecret = "e0VV7kkkYwK2";
public string HttpUploadPHP = "https://zinomedia.de/pkrstarsbot/upload.php";
public int UploadFileSizeLimitBytes = 10485760;
public bool Uploading = false;
public int FileNotOlderThanMin;
public string RecentVersion;
public string Version = "0.5.2";
public int UserID;
public int UploadAllFileCount = 0;
public Main()
{
InitializeComponent();
System.Net.ServicePointManager.DefaultConnectionLimit = 1;
// Array with all menu buttons & menu button initialize
MenuButtons = new Button[] { flatStyleMenuButton, flatStyleMenuButton2, UploadAllButton, menuButton_config };
InitializeFlatMenuButtons();
// Array with all panels
Panels = new Panel[] { metroPanel_run, metroPanel_update, metroPanel_UploadAll, metroPanel_config };
// Load saved settings
if (Properties.Settings.Default.HandhistoryDir != string.Empty)
{
metroTextBox_chooseDir.Text = Properties.Settings.Default.HandhistoryDir;
}
if (Properties.Settings.Default.HandhistoryDirUploadAll != string.Empty)
{
UploadAll_metroTextBox.Text = Properties.Settings.Default.HandhistoryDirUploadAll;
}
if (Properties.Settings.Default.UploadAllTimeStamp != string.Empty)
{
UploadAll_label_uploaded.Text = Properties.Settings.Default.UploadAllTimeStamp;
}
if (Properties.Settings.Default.DelaySeconds != string.Empty)
{
ToggleDelay.Checked = true;
StreamDelayTextBox.Text = Properties.Settings.Default.DelaySeconds;
}
// Enable or disable run button
EnableDisabledRunButton(metroTextBox_chooseDir, metroToggle1);
EnableDisabledRunButton(UploadAll_metroTextBox, UploadAll_toggle);
// Default Menu item
TogglePanels(metroPanel_run);
ToggleButtons(flatStyleMenuButton);
// SQL Data CONFIG
string query = "SELECT * FROM `config`";
DataTable dt = GetSQLDataTable(query);
FileNotOlderThanMin = dt.Rows[0].Field<Int32>("Value");
RecentVersion = dt.Rows[1].Field<string>("Value_String");
// SQL Data USER
query = "SELECT ID FROM `reg_users` WHERE `UserName` = '" + UserName + "'";
DataTable dtID = GetSQLDataTable(query);
UserID = dtID.Rows[0].Field<Int32>("ID");
//foreach (DataRow dr in dt.Rows)
//{
// System.Console.WriteLine(dr.Field<Int32>("ID"));
//}
//for (int i = 0; i < dt.Rows.Count; i++)
//{
// // your index is in i
// var row = dt.Rows[i];
// Console.WriteLine(i);
//}
// Version labels
label_recentVersion.Text = RecentVersion;
label_yourVersion.Text = Version;
// Version comparing
var version1 = new Version(RecentVersion);
var version2 = new Version(Version);
var result = version1.CompareTo(version2);
if (result > 0)
{
MessageBox.Show("There is a newer client version available.\nPlease update asap.", "Version", MessageBoxButtons.OK, MessageBoxIcon.Information);
TogglePanels(metroPanel_update);
}
else if (result < 0)
{
Console.WriteLine("version2 is greater");
}
else
{
Console.WriteLine("versions are equal");
}
// DelayTextBox initial toggle
ToggleDelayTextBox();
AppDomain.CurrentDomain.ProcessExit += new EventHandler(OnProcessExit);
// Tray icon from embedded resource
System.IO.Stream st;
System.Reflection.Assembly a = System.Reflection.Assembly.GetExecutingAssembly();
st = a.GetManifestResourceStream("WindowsFormsApplication2.Properties.pkrstarsbot.ico");
System.Windows.Forms.NotifyIcon ni = new System.Windows.Forms.NotifyIcon();
ni.Icon = new System.Drawing.Icon(st);
ni.Visible = true;
ni.DoubleClick +=
delegate (object sender, EventArgs args)
{
this.WindowState = FormWindowState.Minimized;
this.Show();
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
};
}
public DataTable GetSQLDataTable(string query)
{
DataTable dt = new DataTable();
try
{
var dbCon = Data.DBConnection.Instance();
dbCon.DatabaseName = "pkrstarsbot";
if (dbCon.IsConnect())
{
// Execute Query
var cmd = new MySqlCommand(query, dbCon.Connection);
using (MySqlDataReader dr = cmd.ExecuteReader())
{
dt.Load(dr);
}
dbCon.Close();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
return dt;
}
public void UpdateInsertSQL(string query)
{
try
{
var dbCon = Data.DBConnection.Instance();
dbCon.DatabaseName = "pkrstarsbot";
if (dbCon.IsConnect())
{
// Execute Query
using (var cmd = new MySqlCommand(query, dbCon.Connection))
{
cmd.ExecuteReader();
}
dbCon.Close();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public void InitializeFlatMenuButtons()
{
foreach (var item in MenuButtons)
{
item.BackColor = System.Drawing.Color.Transparent;
item.FlatAppearance.BorderSize = 0;
item.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
item.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
item.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
item.Font = new System.Drawing.Font("Poppins Light", 12F);
item.ForeColor = System.Drawing.Color.White;
item.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
item.Padding = new System.Windows.Forms.Padding(15, 0, 0, 3);
item.UseVisualStyleBackColor = false;
((FlatStyleMenuButton)item).DisplayText = item.Text;
item.Click += (s, e) => ToggleButtons((Button)s);
item.EnabledChanged += new System.EventHandler(ButtonEnabledChangedEvent);
item.Paint += new System.Windows.Forms.PaintEventHandler(ButtonPaintEvent);
item.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
item.FlatAppearance.BorderSize = 0;
}
}
public void TogglePanels(Panel ActivePanel)
{
Console.WriteLine("ActivePanel: " + ActivePanel.Name);
foreach (var LoopPanel in Panels)
{
Console.WriteLine("LoopPanel: " + LoopPanel.Name);
if (ActivePanel.Name == LoopPanel.Name)
{
LoopPanel.Show();
}
else
{
LoopPanel.Hide();
}
}
}
public void ToggleButtons(Button OwnButton)
{
// Clicked button
OwnButton.Enabled = false;
OwnButton.BackColor = Color.FromArgb(45, 137, 239);
OwnButton.FlatAppearance.MouseOverBackColor = Color.FromArgb(45, 137, 239);
OwnButton.FlatAppearance.BorderColor = Color.FromArgb(45, 137, 239);
OwnButton.FlatAppearance.BorderSize = 0;
foreach (var item in MenuButtons)
{
// Skip active button
if (OwnButton.Name == item.Name)
{
continue;
}
else
{
item.Enabled = true;
item.BackColor = System.Drawing.Color.Transparent;
item.FlatAppearance.MouseOverBackColor = Color.FromArgb(26, 32, 40);
item.FlatAppearance.BorderSize = 0;
}
}
}
private void ButtonEnabledChangedEvent(object sender, EventArgs e)
{
var btn = (Button)sender;
btn.ForeColor = btn.Enabled ? Color.White : Color.White;
}
private void ButtonPaintEvent(object sender, PaintEventArgs e)
{
var btn = (FlatStyleMenuButton)sender;
var drawBrush = new SolidBrush(btn.ForeColor);
var sf = new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center };
btn.Text = string.Empty;
e.Graphics.DrawString(btn.DisplayText, btn.Font, drawBrush, e.ClipRectangle, sf);
drawBrush.Dispose();
sf.Dispose();
}
private void Main_FormClosing(object sender, FormClosingEventArgs e)
{
Application.Exit();
}
private void flatStyleMenuButton4_Click(object sender, EventArgs e)
{
TogglePanels(metroPanel_run);
}
private void flatStyleMenuButton3_Click(object sender, EventArgs e)
{
TogglePanels(metroPanel_update);
}
private void metroButton1_Click(object sender, EventArgs e)
{
// Open FileBrowserDialog and save dir
if (fbd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
metroTextBox_chooseDir.Text = fbd.SelectedPath;
Properties.Settings.Default.HandhistoryDir = fbd.SelectedPath;
Properties.Settings.Default.Save();
}
// Enable/disable run button
EnableDisabledRunButton(metroTextBox_chooseDir, metroToggle1);
}
private void EnableDisabledRunButton(MetroFramework.Controls.MetroTextBox textbox, MetroFramework.Controls.MetroToggle toggle)
{
if (textbox.Text == string.Empty)
{
toggle.Enabled = false;
}
else
{
toggle.Enabled = true;
}
}
private void folderBrowserDialog1_HelpRequest(object sender, EventArgs e)
{
}
private void metroToggle1_CheckedChanged(object sender, EventArgs e)
{
if (metroToggle1.Checked == true)
{
System.Console.WriteLine("Checked");
// Spawn backgroundworker
BackgroundWorker backgroundworker = new BackgroundWorker
{
WorkerReportsProgress = true,
WorkerSupportsCancellation = true,
};
backgroundworker.DoWork += BackgroundWorkerOnDoWork;
backgroundworker.ProgressChanged += BackgroundWorkerOnProgressChanged;
backgroundworker.RunWorkerCompleted += BackgroundWorkerCompleted;
backgroundworker.RunWorkerAsync();
// Disable ChooseDir button
metroButton_chooseDir.Enabled = false;
}
else
{
System.Console.WriteLine("Unchecked");
// Enable ChooseDir button
metroButton_chooseDir.Enabled = true;
}
}
private void BackgroundWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
//int result = (int)e.Result;
//MessageBox.Show(result.ToString());
}
private void BackgroundWorkerOnProgressChanged(object sender, ProgressChangedEventArgs e)
{
//object userObject = e.UserState;
//int percentage = e.ProgressPercentage;
System.Console.WriteLine(e.ProgressPercentage);
}
private void BackgroundWorkerOnDoWork (object sender, DoWorkEventArgs e)
{
BackgroundWorker worker = (BackgroundWorker)sender;
while (!worker.CancellationPending)
{
//worker.ReportProgress(2);
List<FileInfo> UploadList = DirectoryListing();
UploadFiles(UploadList);
System.Threading.Thread.Sleep(LoopIntervalMS);
if (metroToggle1.Checked == false)
{
worker.CancelAsync();
}
}
}
public void UploadFiles(List<FileInfo> UploadList)
{
bool isEmpty = !UploadList.Any();
if (isEmpty)
{
System.Console.WriteLine("UploadList is empty");
return;
}
else if (Uploading)
{
System.Console.WriteLine("Currently uploading.");
return;
}
else
{
System.Console.WriteLine("UploadList contains elements");
Uploading = true;
WebClient client = new WebClient();
client.Encoding = Encoding.UTF8;
client.Credentials = CredentialCache.DefaultCredentials;
NameValueCollection parameters = new NameValueCollection();
parameters.Add("UserID", UserID.ToString());
parameters.Add("ClientSecret", ClientSecret);
client.QueryString = parameters;
for (int i = UploadList.Count - 1; i >= 0; i--)
{
// Current fileinfo object
FileInfo file = UploadList[i];
// Upload filesize limit
if (file.Length <= UploadFileSizeLimitBytes)
{
//Upload via webclient post with parameters
try
{
var responseBytes = client.UploadFile(HttpUploadPHP, "POST", file.FullName);
string Httpresponse = Encoding.ASCII.GetString(responseBytes);
System.Threading.Thread.Sleep(500);
}
catch (Exception err)
{
MessageBox.Show(err.Message);
}
//UploadSingleWait(file.FullName);
}
else
{
System.Console.WriteLine("File is too large for upload.");
}
UploadList.RemoveAt(i);
}
client.Dispose();
Uploading = false;
}
}
public List<FileInfo> DirectoryListing()
{
List<FileInfo> UploadList = new List<FileInfo>();
DirectoryInfo d = new DirectoryInfo(metroTextBox_chooseDir.Text);
FileInfo[] Files = d.GetFiles("*.txt");
foreach (FileInfo file in Files)
{
// Files in range of FileNotOlderThanMin
if (file.LastWriteTime < DateTime.Now.AddMinutes(-this.FileNotOlderThanMin))
{
System.Console.WriteLine(file + " is older than 11 minutes");
}
else
{
// Recent files modtime check
System.Console.WriteLine(file + " is recent");
if(dictionary.ContainsKey(file.Name) == true)
{
System.Console.WriteLine("File is in dictionary");
DateTime OldModTime = dictionary[file.Name];
DateTime NewModTime = file.LastWriteTime;
int result = DateTime.Compare(OldModTime, NewModTime);
if (result == 0)
{
System.Console.WriteLine(" but ModTimes are identical");
}
else
{
System.Console.WriteLine(" and ModTime has changed!");
dictionary[file.Name] = NewModTime;
UploadList.Add(file);
}
}
else
{
System.Console.WriteLine("File adding to dictionary");
dictionary.Add(file.Name, file.LastWriteTime);
UploadList.Add(file);
}
}
}
return UploadList;
//UploadFiles(UploadList);
}
private void metroPanel1_Paint(object sender, PaintEventArgs e)
{
}
private void Main_Load(object sender, EventArgs e)
{
// Print embedded resource
//Assembly myAssembly = Assembly.GetExecutingAssembly();
//string[] names = myAssembly.GetManifestResourceNames();
//foreach (string name in names)
//{
// Console.WriteLine(name);
//}
}
private void flatStyleMenuButton_Click(object sender, EventArgs e)
{
TogglePanels(metroPanel_run);
}
private void flatStyleMenuButton2_Click(object sender, EventArgs e)
{
TogglePanels(metroPanel_update);
}
private void UploadAllButton_Click(object sender, EventArgs e)
{
TogglePanels(metroPanel_UploadAll);
}
private void UploadAll_SelectButton_Click(object sender, EventArgs e)
{
// Open FileBrowserDialog and save dir
if (fbd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
UploadAll_metroTextBox.Text = fbd.SelectedPath;
Properties.Settings.Default.HandhistoryDirUploadAll = fbd.SelectedPath;
Properties.Settings.Default.Save();
}
// Enable/disable run button
EnableDisabledRunButton(UploadAll_metroTextBox, UploadAll_toggle);
}
private void UploadAll_toggle_CheckedChanged(object sender, EventArgs e)
{
// Spawn backgroundworker
BackgroundWorker backgroundworker = new BackgroundWorker
{
WorkerReportsProgress = true,
WorkerSupportsCancellation = true,
};
if (UploadAll_toggle.Checked == true)
{
System.Console.WriteLine("Checked");
UploadAll_label_uploaded.Text = "Uploading ...";
backgroundworker.DoWork += BackgroundWorkerUploadAllOnDoWork;
backgroundworker.RunWorkerCompleted += BackgroundWorkerUploadAllCompleted;
backgroundworker.RunWorkerAsync();
// Disable ChooseDir button
metroButton_chooseDir.Enabled = false;
}
else
{
System.Console.WriteLine("Unchecked");
// Enable ChooseDir button
metroButton_chooseDir.Enabled = true;
}
}
private void BackgroundWorkerUploadAllOnDoWork(object sender, DoWorkEventArgs e)
{
BackgroundWorker worker = (BackgroundWorker)sender;
DirectoryInfo d = new DirectoryInfo(UploadAll_metroTextBox.Text);
FileInfo[] Files = d.GetFiles("*.txt");
List<FileInfo> UploadAllList = new List<FileInfo>();
foreach (FileInfo file in Files)
{
if (!worker.CancellationPending)
{
if (UploadAll_toggle.Checked == false)
{
worker.CancelAsync();
}
// File-by-File upload
UploadAllList.Clear();
// Update the last write time.
File.SetLastWriteTime(file.FullName, DateTime.Now);
// Add to UploadAllList
UploadAllList.Add(file);
// Upload files
UploadFiles(UploadAllList);
UploadAllFileCount++;
}
else
{
return;
}
}
// Upload files
//UploadFiles(UploadAllList);
}
private void BackgroundWorkerUploadAllCompleted(object sender, RunWorkerCompletedEventArgs e)
{
string UploadAllTimeStamp = UploadAllFileCount + " files successfully uploaded @ " + DateTime.Now.ToString("yyyy/dd/M HH:mm:ss");
//MessageBox.Show("Upload All successfull!");
UploadAll_label_uploaded.Text = UploadAllTimeStamp;
Properties.Settings.Default.UploadAllTimeStamp = UploadAllTimeStamp;
Properties.Settings.Default.Save();
UploadAllFileCount = 0;
UploadAll_toggle.Checked = false;
}
private void StreamDelayTextBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}
private void ToggleDelay_CheckedChanged(object sender, EventArgs e)
{
ToggleDelayTextBox();
}
private void ToggleDelayTextBox()
{
if (ToggleDelay.Checked == true)
{
StreamDelayTextBox.Enabled = true;
}
else if (ToggleDelay.Checked == false)
{
StreamDelayTextBox.Text = "";
StreamDelayTextBox.Enabled = false;
Properties.Settings.Default.DelaySeconds = "";
Properties.Settings.Default.Save();
SQLStreamDelay();
}
}
public void OnProcessExit(object sender, EventArgs e)
{
}
public void SQLStreamDelay()
{
if (Properties.Settings.Default.DelaySeconds != string.Empty)
{
// Stream Delay SQl insert/update
string InsertQuery = "INSERT INTO `pkrstarsbot`.`config_user` (`UserID` ,`Key`) SELECT " + UserID + ", 'DelaySeconds' FROM dual WHERE NOT EXISTS (SELECT 1 FROM `pkrstarsbot`.`config_user` WHERE UserID = " + UserID + " AND `Key` = 'DelaySeconds')";
UpdateInsertSQL(InsertQuery);
string query = "UPDATE `pkrstarsbot`.`config_user` SET `Value` = '" + Properties.Settings.Default.DelaySeconds + "' WHERE `config_user`.`UserID` = " + UserID + ";";
UpdateInsertSQL(query);
}
else
{
// Stream Delay SQl insert/update
string InsertQuery = "INSERT INTO `pkrstarsbot`.`config_user` (`UserID` ,`Key`) SELECT " + UserID + ", 'DelaySeconds' FROM dual WHERE NOT EXISTS (SELECT 1 FROM `pkrstarsbot`.`config_user` WHERE UserID = " + UserID + " AND `Key` = 'DelaySeconds')";
UpdateInsertSQL(InsertQuery);
string query = "UPDATE `pkrstarsbot`.`config_user` SET `Value` = '" + Properties.Settings.Default.DelaySeconds + "' WHERE `config_user`.`UserID` = " + UserID + ";";
UpdateInsertSQL(query);
}
}
private void StreamDelayTextBox_KeyUp(object sender, KeyEventArgs e)
{
Console.WriteLine(StreamDelayTextBox.Text);
Properties.Settings.Default.DelaySeconds = StreamDelayTextBox.Text;
Properties.Settings.Default.Save();
SQLStreamDelay();
}
private void label11_Click(object sender, EventArgs e)
{
}
private void menuButton_config_Click(object sender, EventArgs e)
{
TogglePanels(metroPanel_config);
}
}
}

View File

@@ -0,0 +1,6 @@
namespace WindowsFormsApplication2
{
internal class MySqlConnection
{
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using 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.
[assembly: AssemblyTitle("WindowsFormsApplication2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("WindowsFormsApplication2")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2fd51233-ac89-43f0-9099-2e2851f41458")]
// 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("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WindowsFormsApplication2.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApplication2.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <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)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View 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>

View File

@@ -0,0 +1,98 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WindowsFormsApplication2.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string UserName {
get {
return ((string)(this["UserName"]));
}
set {
this["UserName"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string Password {
get {
return ((string)(this["Password"]));
}
set {
this["Password"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string HandhistoryDir {
get {
return ((string)(this["HandhistoryDir"]));
}
set {
this["HandhistoryDir"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string HandhistoryDirUploadAll {
get {
return ((string)(this["HandhistoryDirUploadAll"]));
}
set {
this["HandhistoryDirUploadAll"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string UploadAllTimeStamp {
get {
return ((string)(this["UploadAllTimeStamp"]));
}
set {
this["UploadAllTimeStamp"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
public string DelaySeconds {
get {
return ((string)(this["DelaySeconds"]));
}
set {
this["DelaySeconds"] = value;
}
}
}
}

View File

@@ -0,0 +1,24 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="WindowsFormsApplication2.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="UserName" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="Password" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="HandhistoryDir" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="HandhistoryDirUploadAll" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="UploadAllTimeStamp" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="DelaySeconds" Type="System.String" Scope="User">
<Value Profile="(Default)">0</Value>
</Setting>
</Settings>
</SettingsFile>

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,175 @@
<?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>{2FD51233-AC89-43F0-9099-2E2851F41458}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WindowsFormsApplication2</RootNamespace>
<AssemblyName>PokerStarsBot_Clientv0.1Alpha</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>favicon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<SignManifests>false</SignManifests>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>50D89C6E3FFE7FA8FB6FBB769E3878C78CE4A753</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>WindowsFormsApplication2_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>WindowsFormsApplication2_TemporaryKey.pfx</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup />
<ItemGroup>
<Reference Include="MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=MSIL">
<HintPath>..\packages\MetroModernUI.1.4.0.0\lib\net\MetroFramework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="MetroFramework.Design, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=MSIL">
<HintPath>..\packages\MetroModernUI.1.4.0.0\lib\net\MetroFramework.Design.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="MetroFramework.Fonts, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=MSIL">
<HintPath>..\packages\MetroModernUI.1.4.0.0\lib\net\MetroFramework.Fonts.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.6.9.9\lib\net45\MySql.Data.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Class1.cs" />
<Compile Include="Class2.cs" />
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Form2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form2.Designer.cs">
<DependentUpon>Form2.cs</DependentUpon>
</Compile>
<Compile Include="MySqlConnection.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form2.resx">
<DependentUpon>Form2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="WindowsFormsApplication2_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\icon.ico" />
</ItemGroup>
<ItemGroup>
<Content Include="favicon.ico" />
<Content Include="icon.ico" />
<EmbeddedResource Include="Properties\pkrstarsbot.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
<ProjectView>ShowAllFiles</ProjectView>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDirUploadAll" serializeAs="String">
<value />
</setting>
<setting name="UploadAllTimeStamp" serializeAs="String">
<value />
</setting>
<setting name="DelaySeconds" serializeAs="String">
<value>0</value>
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDirUploadAll" serializeAs="String">
<value />
</setting>
<setting name="UploadAllTimeStamp" serializeAs="String">
<value />
</setting>
<setting name="DelaySeconds" serializeAs="String">
<value>0</value>
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDirUploadAll" serializeAs="String">
<value />
</setting>
<setting name="UploadAllTimeStamp" serializeAs="String">
<value />
</setting>
<setting name="DelaySeconds" serializeAs="String">
<value>0</value>
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDirUploadAll" serializeAs="String">
<value />
</setting>
<setting name="UploadAllTimeStamp" serializeAs="String">
<value />
</setting>
<setting name="DelaySeconds" serializeAs="String">
<value>0</value>
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication2.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<userSettings>
<WindowsFormsApplication2.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="HandhistoryDir" serializeAs="String">
<value />
</setting>
</WindowsFormsApplication2.Properties.Settings>
</userSettings>
</configuration>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5.2", FrameworkDisplayName = ".NET Framework 4.5.2")]

View File

@@ -0,0 +1,29 @@
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\PokerStarsBot_Clientv0.1Alpha.exe.config
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\PokerStarsBot_Clientv0.1Alpha.exe
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\PokerStarsBot_Clientv0.1Alpha.pdb
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\MetroFramework.Design.dll
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\MetroFramework.dll
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\MetroFramework.Fonts.dll
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\MySql.Data.dll
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.Form1.resources
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.Main.resources
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.Properties.Resources.resources
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.csproj.GenerateResource.Cache
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\PokerStarsBot_Clientv0.1Alpha.exe
C:\Users\ZINOMEDIA\documents\visual studio 2015\Projects\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\PokerStarsBot_Clientv0.1Alpha.pdb
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\PokerStarsBot_Clientv0.1Alpha.exe.config
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\PokerStarsBot_Clientv0.1Alpha.exe
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\PokerStarsBot_Clientv0.1Alpha.pdb
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\MetroFramework.Design.dll
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\MetroFramework.dll
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\MetroFramework.Fonts.dll
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\MySql.Data.dll
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.csprojAssemblyReference.cache
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.Form1.resources
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.Main.resources
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.Properties.Resources.resources
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.csproj.GenerateResource.cache
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.csproj.CoreCompileInputs.cache
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.csproj.CopyComplete
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\PokerStarsBot_Clientv0.1Alpha.exe
C:\Users\vstbestprices\Seafile\pkrstarsbot-1\PKRSTARSBOT_SYNC\client\VisualStudioProject\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\PokerStarsBot_Clientv0.1Alpha.pdb

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5.2", FrameworkDisplayName = ".NET Framework 4.5.2")]

Some files were not shown because too many files have changed in this diff Show More