Compare commits

..

No commits in common. "6b04597a3792934e7931df3e93fb521d1a7aa86a" and "a07867f2ded418759855d1272d409b8723a089ea" have entirely different histories.

184 changed files with 0 additions and 4010 deletions

View File

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ConsoleApplication1", "ConsoleApplication1\ConsoleApplication1.vbproj", "{040A9467-6B75-4AFB-87C1-D511BA634046}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{040A9467-6B75-4AFB-87C1-D511BA634046}.Debug|x86.ActiveCfg = Debug|x86
{040A9467-6B75-4AFB-87C1-D511BA634046}.Debug|x86.Build.0 = Debug|x86
{040A9467-6B75-4AFB-87C1-D511BA634046}.Release|x86.ActiveCfg = Release|x86
{040A9467-6B75-4AFB-87C1-D511BA634046}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,116 +0,0 @@
<?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>
</ProductVersion>
<SchemaVersion>
</SchemaVersion>
<ProjectGuid>{040A9467-6B75-4AFB-87C1-D511BA634046}</ProjectGuid>
<OutputType>Exe</OutputType>
<StartupObject>ConsoleApplication1.Module1</StartupObject>
<RootNamespace>ConsoleApplication1</RootNamespace>
<AssemblyName>ConsoleApplication1</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Console</MyType>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>ConsoleApplication1.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>ConsoleApplication1.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Collections.Generic" />
<Import Include="System.Data" />
<Import Include="System.Diagnostics" />
<Import Include="System.Linq" />
<Import Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Compile Include="Module1.vb" />
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@ -1,13 +0,0 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.34209
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>false</MySubMain>
<SingleInstance>false</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<ApplicationType>2</ApplicationType>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
</MyApplicationData>

View File

@ -1,35 +0,0 @@
Imports System
Imports System.Reflection
Imports 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.
' Review the values of the assembly attributes
<Assembly: AssemblyTitle("ConsoleApplication1")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("ConsoleApplication1")>
<Assembly: AssemblyCopyright("Copyright © 2015")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(False)>
'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("50b8ffe1-e6f5-4ef9-a318-52202df6905e")>
' 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

