Initial commit (2011)

This commit is contained in:
Melissa 2020-04-28 16:27:59 +02:00
commit 06dab98771
44 changed files with 13780 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
bin/
obj/
*.suo
*.docstates
*.user

26
GamerServices.sln Normal file
View File

@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GamerServices", "GamerServices\GamerServices.csproj", "{1A78C7ED-D117-45EA-9E7B-C9278474D68E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MrAG", "..\MrAG\MrAG\MrAG.csproj", "{48B30584-0795-4FDA-9561-61B2381F8656}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1A78C7ED-D117-45EA-9E7B-C9278474D68E}.Debug|x86.ActiveCfg = Debug|x86
{1A78C7ED-D117-45EA-9E7B-C9278474D68E}.Debug|x86.Build.0 = Debug|x86
{1A78C7ED-D117-45EA-9E7B-C9278474D68E}.Release|x86.ActiveCfg = Release|x86
{1A78C7ED-D117-45EA-9E7B-C9278474D68E}.Release|x86.Build.0 = Release|x86
{48B30584-0795-4FDA-9561-61B2381F8656}.Debug|x86.ActiveCfg = Debug|x86
{48B30584-0795-4FDA-9561-61B2381F8656}.Debug|x86.Build.0 = Debug|x86
{48B30584-0795-4FDA-9561-61B2381F8656}.Release|x86.ActiveCfg = Release|x86
{48B30584-0795-4FDA-9561-61B2381F8656}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,226 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1A78C7ED-D117-45EA-9E7B-C9278474D68E}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GamerServices</RootNamespace>
<AssemblyName>GamerServices</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<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>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</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|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject>GamerServices.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>wireless_mouse.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="ICSharpCode.SharpZipLib">
<HintPath>.\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference>
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<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.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="Systems\Forms\FormChecksum.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormChecksum.Designer.cs">
<DependentUpon>FormChecksum.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Forms\FormDevUpdate.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormDevUpdate.Designer.cs">
<DependentUpon>FormDevUpdate.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Forms\FormGameDev.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormGameDev.Designer.cs">
<DependentUpon>FormGameDev.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Downloader.cs" />
<Compile Include="Systems\Forms\FormAddFriend.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormAddFriend.Designer.cs">
<DependentUpon>FormAddFriend.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Forms\FormChat.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormChat.Designer.cs">
<DependentUpon>FormChat.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Forms\FormAbout.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormAbout.Designer.cs">
<DependentUpon>FormAbout.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Forms\FormLogin.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormLogin.Designer.cs">
<DependentUpon>FormLogin.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Forms\FormMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormMain.Designer.cs">
<DependentUpon>FormMain.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Forms\FormFileDownloader.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Systems\Forms\FormFileDownloader.Designer.cs">
<DependentUpon>FormFileDownloader.cs</DependentUpon>
</Compile>
<Compile Include="Systems\Friend.cs" />
<Compile Include="Systems\Game.cs" />
<Compile Include="Systems\Networker.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Systems\Forms\FormChecksum.resx">
<DependentUpon>FormChecksum.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Systems\Forms\FormDevUpdate.resx">
<DependentUpon>FormDevUpdate.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Systems\Forms\FormGameDev.resx">
<DependentUpon>FormGameDev.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Systems\Forms\FormAbout.resx">
<DependentUpon>FormAbout.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Systems\Forms\FormAddFriend.resx">
<DependentUpon>FormAddFriend.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Systems\Forms\FormChat.resx">
<DependentUpon>FormChat.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Systems\Forms\FormLogin.resx">
<DependentUpon>FormLogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Systems\Forms\FormMain.resx">
<DependentUpon>FormMain.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>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Systems\Forms\FormFileDownloader.resx">
<DependentUpon>FormFileDownloader.cs</DependentUpon>
</EmbeddedResource>
<None Include="app.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>
</ItemGroup>
<ItemGroup>
<None Include="Resources\Gamerservices_Small.png" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4 Client Profile %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MrAG\MrAG\MrAG.csproj">
<Project>{48B30584-0795-4FDA-9561-61B2381F8656}</Project>
<Name>MrAG</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="wireless_mouse.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>

