Commit 3835826b authored by Gaurav Arora (gaa721)'s avatar Gaurav Arora (gaa721)
Browse files

Still trying

parents 5c3d3e41 83a4f096
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9BA81346-7892-448B-B562-3B1F9F2A3CF7}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FaceDetectionApp</RootNamespace>
<AssemblyName>FaceDetectionApp</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</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.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="UserActivityHook.cs" />
<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>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FaceDetectionMain2\FaceDetectionMain.csproj">
<Project>{1b9679b2-5d28-4451-9538-671f32d3a4bd}</Project>
<Name>FaceDetectionMain</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<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>
-->
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9BA81346-7892-448B-B562-3B1F9F2A3CF7}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FaceDetectionApp</RootNamespace>
<AssemblyName>FaceDetectionApp</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</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.Net.Http" />
<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" />
<Compile Include="UserActivityHook.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>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FaceDetectionMain2\FaceDetectionMain.csproj">
<Project>{1b9679b2-5d28-4451-9538-671f32d3a4bd}</Project>
<Name>FaceDetectionMain</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<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>
\ No newline at end of file
......@@ -36,7 +36,7 @@ namespace FaceDetectionApp
UserActivityHook actHook;
#region mouseHook and keyboardHook Initialization
#region mouseHook and keyboardHook Initialization
actHook = new UserActivityHook(); // crate an instance with global hook // hang on events
actHook.OnMouseActivity += new MouseEventHandler(MouseMoved);
actHook.OnMouseActivity += new MouseEventHandler(Program.mouseUpdate);
......
......@@ -50,9 +50,7 @@ namespace FaceDetectionApp
//write out to each connected listener
//Console.WriteLine(JSONMessage.ToString());
foreach (var s in sw) s.WriteLine(JSONMessage.ToString());
}
catch (Exception e)
{
} catch(Exception e) {
Console.WriteLine(e.Message);
}
}
......@@ -68,9 +66,7 @@ namespace FaceDetectionApp
JSONMessage.lastMouseEvent = FaceDetector.Instance.lastMouseEvent;
//write out to each connected listener
foreach (var s in sw) s.WriteLine(JSONMessage.ToString());
}
catch (Exception e)
{
} catch (Exception e) {
Console.WriteLine(e.Message);
}
}
......@@ -82,7 +78,7 @@ namespace FaceDetectionApp
//write out to each connected listener
JSONMessage.CurrentTitle = FaceDetector.Instance.GetActiveWindowTitle();
JSONMessage.VisibleWindows = FaceDetector.Instance.Windows;
}
catch (Exception e)
{
......@@ -96,11 +92,11 @@ namespace FaceDetectionApp
{
try
{
JSONMessage.CurrentTitle = FaceDetector.Instance.GetActiveWindowTitle();
JSONMessage.VisibleWindows = FaceDetector.Instance.Windows;
JSONMessage.lastKeyboardEvent = FaceDetector.Instance.lastKeyboardEvent;
JSONMessage.lastMouseEvent = FaceDetector.Instance.lastMouseEvent;
foreach (var s in sw) s.WriteLine(JSONMessage.ToString());
JSONMessage.CurrentTitle = FaceDetector.Instance.GetActiveWindowTitle();
JSONMessage.VisibleWindows = FaceDetector.Instance.Windows;
JSONMessage.lastKeyboardEvent = FaceDetector.Instance.lastKeyboardEvent;
JSONMessage.lastMouseEvent = FaceDetector.Instance.lastMouseEvent;
foreach (var s in sw) s.WriteLine(JSONMessage.ToString());
}
catch (Exception e)
{
......@@ -153,12 +149,11 @@ namespace FaceDetectionApp
{
sw = new List<StreamWriter>();
f = new FaceDetector(true);
if (f.IsCapturing)
{
if (f.IsCapturing) {
f.FaceDetectedEvent += FaceDetectedCallback;
f.FaceLostEvent += FaceLostCallback;
f.ActiveWindowChanged += ActiveWindowChangedCallback;
......@@ -172,8 +167,7 @@ namespace FaceDetectionApp
Console.WriteLine("Server started, listening to port 2055");
int i;
for (i = 0; i < LIMIT; i++)
{
for (i = 0; i < LIMIT; i++) {
Thread t = new Thread(new ThreadStart(Service));
t.Start();
}
......@@ -200,21 +194,19 @@ namespace FaceDetectionApp
{
sw.Add(swnew);
swnew.WriteLine(JSONMessage.ToString());
while (true)
{
while (true) {
string name = sr.ReadLine();
if (name == "" || name == null || name == "END") break;
}
}
catch (Exception e)
{
catch (Exception e) {
Console.WriteLine(e.Message + " I am here");
}
if (swnew != null && sw.Contains(swnew)) sw.Remove(swnew);
if (s != null) s.Close();
if(swnew != null && sw.Contains(swnew)) sw.Remove(swnew);
if(s != null) s.Close();
Console.WriteLine("Disconnected: {0}", soc.RemoteEndPoint);
Console.WriteLine("Disconnected: {0}", soc.RemoteEndPoint);
soc.Close();
}
}
......
This diff is collapsed.
......@@ -16,3 +16,21 @@ C:\Users\Admin\Documents\FaceDetection\FaceDetectionApp\obj\Debug\FaceDetectionA
C:\Users\Admin\Documents\FaceDetection\FaceDetectionApp\obj\Debug\FaceDetectionServer.csproj.GenerateResource.Cache
C:\Users\Admin\Documents\FaceDetection\FaceDetectionApp\obj\Debug\FaceDetectionApp.exe
C:\Users\Admin\Documents\FaceDetection\FaceDetectionApp\obj\Debug\FaceDetectionApp.pdb
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\cvextern.dll
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\haarcascade_frontalface_default.xml
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\opencv_ffmpeg300.dll
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\FaceDetectionApp.exe.config
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\FaceDetectionApp.exe
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\FaceDetectionApp.pdb
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\FaceDetectionMain2.dll
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\Emgu.CV.dll
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\Emgu.Util.dll
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\FaceDetectionMain2.pdb
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\Emgu.CV.pdb
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\bin\Debug\Emgu.Util.pdb
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\obj\Debug\FaceDetectionServer.csprojResolveAssemblyReference.cache
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\obj\Debug\FaceDetectionApp.Form1.resources
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\obj\Debug\FaceDetectionApp.Properties.Resources.resources
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\obj\Debug\FaceDetectionServer.csproj.GenerateResource.Cache
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\obj\Debug\FaceDetectionApp.exe
C:\Users\Admin\Desktop\AttentionStandaloneProject-master-83a4f096d22cd3b171b588f7336e92ba65ff0802\FaceDetectionApp\obj\Debug\FaceDetectionApp.pdb
......@@ -16,10 +16,10 @@ namespace FaceDetectionClientConsole
{
InitializeComponent();
FaceDetectionClientConsoel.Program.changes += changeInJSON;
}
public void changeInJSON()
{
......
<?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>
<?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" />