@ -1,62 +0,0 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.34209
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My.Resources
'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.
'''<summary>
''' A strongly-typed resource class, for looking up localized strings, etc.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Returns the cached ResourceManager instance used by this class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
Get
If Object.ReferenceEquals(resourceMan, Nothing) Then
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("ConsoleApplication1.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<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)> _
Friend Property Culture() As Global.System.Globalization.CultureInfo
Get
Return resourceCulture
End Get
Set(ByVal value As Global.System.Globalization.CultureInfo)
resourceCulture = value
End Set
End Property
End Module
End Namespace

View File

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.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

@ -1,73 +0,0 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.34209
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
#Region "My.Settings Auto-Save Functionality"
#If _MyType = "WindowsForms" Then
Private Shared addedHandler As Boolean
Private Shared addedHandlerLockObject As New Object
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
If My.Application.SaveMySettingsOnExit Then
My.Settings.Save()
End If
End Sub
#End If
#End Region
Public Shared ReadOnly Property [Default]() As MySettings
Get
#If _MyType = "WindowsForms" Then
If Not addedHandler Then
SyncLock addedHandlerLockObject
If Not addedHandler Then
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
addedHandler = True
End If
End SyncLock
End If
#End If
Return defaultInstance
End Get
End Property
End Class
End Namespace
Namespace My
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global.ConsoleApplication1.My.MySettings
Get
Return Global.ConsoleApplication1.My.MySettings.Default
End Get
End Property
End Module
End Namespace

View File

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

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

@ -1,24 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
ConsoleApplication1
</name>
</assembly>
<members>
<member name="P:ConsoleApplication1.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:ConsoleApplication1.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:ConsoleApplication1.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
</members>
</doc>

View File

@ -1,8 +0,0 @@
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.Resources.resources
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.vbproj.GenerateResource.Cache
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.xml
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.xml
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb

View File

@ -1,24 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
ConsoleApplication1
</name>
</assembly>
<members>
<member name="P:ConsoleApplication1.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:ConsoleApplication1.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:ConsoleApplication1.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
</members>
</doc>

View File

@ -1,33 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication2
{
class Config
{
public static string[] config = new string[10];
public static void ReadConfig(string path)
{
int index = 0;
if (!File.Exists(path))
{
Console.WriteLine("oops");
}
string text = File.ReadAllText(path);
//Console.Write(text);
config = text.Split('\n');
foreach (string a in config)
{
config[index] = config[index].Replace('\r', ' ');
config[index] = config[index].Replace(" ", String.Empty);
Console.WriteLine(a);
index++;
}
}
}
}

View File

@ -1,43 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication2
{
class Drives
{
public static string DisplayDriveInfo()
{
DriveInfo[] allDrives = DriveInfo.GetDrives();
foreach (DriveInfo d in allDrives)
{
if (d.Name == Config.config[2])
{
Console.WriteLine("Drive {0}", d.Name);
if (d.IsReady == true)
{
string Return = "Space Available " + (d.AvailableFreeSpace / 1024f) / 1024f + " MB";
Console.WriteLine("Space Available: {0} MB", (d.AvailableFreeSpace / 1024f) / 1024f);
Math.spaceAvailable = (d.AvailableFreeSpace / 1024f) / 1024f;
return Return;
}
}
}
return null;
}
public static void ShowMediaDrives()
{
Console.WriteLine("The " + Config.config[0] + " Directory is: " + Files.GetDirectorySize(Config.config[0]) + " MB");
Console.WriteLine("The " + Config.config[1] + " Directory is: " + Files.GetDirectorySize(Config.config[1]) + " MB");
//The Will it fit on the drive maths...
//TODO WRITE MATHS
Console.ReadKey();
}
}
}

View File

@ -1,155 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading;
namespace ConsoleApplication2
{
class Files
{
public static string copyStat = "Not Copied";
public static int totalFiles = 0;
public static int copiedFiles = 1;
public static string False { get; set; }
public static long GetDirectorySize(string path)
{
if (path == null)
{
return 0;
}
string[] a = Directory.GetFiles(path, ".", SearchOption.AllDirectories);
long b = 0;
foreach (string name in a)
{
FileInfo info = new FileInfo(name);
b += info.Length;
}
return (b / 1024) / 1024;
}
public static void CopyData(string srcDir, string destDir, bool subDirs)
{
//TODO figure out how system.io.file.copy works AKA File.copy()
DirectoryInfo dir = new DirectoryInfo(srcDir);
DirectoryInfo[] dirs = dir.GetDirectories();
copyStat = "Not Copied";
if (!dir.Exists)
{
throw new DirectoryNotFoundException(
"Source directory not found: " + srcDir);
}
if (!Directory.Exists(destDir))
{
Directory.CreateDirectory(destDir);
}
FileInfo[] files = dir.GetFiles();
totalFiles = files.Length;
foreach (FileInfo file in files)
{
string tempPath = Path.Combine(destDir, file.Name);
if (!File.Exists(tempPath))
{
try
{
file.CopyTo(tempPath, false);
Console.WriteLine("Copying file : " + file.Name);
copiedFiles++;
LogHandler.WriteToLog(file.FullName, Config.config[3]);
}
catch (Exception e)
{
Reporter.report(e);
}
}
}
if (subDirs)
{
foreach (DirectoryInfo subdir in dirs)
{
string tempPath = Path.Combine(destDir, subdir.Name);
CopyData(subdir.FullName, tempPath, subDirs);
if (!Directory.Exists(tempPath))
{
LogHandler.WriteToLog(subdir.FullName, Config.config[3]);
}
}
}
copyStat = "Files Copied";
}
public static void DeleteData(string srcDir, bool subDirs)
{
DirectoryInfo dir = new DirectoryInfo(srcDir);
DirectoryInfo[] dirs = dir.GetDirectories();
if (!dir.Exists)
{
throw new DirectoryNotFoundException(
"Source directory not found: " + srcDir);
}
FileInfo[] files = dir.GetFiles();
foreach (FileInfo file in files)
{
if (File.Exists(file.FullName))
{
try
{
File.Delete(file.FullName);
Console.WriteLine("Deleting file : " + file.Name);
LogHandler.WriteToLog(file.FullName, Config.config[3]);
}
catch (Exception e)
{
Reporter.report(e);
}
}
}
if (subDirs)
{
foreach (DirectoryInfo subdir in dirs)
{
DeleteData(subdir.FullName, subDirs);
Console.WriteLine(subdir.FullName);
if (subdir.FullName != Config.config[1] + "\\Anime" && subdir.FullName != Config.config[1] + "\\T.V" && subdir.FullName != Config.config[1] + "\\TBS" && subdir.FullName != Config.config[1] + "\\Movies" && subdir.FullName != Config.config[1] + "\\Podcasts")
{
Directory.Delete(subdir.FullName);
}
/* if (!Directory.Exists(tempPath))
{
LogHandler.WriteToLog(subdir.FullName, Config.config[3]);
}*/
}
}
}
public static string copyStatus() {
string response = "stat" + "*" + totalFiles + "*" + copiedFiles + "*" + copyStat;
return response;
}
public static int testData()
{
return 1;
}
public static void CopyTest()
{
}
}
}

View File

@ -1,23 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class Help
{
public static void showHelp()
{
Console.WriteLine("================================================================");
Console.WriteLine(" This is the 'Lovely Manager' help screen");
Console.WriteLine(" Use /CLI to enable automation");
Console.WriteLine();
Console.WriteLine();
Console.WriteLine();
Console.WriteLine();
Console.WriteLine("================================================================");
}
}
}