Binary file not shown.

19
GamerServices/Program.cs Normal file
View File

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Diagnostics;
namespace GamerServices
{
static class Program
{
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormLogin());
}
}
}

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("GamerServices")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("GamerServices")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
[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("2fe501d9-2b43-415b-b922-4351f0771d25")]
// 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,70 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.208
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GamerServices.Properties {
using System;
/// <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 (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GamerServices.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;
}
}
internal static System.Drawing.Bitmap Gamerservices_Small {
get {
object obj = ResourceManager.GetObject("Gamerservices_Small", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Gamerservices_Small" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Gamerservices_Small.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.208
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GamerServices.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.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("False")]
public bool RememberMe {
get {
return ((bool)(this["RememberMe"]));
}
set {
this["RememberMe"] = value;
}
}
}
}

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="GamerServices.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="RememberMe" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,316 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Net;
using System.IO;
namespace GamerServices {
public class Downloader {
public class DownloadInfo {
public string Path;
public string URL;
public string Version;
public int GameID;
public int TotalActions;
public byte Action;
}
public FormMain Main;
public List<DownloadInfo> FilesToDownload;
public System.Threading.Thread DownloadThread;
private static System.Net.WebClient DownloadClient;
public Downloader(FormMain main) {
Main = main;
FilesToDownload = new List<DownloadInfo>();
if (DownloadThread != null && DownloadThread.IsAlive)
DownloadThread.Abort();
DownloadThread = new System.Threading.Thread(new System.Threading.ThreadStart(Update));
DownloadThread.Start();
}
private static int CurrentGameUpdateing = -1;
private void Update() {
DownloadClient = new WebClient();
DownloadClient.Proxy = null;
DownloadClient.DownloadFileCompleted += new System.ComponentModel.AsyncCompletedEventHandler(DownloadFinished);
DownloadClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(DownloadBusy);
while (true) {
if (Main.Games != null && Main.Games.Length > 0) {
lock(Main.Games){
foreach (Game g in Main.Games) {
if (g != null) {
if (g.Status == Game.GameStatus.DOWNLOADING) {
bool isdownloading = false;
lock (FilesToDownload) {
for (int i = 0; i < FilesToDownload.Count; i++) {
if (FilesToDownload[i].GameID == g.GameID) {
isdownloading = true;
break;
}
}
}
if (!isdownloading) {
Main.Popup("Download finished!", g.Name, 0);
g.Status = Game.GameStatus.INSTALLED;
Main.SetGameData(g.GameID, g.Name, g.Status);
}
}
}
}
}
}
if (FilesToDownload.Count > 0 && CurrentGameUpdateing == -1) {
DownloadInfo info = null;
lock (FilesToDownload) {
info = FilesToDownload[0];
try {
CurrentGameUpdateing = -1;
switch (info.Action) {
case 0:
if (File.Exists("Games/" + info.GameID + "/" + info.Path))
File.Delete("Games/" + info.GameID + "/" + info.Path);
DownloadClient.DownloadFileAsync(new Uri(info.URL.Replace("\\", "/")), "Games/" + info.GameID + "/" + info.Path, null);
CurrentGameUpdateing = info.GameID;
break;
case 1:
if (File.Exists("Games/" + info.GameID + "/" + info.Path))
File.Delete("Games/" + info.GameID + "/" + info.Path);
File.Create("Games/" + info.GameID + "/" + info.Path);
UpdateText((short)info.GameID, "");
SafeDownloadList(true);
break;
case 2:
if (Directory.Exists("Games/" + info.GameID + "/" + info.Path))
Directory.Delete("Games/" + info.GameID + "/" + info.Path, true);
if (File.Exists("Games/" + info.GameID + "/" + info.Path))
File.Delete("Games/" + info.GameID + "/" + info.Path);
UpdateText((short)info.GameID, "");
SafeDownloadList(true);
break;
case 3:
if (Directory.Exists("Games/" + info.GameID + "/" + info.Path))
Directory.Delete("Games/" + info.GameID + "/" + info.Path, true);
Directory.CreateDirectory("Games/" + info.GameID + "/" + info.Path);
UpdateText((short)info.GameID, "");
SafeDownloadList(true);
break;
}
} catch(Exception e) {
CurrentGameUpdateing = -1;
SafeDownloadList(true);
}
}
}
System.Threading.Thread.Sleep(200);
}
}
public void SafeDownloadList(bool del){
if (del && FilesToDownload.Count > 0) {
lock(FilesToDownload){
FilesToDownload.RemoveAt(0);
}
}
if (FilesToDownload.Count > 0) {
string data = "";
DownloadInfo[] sort = null;
lock (FilesToDownload) {
sort = FilesToDownload.OrderBy(DownloadInfo => DownloadInfo.GameID).ToArray<DownloadInfo>();
}
short lastID = -1;
foreach (DownloadInfo info in sort) {
if (info.GameID != lastID) {
data += "}\n\n" + info.GameID + " " + info.Version + "\n{\n";
lastID = (short)info.GameID;
}
data += "\t" + info.Path + "\n";
data += "\t" + info.Action + "\n";
}
if (data.Length > 0) {
data = data.Substring(3) + (lastID != -1 ? "}" : "");
try {
File.WriteAllText("downloading.txt", data);
} catch {
}
}
} else {
try {
File.WriteAllText("downloading.txt", "");
} catch {
}
}
}
private void UpdateText(short gameID, string add) {
if (Main.Games == null || Main.Games.Length == 0)
return;
lock (Main.Games) {
int res = 0;
int totalfiles = 0;
lock (FilesToDownload) {
for (int i = 0; i < FilesToDownload.Count; i++) {
if (FilesToDownload[i].GameID == gameID) {
res++;
if (FilesToDownload[i].TotalActions > totalfiles)
totalfiles = FilesToDownload[i].TotalActions;
}
}
}
Game g = Main.GetGame(gameID);
if (g != null) {
g.Status = res > 0 ? Game.GameStatus.DOWNLOADING : Game.GameStatus.INSTALLED;
if (res > 0) {
double per = 100.0 - ((double)res / (double)totalfiles * 100.0);
per = per - per % 0.1;
Main.SetGameData(gameID, g.Name + " " + per + "%" + add, g.Status);
} else {
Main.Popup("Download finished!", g.Name, 0);
Main.SetGameData(gameID, g.Name, g.Status);
}
} else {
}
}
}
private void DownloadFinished(object sender, System.ComponentModel.AsyncCompletedEventArgs e) {
UpdateText((short)CurrentGameUpdateing, "");
SafeDownloadList(true);
for (int i = 0; i < FilesToDownload.Count; i++) {
if (FilesToDownload[i].GameID == CurrentGameUpdateing) {
CurrentGameUpdateing = -1;
return;
}
}
Game g = Main.GetGame((short)CurrentGameUpdateing);
if (g != null) {
Main.Popup("Download finished!", g.Name, 0);
g.Status = Game.GameStatus.INSTALLED;
Main.SetGameData(g.GameID, g.Name, g.Status);
CurrentGameUpdateing = -1;
}
}
private void DownloadBusy(object sender, DownloadProgressChangedEventArgs e) {
UpdateText((short)CurrentGameUpdateing, " " + e.ProgressPercentage.ToString() + "%");
}
public bool UpdateParser(int GameID, string curver){
System.Net.WebClient client = new WebClient();
client.Proxy = null;
string[] FileData = null;
int actions = 0;
try {
FileData = new StreamReader(client.OpenRead("http://" + "gs.mrag.nl/download.php?gid=" + GameID + "&file=updates.txt")).ReadToEnd().Replace("\r", "").Split('\n');
} catch(Exception e) {
return false;
}
lock (FilesToDownload) {
string currenthandelingrev = "";
List<string> filesdone = new List<string>();
foreach (string line in FileData){
if (line.Length > 0) {
string[] args = null;
if (line.Contains("=")) args = line.Split('=');
if (line.TrimStart('\t', ' ').StartsWith("#")){
}else if (args[0] == "VER"){
if (currenthandelingrev.Length == 0){
currenthandelingrev = args[1];
File.WriteAllText("Games/" + GameID + "/version.txt", currenthandelingrev);
Game g = Main.GetGame((short)GameID);
if (g != null)
g.Version = currenthandelingrev;
}
if (args[1] == curver) {
break;
}
}else{
if (!filesdone.Contains(args[1])) {
filesdone.Add(args[1]);
DownloadInfo info = new DownloadInfo();
info.Action = 0;
info.GameID = GameID;
info.URL = "http://" + "gs.mrag.nl/download.php?gid=" + GameID + "&file=" + args[1];
info.Path = args[1];
info.Version = currenthandelingrev;
switch (args[0]) {
case "ADD":
info.Action = 0;
break;
case "MNF":
info.Action = 1;
break;
case "DEL":
info.Action = 2;
break;
case "MDR":
info.Action = 3;
break;
}
FilesToDownload.Add(info);
actions++;
}
}
}
}
for (int i = FilesToDownload.Count - 1; i > 0; i--) {
if (FilesToDownload[i].GameID == GameID) {
Game g = Main.GetGame((short)GameID);
if (g != null)
g.Status = Game.GameStatus.DOWNLOADING;
FilesToDownload[i].TotalActions += actions;
}
}
for (int i = 0; i < FilesToDownload.Count; i++) {
System.Diagnostics.Debug.Print(FilesToDownload[i].Action + " = " + FilesToDownload[i].Path);
}
}
return true;
}
}
}