View File

@ -1,22 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication2
{
class LogHandler
{
public static void WriteToLog(string entry, string pathToLog)
{
if (!File.Exists(pathToLog))
{
File.Create(pathToLog).Close();
}
File.AppendAllText(pathToLog, entry + Environment.NewLine);
}
}
}

View File

@ -1,28 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class Math
{
public static float spaceAvailable;
public static string calcSpace()
{
string answer;
if (Files.GetDirectorySize(Config.config[1]) < spaceAvailable)
{
answer = "Yes";
}
else
{
answer = "No";
}
return answer;
}
}
}

View File

@ -1,67 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class Menu
{
public static void DisplayMenu()
{
Console.Clear();
Console.WriteLine("Lovely manager(WARNING VERY VERY ALPHA)");
Console.WriteLine("==================================================");
Console.WriteLine("= 1. Show Media Drives =");
Console.WriteLine("= 2. Show Logs =");
Console.WriteLine("= 3. Copy data =");
Console.WriteLine("= 4. Test Network crap =");
Console.WriteLine("= =");
Console.WriteLine("= =");
Console.WriteLine("= =");
Console.WriteLine("= =");
Console.WriteLine("= =");
Console.WriteLine("= d. Display config params (testing) =");
Console.WriteLine("= q. Quit =");
Console.WriteLine("==================================================");
Drives.DisplayDriveInfo();
Console.Write("Enter option here: ");
ParseMenu(Console.Read());
}
public static void ParseMenu(int x)
{
char ch;
ch = Convert.ToChar(x);
switch (ch)
{
case '1':
Drives.ShowMediaDrives();
break;
case '2':
//TODO ADD BETTER LOGGING FUNCTION
break;
case '3':
Files.CopyData(Config.config[1], Config.config[0], true);
break;
case '4':
TCPServer.Listen();
break;
case 'q':
Program.networking.Abort();
Program.running = !Program.running;
break;
case 'd':
Console.WriteLine();
foreach (string a in Config.config)
{
Console.WriteLine(a);
}
Console.WriteLine("Press any key to continue");
Console.ReadKey();
break;
}
}
}
}

View File

@ -1,45 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class NetParse
{
public static string parse(string data)
{
switch (data.ToLower())
{
case "diskinfo":
return Config.config[2] + " " + Drives.DisplayDriveInfo() + " Left";
case "copydata":
Files.CopyData(Config.config[1], Config.config[0], true);
return "Data copied";
case "folderinfo":
return Config.config[0] + " " + Files.GetDirectorySize(Config.config[0]) + " MB" + Environment.NewLine + Config.config[1] + " " + Files.GetDirectorySize(Config.config[1]) + " MB";
case "spacerequired":
return Math.calcSpace();
case "awake?":
return "yep";
case "copystatus":
return Files.copyStatus();
case "deletedata":
Files.DeleteData(Config.config[1], true);
return "Files Deleted";
case "update":
string result;
result = "yep" + "*" + Config.config[2] + " " + Drives.DisplayDriveInfo() + " Left" + "*" +
Config.config[0] + " " + Files.GetDirectorySize(Config.config[0]) + " MB" + Environment.NewLine + Config.config[1] + " " + Files.GetDirectorySize(Config.config[1]) + " MB"
+ "*" + Math.calcSpace();
return result;
case "testcopy":
Files.CopyTest();
return "Done!";
default:
return "Not a valid option";
}
//return null;
}
}
}

View File

@ -1,45 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading;
namespace ConsoleApplication2
{
class Program
{
public static bool running = true;
public static Thread networking = new Thread(TCPServer.Listen);
static void Main(string[] args)
{
networking.Start();
Test.TestThread();
init();
if (args.Length == 0)
{
while (running)
{
Menu.DisplayMenu();
}
}
if (args.Length != 0 && args[0] == "/?")
{
Help.showHelp();
}
if (args.Length != 0 && args[0] == "/server")
{
Console.WriteLine("Running in server mode :3");
TCPServer.Listen();
}
}
static void init()
{
Config.ReadConfig("config.txt");
}
}
}

View File

@ -1,36 +0,0 @@
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("ConsoleApplication2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ConsoleApplication2")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[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("9921ec54-a8f1-4e3a-af8b-682b86deeb59")]
// 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

@ -1,16 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class Reporter
{
public static Exception report(Exception e)
{
Console.Write(e);
return e;
}
}
}

View File

@ -1,69 +0,0 @@
<?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>{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ConsoleApplication2</RootNamespace>
<AssemblyName>ConsoleApplication2</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</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>
<ItemGroup>
<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.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Config.cs" />
<Compile Include="Drives.cs" />
<Compile Include="Files.cs" />
<Compile Include="Help.cs" />
<Compile Include="Logger.cs" />
<Compile Include="Math.cs" />
<Compile Include="Menu.cs" />
<Compile Include="NetParse.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Reporter.cs" />
<Compile Include="TCPServer.cs" />
<Compile Include="Test.cs" />
<Compile Include="Threader.cs" />
</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

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<StartArguments>/server</StartArguments>
</PropertyGroup>
</Project>

View File

@ -1,71 +0,0 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace ConsoleApplication2
{
class TCPServer
{
public static void Listen()
{
while (Program.running) {
TcpListener server = null;
try
{
Int32 port = 13754;
IPAddress localAddr = IPAddress.Parse("127.0.0.1");
server = new TcpListener(localAddr, port);
server.Start();
Byte[] bytes = new Byte[256];
String data = null;
//Listening Loop
while (true)
{
Console.Write("Waiting on a connection...");
TcpClient client = server.AcceptTcpClient();
Console.WriteLine("Connected");
data = null;
NetworkStream stream = client.GetStream();
int i;
//Loop to receive all the data sent by the client
while ((i = stream.Read(bytes, 0, bytes.Length)) != 0)
{
data = System.Text.Encoding.ASCII.GetString(bytes, 0, i);
Console.WriteLine("Recieved: {0}", data);
data = data.ToLower();
data = NetParse.parse(data);
//Proccess the data
//data = Drives.DisplayDriveInfo();
byte[] msg = System.Text.Encoding.ASCII.GetBytes(data);
//Send back a response
stream.Write(msg, 0, msg.Length);
Console.WriteLine("Sent: {0}", data);
}
client.Close();
}
}
catch (SocketException e)
{
Console.WriteLine("SocketException: {0}", e);
}
finally
{
server.Stop();
}
Console.WriteLine("\nHit enter to continue");
Console.Read();
}
}
}
}

View File

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication2
{
class Test
{
public static void TestThread()
{
Program.networking.Join();
for (int i = 0; i <= 10; i++)
{
System.Console.WriteLine(i);
}
}
}
}

View File

@ -1,16 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace ConsoleApplication2
{
class Threader
{
public static void addThread(string func, string option)
{
Thread thread = new Thread(TCPServer.Listen);
}
}
}

View File

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

@ -1,2 +0,0 @@
D:\Mediabuffer\Music\New folder\e.rar
D:\Mediabuffer\Music\New folder\New Text Document.txt

View File

@ -1,4 +0,0 @@
D:\Media2
D:\Mediabuffer
D:\
Log.txt

View File

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

@ -1,2 +0,0 @@
D:\Mediabuffer\Music\New folder\e.rar
D:\Mediabuffer\Music\New folder\New Text Document.txt

View File

@ -1,4 +0,0 @@
D:\Media2
D:\Mediabuffer
D:\
Log.txt

View File

@ -1,4 +0,0 @@
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.pdb
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.exe
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.pdb

View File

@ -1,10 +0,0 @@
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.pdb
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.exe
c:\users\benjamyn\documents\visual studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.pdb
C:\Users\Benjamyn\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Debug\Server Manager.csprojResolveAssemblyReference.cache
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.pdb
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Debug\Server Manager.csprojResolveAssemblyReference.cache
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.exe
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.pdb

View File

@ -1,10 +0,0 @@
C:\Users\Benjamyn\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Release\ConsoleApplication2.exe
C:\Users\Benjamyn\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Release\ConsoleApplication2.pdb
C:\Users\Benjamyn\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Release\ConsoleApplication2.exe
C:\Users\Benjamyn\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Release\ConsoleApplication2.pdb
C:\Users\Benjamyn\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Release\Server Manager.csprojResolveAssemblyReference.cache
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Release\ConsoleApplication2.exe
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\bin\Release\ConsoleApplication2.pdb
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Release\Server Manager.csprojResolveAssemblyReference.cache
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Release\ConsoleApplication2.exe
D:\Documents\Visual Studio 2010\Projects\ConsoleApplication2\ConsoleApplication2\obj\x86\Release\ConsoleApplication2.pdb

View File

@ -1,26 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server Manager", "ConsoleApplication2\Server Manager.csproj", "{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Manager Client", "..\Manager Client\Manager Client\Manager Client.csproj", "{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}.Debug|x86.ActiveCfg = Debug|x86
{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}.Debug|x86.Build.0 = Debug|x86
{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}.Release|x86.ActiveCfg = Release|x86
{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}.Release|x86.Build.0 = Release|x86
{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}.Debug|x86.ActiveCfg = Debug|x86
{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}.Debug|x86.Build.0 = Debug|x86
{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}.Release|x86.ActiveCfg = Release|x86
{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Events Learning", "Events Learning\Events Learning.csproj", "{21F5D79D-4E6F-43BB-91C1-5E86DCBE781E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{21F5D79D-4E6F-43BB-91C1-5E86DCBE781E}.Debug|x86.ActiveCfg = Debug|x86
{21F5D79D-4E6F-43BB-91C1-5E86DCBE781E}.Debug|x86.Build.0 = Debug|x86
{21F5D79D-4E6F-43BB-91C1-5E86DCBE781E}.Release|x86.ActiveCfg = Release|x86
{21F5D79D-4E6F-43BB-91C1-5E86DCBE781E}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Binary file not shown.

View File

@ -1,87 +0,0 @@
<?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>{21F5D79D-4E6F-43BB-91C1-5E86DCBE781E}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Events_Learning</RootNamespace>
<AssemblyName>Events Learning</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</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>
<ItemGroup>
<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.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.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="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>
<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

@ -1,61 +0,0 @@
namespace Events_Learning
{
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()
{
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(138, 137);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button1;
}
}

View File

@ -1,24 +0,0 @@
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 Events_Learning
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Program.SomethingHappened += new Program.MyEventHandler(Program.HandleSomethingHappened);
}
}
}

View File

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

View File

@ -1,30 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Events_Learning
{
public class Messager
{
public event
}
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

@ -1,36 +0,0 @@
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("Events Learning")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Events Learning")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[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("b8ca75ca-86bd-431a-a432-984beb5d2be0")]
// 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

@ -1,71 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Events_Learning.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("Events_Learning.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

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.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

@ -1,30 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Events_Learning.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;
}
}
}
}