View File

@ -0,0 +1,120 @@
namespace GamerServices
{
partial class FormAbout
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAbout));
this.buttonClose = new System.Windows.Forms.Button();
this.Stage = new System.Windows.Forms.PictureBox();
this.timerUpdate = new System.Windows.Forms.Timer(this.components);
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.fontLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.Stage)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// buttonClose
//
this.buttonClose.Location = new System.Drawing.Point(238, 364);
this.buttonClose.Name = "buttonClose";
this.buttonClose.Size = new System.Drawing.Size(75, 23);
this.buttonClose.TabIndex = 1;
this.buttonClose.Text = "Close";
this.buttonClose.UseVisualStyleBackColor = true;
this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
//
// Stage
//
this.Stage.Location = new System.Drawing.Point(12, 84);
this.Stage.Name = "Stage";
this.Stage.Size = new System.Drawing.Size(301, 274);
this.Stage.TabIndex = 0;
this.Stage.TabStop = false;
this.Stage.Paint += new System.Windows.Forms.PaintEventHandler(this.Stage_Paint);
//
// timerUpdate
//
this.timerUpdate.Enabled = true;
this.timerUpdate.Interval = 10;
this.timerUpdate.Tick += new System.EventHandler(this.timerUpdate_Tick);
//
// pictureBox1
//
this.pictureBox1.Image = global::GamerServices.Properties.Resources.Gamerservices_Small;
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(301, 66);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox1.TabIndex = 2;
this.pictureBox1.TabStop = false;
//
// fontLabel
//
this.fontLabel.AutoSize = true;
this.fontLabel.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.fontLabel.Location = new System.Drawing.Point(12, 366);
this.fontLabel.Name = "fontLabel";
this.fontLabel.Size = new System.Drawing.Size(67, 18);
this.fontLabel.TabIndex = 3;
this.fontLabel.Text = "fontLabel";
this.fontLabel.Visible = false;
//
// FormAbout
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(325, 399);
this.Controls.Add(this.fontLabel);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.buttonClose);
this.Controls.Add(this.Stage);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FormAbout";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "About GamerServices";
this.Load += new System.EventHandler(this.FormAbout_Load);
((System.ComponentModel.ISupportInitialize)(this.Stage)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox Stage;
private System.Windows.Forms.Button buttonClose;
private System.Windows.Forms.Timer timerUpdate;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label fontLabel;
}
}