View File

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

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

@ -1,8 +0,0 @@
c:\users\benjamyn\documents\visual studio 2010\Projects\Events Learning\Events Learning\obj\x86\Debug\Events_Learning.Form1.resources
c:\users\benjamyn\documents\visual studio 2010\Projects\Events Learning\Events Learning\obj\x86\Debug\Events_Learning.Properties.Resources.resources
c:\users\benjamyn\documents\visual studio 2010\Projects\Events Learning\Events Learning\obj\x86\Debug\Events Learning.csproj.GenerateResource.Cache
c:\users\benjamyn\documents\visual studio 2010\Projects\Events Learning\Events Learning\bin\Debug\Events Learning.exe
c:\users\benjamyn\documents\visual studio 2010\Projects\Events Learning\Events Learning\bin\Debug\Events Learning.pdb
c:\users\benjamyn\documents\visual studio 2010\Projects\Events Learning\Events Learning\obj\x86\Debug\Events Learning.exe
c:\users\benjamyn\documents\visual studio 2010\Projects\Events Learning\Events Learning\obj\x86\Debug\Events Learning.pdb
C:\Users\Benjamyn\documents\visual studio 2010\Projects\Events Learning\Events Learning\obj\x86\Debug\Events Learning.csprojResolveAssemblyReference.cache

View File

@ -1,26 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Manager Client", "Manager Client\Manager Client.csproj", "{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server Manager", "..\ConsoleApplication2\ConsoleApplication2\Server Manager.csproj", "{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}.Debug|x86.ActiveCfg = Debug|x86
{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}.Debug|x86.Build.0 = Debug|x86
{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}.Release|x86.ActiveCfg = Release|x86
{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}.Release|x86.Build.0 = Release|x86
{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}.Debug|x86.ActiveCfg = Debug|x86
{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}.Debug|x86.Build.0 = Debug|x86
{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}.Release|x86.ActiveCfg = Release|x86
{17DA3EA9-F8CA-4BB0-9E73-42DBC1EF689A}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Binary file not shown.

View File

@ -1,240 +0,0 @@
namespace Manager_Client
{
partial class frm_mainwindow
{
/// <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.lbl_NaN = new System.Windows.Forms.Label();
this.lbl_reply = new System.Windows.Forms.Label();
this.lbl_NaN2 = new System.Windows.Forms.Label();
this.lbl_driveInfo = new System.Windows.Forms.Label();
this.btn_refresh = new System.Windows.Forms.Button();
this.lbl_NaN3 = new System.Windows.Forms.Label();
this.lbl_folderInfo = new System.Windows.Forms.Label();
this.lbl_NaN4 = new System.Windows.Forms.Label();
this.lbl_space = new System.Windows.Forms.Label();
this.lbl_debug = new System.Windows.Forms.Label();
this.btn_copy = new System.Windows.Forms.Button();
this.btn_clearbuffer = new System.Windows.Forms.Button();
this.lbl_error = new System.Windows.Forms.Label();
this.lbl_copystatus = new System.Windows.Forms.Label();
this.prog_copy = new System.Windows.Forms.ProgressBar();
this.btn_test = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbl_NaN
//
this.lbl_NaN.AutoSize = true;
this.lbl_NaN.Location = new System.Drawing.Point(16, 13);
this.lbl_NaN.Name = "lbl_NaN";
this.lbl_NaN.Size = new System.Drawing.Size(89, 13);
this.lbl_NaN.TabIndex = 0;
this.lbl_NaN.Text = "Server available: ";
//
// lbl_reply
//
this.lbl_reply.AutoSize = true;
this.lbl_reply.Location = new System.Drawing.Point(142, 13);
this.lbl_reply.Name = "lbl_reply";
this.lbl_reply.Size = new System.Drawing.Size(33, 13);
this.lbl_reply.TabIndex = 1;
this.lbl_reply.Text = "Nope";
//
// lbl_NaN2
//
this.lbl_NaN2.AutoSize = true;
this.lbl_NaN2.Location = new System.Drawing.Point(16, 73);
this.lbl_NaN2.Name = "lbl_NaN2";
this.lbl_NaN2.Size = new System.Drawing.Size(53, 13);
this.lbl_NaN2.TabIndex = 2;
this.lbl_NaN2.Text = "DriveInfo:";
//
// lbl_driveInfo
//
this.lbl_driveInfo.AutoSize = true;
this.lbl_driveInfo.Location = new System.Drawing.Point(142, 73);
this.lbl_driveInfo.Name = "lbl_driveInfo";
this.lbl_driveInfo.Size = new System.Drawing.Size(0, 13);
this.lbl_driveInfo.TabIndex = 3;
//
// btn_refresh
//
this.btn_refresh.Location = new System.Drawing.Point(19, 544);
this.btn_refresh.Name = "btn_refresh";
this.btn_refresh.Size = new System.Drawing.Size(75, 23);
this.btn_refresh.TabIndex = 4;
this.btn_refresh.Text = "Refresh";
this.btn_refresh.UseVisualStyleBackColor = true;
this.btn_refresh.Click += new System.EventHandler(this.btn_refresh_Click);
//
// lbl_NaN3
//
this.lbl_NaN3.AutoSize = true;
this.lbl_NaN3.Location = new System.Drawing.Point(16, 98);
this.lbl_NaN3.Name = "lbl_NaN3";
this.lbl_NaN3.Size = new System.Drawing.Size(60, 13);
this.lbl_NaN3.TabIndex = 5;
this.lbl_NaN3.Text = "Folder Info:";
//
// lbl_folderInfo
//
this.lbl_folderInfo.AutoSize = true;
this.lbl_folderInfo.Location = new System.Drawing.Point(142, 98);
this.lbl_folderInfo.Name = "lbl_folderInfo";
this.lbl_folderInfo.Size = new System.Drawing.Size(0, 13);
this.lbl_folderInfo.TabIndex = 6;
//
// lbl_NaN4
//
this.lbl_NaN4.AutoSize = true;
this.lbl_NaN4.Location = new System.Drawing.Point(16, 129);
this.lbl_NaN4.Name = "lbl_NaN4";
this.lbl_NaN4.Size = new System.Drawing.Size(120, 13);
this.lbl_NaN4.TabIndex = 7;
this.lbl_NaN4.Text = "Enough space to copy?";
//
// lbl_space
//
this.lbl_space.AutoSize = true;
this.lbl_space.Location = new System.Drawing.Point(142, 129);
this.lbl_space.Name = "lbl_space";
this.lbl_space.Size = new System.Drawing.Size(0, 13);
this.lbl_space.TabIndex = 8;
//
// lbl_debug
//
this.lbl_debug.AutoSize = true;
this.lbl_debug.Location = new System.Drawing.Point(19, 230);
this.lbl_debug.Name = "lbl_debug";
this.lbl_debug.Size = new System.Drawing.Size(0, 13);
this.lbl_debug.TabIndex = 9;
//
// btn_copy
//
this.btn_copy.Location = new System.Drawing.Point(101, 544);
this.btn_copy.Name = "btn_copy";
this.btn_copy.Size = new System.Drawing.Size(75, 23);
this.btn_copy.TabIndex = 10;
this.btn_copy.Text = "Copy";
this.btn_copy.UseVisualStyleBackColor = true;
this.btn_copy.Click += new System.EventHandler(this.btn_copy_Click);
//
// btn_clearbuffer
//
this.btn_clearbuffer.Location = new System.Drawing.Point(251, 544);
this.btn_clearbuffer.Name = "btn_clearbuffer";
this.btn_clearbuffer.Size = new System.Drawing.Size(75, 23);
this.btn_clearbuffer.TabIndex = 11;
this.btn_clearbuffer.Text = "Clear Buffer";
this.btn_clearbuffer.UseVisualStyleBackColor = true;
this.btn_clearbuffer.Click += new System.EventHandler(this.btn_clearbuffer_Click);
//
// lbl_error
//
this.lbl_error.AutoSize = true;
this.lbl_error.Location = new System.Drawing.Point(248, 528);
this.lbl_error.Name = "lbl_error";
this.lbl_error.Size = new System.Drawing.Size(0, 13);
this.lbl_error.TabIndex = 12;
//
// lbl_copystatus
//
this.lbl_copystatus.AutoSize = true;
this.lbl_copystatus.Location = new System.Drawing.Point(101, 525);
this.lbl_copystatus.Name = "lbl_copystatus";
this.lbl_copystatus.Size = new System.Drawing.Size(60, 13);
this.lbl_copystatus.TabIndex = 13;
this.lbl_copystatus.Text = "Not Copied";
//
// prog_copy
//
this.prog_copy.Location = new System.Drawing.Point(19, 488);
this.prog_copy.Name = "prog_copy";
this.prog_copy.Size = new System.Drawing.Size(307, 23);
this.prog_copy.TabIndex = 14;
this.prog_copy.Click += new System.EventHandler(this.prog_copy_Click);
//
// btn_test
//
this.btn_test.Location = new System.Drawing.Point(22, 453);
this.btn_test.Name = "btn_test";
this.btn_test.Size = new System.Drawing.Size(75, 23);
this.btn_test.TabIndex = 15;
this.btn_test.Text = "Test Button";
this.btn_test.UseVisualStyleBackColor = true;
this.btn_test.Click += new System.EventHandler(this.btn_test_Click);
//
// frm_mainwindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(338, 579);
this.Controls.Add(this.btn_test);
this.Controls.Add(this.prog_copy);
this.Controls.Add(this.lbl_copystatus);
this.Controls.Add(this.lbl_error);
this.Controls.Add(this.btn_clearbuffer);
this.Controls.Add(this.btn_copy);
this.Controls.Add(this.lbl_debug);
this.Controls.Add(this.lbl_space);
this.Controls.Add(this.lbl_NaN4);
this.Controls.Add(this.lbl_folderInfo);
this.Controls.Add(this.lbl_NaN3);
this.Controls.Add(this.btn_refresh);
this.Controls.Add(this.lbl_driveInfo);
this.Controls.Add(this.lbl_NaN2);
this.Controls.Add(this.lbl_reply);
this.Controls.Add(this.lbl_NaN);
this.Name = "frm_mainwindow";
this.Text = "Lovely Manager Client(Even more alpha then before)";
this.Load += new System.EventHandler(this.frm_mainwindow_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label lbl_NaN;
private System.Windows.Forms.Label lbl_reply;
private System.Windows.Forms.Label lbl_NaN2;
private System.Windows.Forms.Label lbl_driveInfo;
private System.Windows.Forms.Button btn_refresh;
private System.Windows.Forms.Label lbl_NaN3;
private System.Windows.Forms.Label lbl_folderInfo;
private System.Windows.Forms.Label lbl_NaN4;
private System.Windows.Forms.Label lbl_space;
private System.Windows.Forms.Label lbl_debug;
private System.Windows.Forms.Button btn_copy;
private System.Windows.Forms.Button btn_clearbuffer;
private System.Windows.Forms.Label lbl_error;
private System.Windows.Forms.Label lbl_copystatus;
private System.Windows.Forms.ProgressBar prog_copy;
private System.Windows.Forms.Button btn_test;
}
}

View File

@ -1,145 +0,0 @@
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.Timers;
using System.Threading;
namespace Manager_Client
{
public partial class frm_mainwindow : Form
{
private static System.Timers.Timer aTimer;
public static string IP = "127.0.0.1";
Form2 frm = new Form2();
bool copying = false;
public frm_mainwindow()
{
TextBox.CheckForIllegalCrossThreadCalls = false;
init();
aTimer = new System.Timers.Timer(500);
aTimer.Elapsed += OnTimedEvent;
aTimer.Enabled = true;
InitializeComponent();
}
void OnTimedEvent(Object source, ElapsedEventArgs e)
{
mainFunc();
if (copying == true)
{
checkCopy();
}
/*if (hasCopied)
{
Networker.Connect(IP, "copystatus");
if (Parser.response[0] == "stat")
{
lbl_copystatus.Text = Parser.response[3];
if (int.Parse(Parser.response[2]) != 0)
{
prog_copy.Value = int.Parse(Parser.response[1]) / int.Parse(Parser.response[2]);
}
}
if (lbl_copystatus.Text == "Has Copied")
{
hasCopied = true;
}
}*/
}
private void checkCopy()
{
Networker.Connect(IP, "copystatus");
}
private void frm_mainwindow_Load(object sender, EventArgs e)
{
//TCPClient.Networker.Connect("127.0.0.1", "Awake?");
//if (Networker.Connect(IP, "Awake?") == "yep") { lbl_reply.Text = "Yep"; lbl_driveInfo.Text = Networker.Connect(IP, "diskinfo"); } else { lbl_reply.Text = "Nope soz :("; }
//init();
}
void mainFunc()
{
if (Parser.response[0] == "yep")
{
lbl_reply.Text = "Yep";
lbl_driveInfo.Text = Parser.response[1];
lbl_folderInfo.Text = Parser.response[2];
lbl_space.Text = Parser.response[3];
}
else
{
lbl_reply.Text = "Nope";
lbl_driveInfo.Text = "";
lbl_folderInfo.Text = "";
lbl_space.Text = ""; ;
}
}
void init()
{
}
private void btn_refresh_Click(object sender, EventArgs e)
{
if (Networker.Connect(IP, "awake?") == "yep")
{
Parser.parseResponse();
mainFunc();
}
else
{
lbl_reply.Text = "Nope";
lbl_driveInfo.Text = "";
lbl_folderInfo.Text = "";
lbl_space.Text = "";
}
}
void reset()
{
}
private void btn_copy_Click(object sender, EventArgs e)
{
// hasCopied = true;
lbl_copystatus.Text = Networker.Connect(IP, "copydata");
frm.Visible = true;
}
private void btn_clearbuffer_Click(object sender, EventArgs e)
{
if (Networker.Connect(IP, "awake?") == "yep")
{
frm.Show();
}
else
{
lbl_error.Text = "Server Not Found";
}
}
private void progressBar1_Click(object sender, EventArgs e)
{
}
private void prog_copy_Click(object sender, EventArgs e)
{
prog_copy.Value = prog_copy.Value + 1;
}
private void btn_test_Click(object sender, EventArgs e)
{
copying = true;
}
}
}

View File

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

View File

@ -1,99 +0,0 @@
namespace Manager_Client
{
partial class Form2
{
/// <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.lbl_message = new System.Windows.Forms.Label();
this.btn_yes = new System.Windows.Forms.Button();
this.btn_no = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// lbl_message
//
this.lbl_message.AutoSize = true;
this.lbl_message.Location = new System.Drawing.Point(12, 29);
this.lbl_message.Name = "lbl_message";
this.lbl_message.Size = new System.Drawing.Size(235, 13);
this.lbl_message.TabIndex = 0;
this.lbl_message.Text = "Are you sure you want to clear the media buffer?";
//
// btn_yes
//
this.btn_yes.Location = new System.Drawing.Point(13, 54);
this.btn_yes.Name = "btn_yes";
this.btn_yes.Size = new System.Drawing.Size(75, 23);
this.btn_yes.TabIndex = 1;
this.btn_yes.Text = "Yes";
this.btn_yes.UseVisualStyleBackColor = true;
this.btn_yes.Click += new System.EventHandler(this.btn_yes_Click);
//
// btn_no
//
this.btn_no.Location = new System.Drawing.Point(172, 54);
this.btn_no.Name = "btn_no";
this.btn_no.Size = new System.Drawing.Size(75, 23);
this.btn_no.TabIndex = 2;
this.btn_no.Text = "No";
this.btn_no.UseVisualStyleBackColor = true;
this.btn_no.Click += new System.EventHandler(this.btn_no_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(66, 13);
this.label1.TabIndex = 3;
this.label1.Text = "Files copied,";
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(259, 89);
this.Controls.Add(this.label1);
this.Controls.Add(this.btn_no);
this.Controls.Add(this.btn_yes);
this.Controls.Add(this.lbl_message);
this.Name = "Form2";
this.Text = "Files Copied";
this.Load += new System.EventHandler(this.Form2_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label lbl_message;
private System.Windows.Forms.Button btn_yes;
private System.Windows.Forms.Button btn_no;
private System.Windows.Forms.Label label1;
}
}

View File

@ -1,36 +0,0 @@
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 Manager_Client
{
public partial class Form2 : Form
{
public static string IP = "192.168.0.26";
public Form2()
{
InitializeComponent();
}
private void btn_no_Click(object sender, EventArgs e)
{
this.Visible = false;
}
private void Form2_Load(object sender, EventArgs e)
{
}
private void btn_yes_Click(object sender, EventArgs e)
{
Networker.Connect(IP, "deletedata");
this.Visible = false;
}
}
}

View File

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

View File

@ -1,98 +0,0 @@
<?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>{34FC8DF0-8747-4A1A-B616-37E131E5B3E8}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Manager_Client</RootNamespace>
<AssemblyName>Manager Client</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</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>
<ItemGroup>
<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.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<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="Parser.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TCPClient.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="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>
<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>

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