View File

@ -0,0 +1,73 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace GamerServices
{
public partial class FormAbout : Form
{
public float TextHeight;
public String[] TextLines;
public FormAbout()
{
InitializeComponent();
this.TextHeight = Stage.Height + 6;
this.TextLines = File.ReadAllText("Media/Credits.txt").Split('\n');
}
private void buttonClose_Click(object sender, EventArgs e)
{
this.Close();
}
private void FormAbout_Load(object sender, EventArgs e)
{
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
this.SetStyle(ControlStyles.UserPaint, true);
this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
}
private void Stage_Paint(object sender, PaintEventArgs e)
{
Graphics g = e.Graphics;
g.Clear(this.BackColor);
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
for (int i = 0; i < this.TextLines.Length; i++)
{
Font font = this.fontLabel.Font;
if (this.TextLines[i].StartsWith("[B]"))
font = new Font(font, FontStyle.Bold);
if (this.TextLines[i].StartsWith("[H1]"))
font = new Font(font.FontFamily, 20, FontStyle.Bold);
if (this.TextLines[i].StartsWith("[H2]"))
font = new Font(font.FontFamily, 16, FontStyle.Bold);
g.DrawString(this.TextLines[i].Replace("[B]", "").Replace("[H1]", "").Replace("[H2]", ""), font, Brushes.Black, new PointF(Stage.Width / 2f, (this.fontLabel.Font.Size + 2) * i + this.TextHeight), new StringFormat() { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
}
}
private void timerUpdate_Tick(object sender, EventArgs e)
{
this.TextHeight -= 0.5f;
if (this.TextHeight < -((this.fontLabel.Font.Size + 2) * this.TextLines.Length))
this.TextHeight = Stage.Height + 6;
Stage.Invalidate();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,79 @@
namespace GamerServices {
partial class FormAddFriend {
/// <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() {
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(76, 12);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(277, 20);
this.textBox1.TabIndex = 0;
//
// button1
//
this.button1.Location = new System.Drawing.Point(12, 38);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(341, 23);
this.button1.TabIndex = 1;
this.button1.Text = "Add";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 15);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(58, 13);
this.label1.TabIndex = 2;
this.label1.Text = "Username:";
//
// FormAddFriend
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(365, 67);
this.Controls.Add(this.label1);
this.Controls.Add(this.button1);
this.Controls.Add(this.textBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "FormAddFriend";
this.Text = "Add User";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1;
}
}

View File

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GamerServices {
public partial class FormAddFriend : Form {
private FormMain Main;
public FormAddFriend(FormMain main) {
Main = main;
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e) {
if (textBox1.Text.Length == 0)
return;
if (Main.GetFriend(textBox1.Text) == null) {
Main.Networker.Connection.Send(7, textBox1.Text.Length + 5, textBox1.Text);
Close();
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,161 @@
namespace GamerServices {
partial class FormChat {
/// <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() {
this.button1 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(501, 383);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(134, 30);
this.button1.TabIndex = 1;
this.button1.Text = "Send";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(0, 82);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox1.Size = new System.Drawing.Size(634, 298);
this.textBox1.TabIndex = 2;
this.textBox1.Text = "Do not give away your password to anybody!";
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(12, 387);
this.textBox2.MaxLength = 500;
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(482, 20);
this.textBox2.TabIndex = 3;
this.textBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox2_KeyPress);
//
// panel1
//
this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.panel2);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(634, 76);
this.panel1.TabIndex = 4;
this.panel1.Click += new System.EventHandler(this.panel1_Click);
this.panel1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseClick);
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Font = new System.Drawing.Font("Comic Sans MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.SystemColors.MenuText;
this.label2.Location = new System.Drawing.Point(79, 42);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(0, 17);
this.label2.TabIndex = 3;
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.LightSalmon;
this.label1.Location = new System.Drawing.Point(78, 8);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(69, 23);
this.label1.TabIndex = 2;
this.label1.Text = "Default";
this.label1.Click += new System.EventHandler(this.label1_Click);