Commit dd54fee36dede778c118090f021178558a45231a

Authored by Amrita Vishnoi
1 parent 9dec54b1

Added few files/folder

1. utilities folder is created in side 100-PROJECTS\001-AIAHTML5.
2. POC folder is created inside :\100-PROJECTS\001-AIAHTML5\300-PROTOTYPES\POC
3. Extract images window utility added in POC folder
4. Translation estimation v1 and v2 document added.
5. Some inprogress work in DA for highlight functionality.
Showing 71 changed files with 2376 additions and 27 deletions
150-DOCUMENTATION/AIA Estimation - Translation V 1.0.xlsx 0 → 100644
No preview for this file type
150-DOCUMENTATION/AIA Estimation - Translation V1.2.xlsx 0 → 100644
No preview for this file type
150-DOCUMENTATION/Audit Guidelines_2016.xlsx 0 → 100644
No preview for this file type
AIAHTML5 @ 762d065c25a
  1 +Subproject commit 762d065c25a852f0665ccc9a2455c245b21e0ed2
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility.sln 0 → 100644
  1 +
  2 +Microsoft Visual Studio Solution File, Format Version 12.00
  3 +# Visual Studio 2013
  4 +VisualStudioVersion = 12.0.21005.1
  5 +MinimumVisualStudioVersion = 10.0.40219.1
  6 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AIAWindowsUtility", "AIAWindowsUtility\AIAWindowsUtility.csproj", "{D72CABFE-C928-44F2-B4E6-B3A060AEBE2E}"
  7 +EndProject
  8 +Global
  9 + GlobalSection(SolutionConfigurationPlatforms) = preSolution
  10 + Debug|Any CPU = Debug|Any CPU
  11 + Release|Any CPU = Release|Any CPU
  12 + EndGlobalSection
  13 + GlobalSection(ProjectConfigurationPlatforms) = postSolution
  14 + {D72CABFE-C928-44F2-B4E6-B3A060AEBE2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  15 + {D72CABFE-C928-44F2-B4E6-B3A060AEBE2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
  16 + {D72CABFE-C928-44F2-B4E6-B3A060AEBE2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
  17 + {D72CABFE-C928-44F2-B4E6-B3A060AEBE2E}.Release|Any CPU.Build.0 = Release|Any CPU
  18 + EndGlobalSection
  19 + GlobalSection(SolutionProperties) = preSolution
  20 + HideSolutionNode = FALSE
  21 + EndGlobalSection
  22 +EndGlobal
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility.v12.suo 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/AIAWindowsUtility.csproj 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3 + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4 + <PropertyGroup>
  5 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7 + <ProjectGuid>{D72CABFE-C928-44F2-B4E6-B3A060AEBE2E}</ProjectGuid>
  8 + <OutputType>WinExe</OutputType>
  9 + <AppDesignerFolder>Properties</AppDesignerFolder>
  10 + <RootNamespace>AIAWindowsUtility</RootNamespace>
  11 + <AssemblyName>AIAWindowsUtility</AssemblyName>
  12 + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  13 + <FileAlignment>512</FileAlignment>
  14 + </PropertyGroup>
  15 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  16 + <PlatformTarget>AnyCPU</PlatformTarget>
  17 + <DebugSymbols>true</DebugSymbols>
  18 + <DebugType>full</DebugType>
  19 + <Optimize>false</Optimize>
  20 + <OutputPath>bin\Debug\</OutputPath>
  21 + <DefineConstants>DEBUG;TRACE</DefineConstants>
  22 + <ErrorReport>prompt</ErrorReport>
  23 + <WarningLevel>4</WarningLevel>
  24 + </PropertyGroup>
  25 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  26 + <PlatformTarget>AnyCPU</PlatformTarget>
  27 + <DebugType>pdbonly</DebugType>
  28 + <Optimize>true</Optimize>
  29 + <OutputPath>bin\Release\</OutputPath>
  30 + <DefineConstants>TRACE</DefineConstants>
  31 + <ErrorReport>prompt</ErrorReport>
  32 + <WarningLevel>4</WarningLevel>
  33 + </PropertyGroup>
  34 + <ItemGroup>
  35 + <Reference Include="System" />
  36 + <Reference Include="System.Core" />
  37 + <Reference Include="System.Xml.Linq" />
  38 + <Reference Include="System.Data.DataSetExtensions" />
  39 + <Reference Include="Microsoft.CSharp" />
  40 + <Reference Include="System.Data" />
  41 + <Reference Include="System.Deployment" />
  42 + <Reference Include="System.Drawing" />
  43 + <Reference Include="System.Windows.Forms" />
  44 + <Reference Include="System.Xml" />
  45 + </ItemGroup>
  46 + <ItemGroup>
  47 + <Compile Include="DissectibleLayerForm.cs">
  48 + <SubType>Form</SubType>
  49 + </Compile>
  50 + <Compile Include="DissectibleLayerForm.Designer.cs">
  51 + <DependentUpon>DissectibleLayerForm.cs</DependentUpon>
  52 + </Compile>
  53 + <Compile Include="MaskImagesImport.cs">
  54 + <SubType>Form</SubType>
  55 + </Compile>
  56 + <Compile Include="MaskImagesImport.Designer.cs">
  57 + <DependentUpon>MaskImagesImport.cs</DependentUpon>
  58 + </Compile>
  59 + <Compile Include="NavigatorManForm.cs">
  60 + <SubType>Form</SubType>
  61 + </Compile>
  62 + <Compile Include="NavigatorManForm.Designer.cs">
  63 + <DependentUpon>NavigatorManForm.cs</DependentUpon>
  64 + </Compile>
  65 + <Compile Include="Program.cs" />
  66 + <Compile Include="Properties\AssemblyInfo.cs" />
  67 + <EmbeddedResource Include="DissectibleLayerForm.resx">
  68 + <DependentUpon>DissectibleLayerForm.cs</DependentUpon>
  69 + </EmbeddedResource>
  70 + <EmbeddedResource Include="MaskImagesImport.resx">
  71 + <DependentUpon>MaskImagesImport.cs</DependentUpon>
  72 + </EmbeddedResource>
  73 + <EmbeddedResource Include="NavigatorManForm.resx">
  74 + <DependentUpon>NavigatorManForm.cs</DependentUpon>
  75 + </EmbeddedResource>
  76 + <EmbeddedResource Include="Properties\Resources.resx">
  77 + <Generator>ResXFileCodeGenerator</Generator>
  78 + <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  79 + <SubType>Designer</SubType>
  80 + </EmbeddedResource>
  81 + <Compile Include="Properties\Resources.Designer.cs">
  82 + <AutoGen>True</AutoGen>
  83 + <DependentUpon>Resources.resx</DependentUpon>
  84 + </Compile>
  85 + <None Include="Properties\Settings.settings">
  86 + <Generator>SettingsSingleFileGenerator</Generator>
  87 + <LastGenOutput>Settings.Designer.cs</LastGenOutput>
  88 + </None>
  89 + <Compile Include="Properties\Settings.Designer.cs">
  90 + <AutoGen>True</AutoGen>
  91 + <DependentUpon>Settings.settings</DependentUpon>
  92 + <DesignTimeSharedInput>True</DesignTimeSharedInput>
  93 + </Compile>
  94 + </ItemGroup>
  95 + <ItemGroup>
  96 + <None Include="App.config" />
  97 + </ItemGroup>
  98 + <ItemGroup>
  99 + <Folder Include="logs\" />
  100 + </ItemGroup>
  101 + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  102 + <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  103 + Other similar extension points exist, see Microsoft.Common.targets.
  104 + <Target Name="BeforeBuild">
  105 + </Target>
  106 + <Target Name="AfterBuild">
  107 + </Target>
  108 + -->
  109 +</Project>
0 110 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/App.config 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8" ?>
  2 +<configuration>
  3 + <startup>
  4 + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  5 + </startup>
  6 +</configuration>
0 7 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/DissectibleLayerForm.Designer.cs 0 → 100644
  1 +namespace AIAWindowsUtility
  2 +{
  3 + partial class DissectibleLayerForm
  4 + {
  5 + /// <summary>
  6 + /// Required designer variable.
  7 + /// </summary>
  8 + private System.ComponentModel.IContainer components = null;
  9 +
  10 + /// <summary>
  11 + /// Clean up any resources being used.
  12 + /// </summary>
  13 + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14 + protected override void Dispose(bool disposing)
  15 + {
  16 + if (disposing && (components != null))
  17 + {
  18 + components.Dispose();
  19 + }
  20 + base.Dispose(disposing);
  21 + }
  22 +
  23 + #region Windows Form Designer generated code
  24 +
  25 + /// <summary>
  26 + /// Required method for Designer support - do not modify
  27 + /// the contents of this method with the code editor.
  28 + /// </summary>
  29 + private void InitializeComponent()
  30 + {
  31 + this.btnImportFile = new System.Windows.Forms.Button();
  32 + this.label1 = new System.Windows.Forms.Label();
  33 + this.panel1 = new System.Windows.Forms.Panel();
  34 + this.label2 = new System.Windows.Forms.Label();
  35 + this.button1 = new System.Windows.Forms.Button();
  36 + this.label3 = new System.Windows.Forms.Label();
  37 + this.btnShowMaskImageForm = new System.Windows.Forms.Button();
  38 + this.panel1.SuspendLayout();
  39 + this.SuspendLayout();
  40 + //
  41 + // btnImportFile
  42 + //
  43 + this.btnImportFile.Location = new System.Drawing.Point(193, 27);
  44 + this.btnImportFile.Name = "btnImportFile";
  45 + this.btnImportFile.Size = new System.Drawing.Size(75, 23);
  46 + this.btnImportFile.TabIndex = 0;
  47 + this.btnImportFile.Text = "browse";
  48 + this.btnImportFile.UseVisualStyleBackColor = true;
  49 + this.btnImportFile.Click += new System.EventHandler(this.btnImportFile_Click);
  50 + //
  51 + // label1
  52 + //
  53 + this.label1.AutoSize = true;
  54 + this.label1.Location = new System.Drawing.Point(14, 37);
  55 + this.label1.Name = "label1";
  56 + this.label1.Size = new System.Drawing.Size(55, 13);
  57 + this.label1.TabIndex = 1;
  58 + this.label1.Text = "Import File";
  59 + //
  60 + // panel1
  61 + //
  62 + this.panel1.BackColor = System.Drawing.SystemColors.ActiveCaption;
  63 + this.panel1.Controls.Add(this.btnShowMaskImageForm);
  64 + this.panel1.Controls.Add(this.label3);
  65 + this.panel1.Controls.Add(this.label2);
  66 + this.panel1.Controls.Add(this.button1);
  67 + this.panel1.Controls.Add(this.label1);
  68 + this.panel1.Controls.Add(this.btnImportFile);
  69 + this.panel1.Location = new System.Drawing.Point(75, 43);
  70 + this.panel1.Name = "panel1";
  71 + this.panel1.Size = new System.Drawing.Size(366, 185);
  72 + this.panel1.TabIndex = 2;
  73 + //
  74 + // label2
  75 + //
  76 + this.label2.AutoSize = true;
  77 + this.label2.Location = new System.Drawing.Point(14, 94);
  78 + this.label2.Name = "label2";
  79 + this.label2.Size = new System.Drawing.Size(30, 13);
  80 + this.label2.TabIndex = 3;
  81 + this.label2.Text = "Form";
  82 + //
  83 + // button1
  84 + //
  85 + this.button1.Location = new System.Drawing.Point(172, 89);
  86 + this.button1.Name = "button1";
  87 + this.button1.Size = new System.Drawing.Size(181, 23);
  88 + this.button1.TabIndex = 2;
  89 + this.button1.Text = "Show Navigator Man Image Form";
  90 + this.button1.UseVisualStyleBackColor = true;
  91 + this.button1.Click += new System.EventHandler(this.button1_Click);
  92 + //
  93 + // label3
  94 + //
  95 + this.label3.AutoSize = true;
  96 + this.label3.Location = new System.Drawing.Point(14, 140);
  97 + this.label3.Name = "label3";
  98 + this.label3.Size = new System.Drawing.Size(30, 13);
  99 + this.label3.TabIndex = 5;
  100 + this.label3.Text = "Form";
  101 + this.label3.Click += new System.EventHandler(this.label3_Click);
  102 + //
  103 + // btnShowMaskImageForm
  104 + //
  105 + this.btnShowMaskImageForm.Location = new System.Drawing.Point(172, 140);
  106 + this.btnShowMaskImageForm.Name = "btnShowMaskImageForm";
  107 + this.btnShowMaskImageForm.Size = new System.Drawing.Size(181, 26);
  108 + this.btnShowMaskImageForm.TabIndex = 6;
  109 + this.btnShowMaskImageForm.Text = "Show Mask Image Form";
  110 + this.btnShowMaskImageForm.UseVisualStyleBackColor = true;
  111 + this.btnShowMaskImageForm.Click += new System.EventHandler(this.btnShowMaskImageForm_Click);
  112 + //
  113 + // DissectibleLayerForm
  114 + //
  115 + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  116 + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  117 + this.ClientSize = new System.Drawing.Size(548, 398);
  118 + this.Controls.Add(this.panel1);
  119 + this.Name = "DissectibleLayerForm";
  120 + this.Text = "DissectibleLayerForm";
  121 + this.panel1.ResumeLayout(false);
  122 + this.panel1.PerformLayout();
  123 + this.ResumeLayout(false);
  124 +
  125 + }
  126 +
  127 + #endregion
  128 +
  129 + private System.Windows.Forms.Button btnImportFile;
  130 + private System.Windows.Forms.Label label1;
  131 + private System.Windows.Forms.Panel panel1;
  132 + private System.Windows.Forms.Label label2;
  133 + private System.Windows.Forms.Button button1;
  134 + private System.Windows.Forms.Label label3;
  135 + private System.Windows.Forms.Button btnShowMaskImageForm;
  136 + }
  137 +}
  138 +
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/DissectibleLayerForm.cs 0 → 100644
  1 +using System;
  2 +using System.Collections.Generic;
  3 +using System.ComponentModel;
  4 +using System.Data;
  5 +using System.Drawing;
  6 +using System.Linq;
  7 +using System.Text;
  8 +using System.Threading.Tasks;
  9 +using System.Windows.Forms;
  10 +using System.IO;
  11 +using System.Xml;
  12 +
  13 +namespace AIAWindowsUtility
  14 +{
  15 + public partial class DissectibleLayerForm : Form
  16 + {
  17 + public DissectibleLayerForm()
  18 + {
  19 + InitializeComponent();
  20 + }
  21 +
  22 + private void btnImportFile_Click(object sender, EventArgs e)
  23 + {
  24 + OpenFileDialog openFileDialog1 = new OpenFileDialog();
  25 +
  26 + // Set filter options and filter index.
  27 + openFileDialog1.Filter = "Extensible Markup Language (*.xml)|*.xml|All Files (*.*)|*.*";
  28 + openFileDialog1.FilterIndex = 1;
  29 +
  30 + DialogResult result = openFileDialog1.ShowDialog();
  31 +
  32 + if (result == DialogResult.OK) // Test result.
  33 + {
  34 + if (!String.Equals(Path.GetExtension(openFileDialog1.FileName),
  35 + ".xml",
  36 + StringComparison.OrdinalIgnoreCase))
  37 + {
  38 + // Invalid file type selected; display an error.
  39 + MessageBox.Show("The type of the selected file is not supported by this application. You must select an XML file.",
  40 + "Invalid File Type",
  41 + MessageBoxButtons.OK,
  42 + MessageBoxIcon.Error);
  43 + }
  44 + else
  45 + {
  46 + if (openFileDialog1.FileName.Length > 0) //If a file is open
  47 + {
  48 +
  49 + string path = openFileDialog1.FileName; // The Path to the .Xml file //
  50 +
  51 + FileStream READER = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); //Set up the filestream (READER) //
  52 +
  53 + System.Xml.XmlDocument CompSpecs = new System.Xml.XmlDocument();// Set up the XmlDocument (CompSpecs) //
  54 +
  55 + CompSpecs.Load(READER); //Load the data from the file into the XmlDocument (CompSpecs) //
  56 +
  57 + XmlNodeList dlNodeList = CompSpecs.SelectNodes("/response/dl");
  58 + foreach (XmlNode dlNode in dlNodeList)
  59 + {
  60 +
  61 + int folderNameValue = Convert.ToInt32(dlNode.Attributes["ln"].Value);
  62 + string folderName = (folderNameValue - 1).ToString();
  63 +
  64 + string layersFolder = @"I:\100-PROJECTS\100-REQUIREMENTS\400AIA\Module\DA\images\Gender\Female\DissectibleBodyView\FemaleAnterior(voId=5)\Layers\" + folderName;
  65 + if (Directory.Exists(layersFolder))
  66 + {
  67 + Console.WriteLine("Layer: " + folderName + " is already created");
  68 +
  69 + }
  70 + else
  71 + {
  72 +
  73 + DirectoryInfo di = Directory.CreateDirectory(layersFolder);
  74 +
  75 + XmlNodeList mapNodeList = dlNode.SelectNodes("map");
  76 + foreach (XmlNode mapNode in mapNodeList)
  77 + {
  78 + string bodyRegionFolder = mapNode.Attributes["brId"].Value.ToString();
  79 + string bodyRegionFolderPath = layersFolder + @"\" + bodyRegionFolder + @"\";
  80 +
  81 + if (Directory.Exists(bodyRegionFolderPath))
  82 + {
  83 + if (folderName == "0")
  84 + {
  85 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  86 + XmlNode artNode = mapNode.SelectSingleNode("art");
  87 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  88 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  89 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  90 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\" + imageFileName;
  91 +
  92 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + imageFileName;
  93 + if (File.Exists(imageFileSourcePath))
  94 + {
  95 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  96 + }
  97 + else
  98 + {
  99 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  100 + }
  101 + }
  102 + else
  103 + {
  104 + Console.WriteLine("BodyRegion: " + bodyRegionFolder + " is already created");
  105 + }
  106 +
  107 +
  108 + }
  109 + else
  110 + {
  111 + if (folderName == "0")
  112 + {
  113 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  114 + XmlNode artNode = mapNode.SelectSingleNode("art");
  115 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  116 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  117 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  118 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\" + imageFileName;
  119 +
  120 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + imageFileName;
  121 + if (File.Exists(imageFileSourcePath))
  122 + {
  123 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  124 + }
  125 + else
  126 + {
  127 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  128 + }
  129 + }
  130 + else
  131 + {
  132 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  133 +
  134 + XmlNode artNode = mapNode.SelectSingleNode("art");
  135 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  136 +
  137 +
  138 + string[] imagenameSplit = imageFileName.Split('.');
  139 + string maskImageName = imagenameSplit[0] + "_mci." + imagenameSplit[1];
  140 +
  141 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\" + maskImageName;
  142 +
  143 + if (File.Exists(imageFileSourcePath))
  144 + {
  145 + File.Copy(imageFileSourcePath, bodyRegionFolderPath + maskImageName);
  146 + }
  147 + else
  148 + {
  149 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  150 + }
  151 +
  152 +
  153 + }
  154 + }
  155 + }
  156 + }
  157 + // }
  158 + }
  159 + MessageBox.Show("Congratulations !! you have successfully imported all images for xml : " + path);
  160 + }
  161 + }
  162 + }
  163 + }
  164 +
  165 + private void button1_Click(object sender, EventArgs e)
  166 + {
  167 + NavigatorManForm obj = new NavigatorManForm();
  168 + obj.Show();
  169 + }
  170 +
  171 + private void label3_Click(object sender, EventArgs e)
  172 + {
  173 +
  174 + }
  175 +
  176 + private void button2_Click(object sender, EventArgs e)
  177 + {
  178 +
  179 + }
  180 +
  181 + private void btnShowMaskImageForm_Click(object sender, EventArgs e)
  182 + {
  183 + MaskImagesImport msk = new MaskImagesImport();
  184 + msk.Show();
  185 + }
  186 + }
  187 +}
  188 +
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/DissectibleLayerForm.resx 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<root>
  3 + <!--
  4 + Microsoft ResX Schema
  5 +
  6 + Version 2.0
  7 +
  8 + The primary goals of this format is to allow a simple XML format
  9 + that is mostly human readable. The generation and parsing of the
  10 + various data types are done through the TypeConverter classes
  11 + associated with the data types.
  12 +
  13 + Example:
  14 +
  15 + ... ado.net/XML headers & schema ...
  16 + <resheader name="resmimetype">text/microsoft-resx</resheader>
  17 + <resheader name="version">2.0</resheader>
  18 + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
  19 + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
  20 + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
  21 + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
  22 + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
  23 + <value>[base64 mime encoded serialized .NET Framework object]</value>
  24 + </data>
  25 + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
  26 + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
  27 + <comment>This is a comment</comment>
  28 + </data>
  29 +
  30 + There are any number of "resheader" rows that contain simple
  31 + name/value pairs.
  32 +
  33 + Each data row contains a name, and value. The row also contains a
  34 + type or mimetype. Type corresponds to a .NET class that support
  35 + text/value conversion through the TypeConverter architecture.
  36 + Classes that don't support this are serialized and stored with the
  37 + mimetype set.
  38 +
  39 + The mimetype is used for serialized objects, and tells the
  40 + ResXResourceReader how to depersist the object. This is currently not
  41 + extensible. For a given mimetype the value must be set accordingly:
  42 +
  43 + Note - application/x-microsoft.net.object.binary.base64 is the format
  44 + that the ResXResourceWriter will generate, however the reader can
  45 + read any of the formats listed below.
  46 +
  47 + mimetype: application/x-microsoft.net.object.binary.base64
  48 + value : The object must be serialized with
  49 + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
  50 + : and then encoded with base64 encoding.
  51 +
  52 + mimetype: application/x-microsoft.net.object.soap.base64
  53 + value : The object must be serialized with
  54 + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
  55 + : and then encoded with base64 encoding.
  56 +
  57 + mimetype: application/x-microsoft.net.object.bytearray.base64
  58 + value : The object must be serialized into a byte array
  59 + : using a System.ComponentModel.TypeConverter
  60 + : and then encoded with base64 encoding.
  61 + -->
  62 + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  63 + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
  64 + <xsd:element name="root" msdata:IsDataSet="true">
  65 + <xsd:complexType>
  66 + <xsd:choice maxOccurs="unbounded">
  67 + <xsd:element name="metadata">
  68 + <xsd:complexType>
  69 + <xsd:sequence>
  70 + <xsd:element name="value" type="xsd:string" minOccurs="0" />
  71 + </xsd:sequence>
  72 + <xsd:attribute name="name" use="required" type="xsd:string" />
  73 + <xsd:attribute name="type" type="xsd:string" />
  74 + <xsd:attribute name="mimetype" type="xsd:string" />
  75 + <xsd:attribute ref="xml:space" />
  76 + </xsd:complexType>
  77 + </xsd:element>
  78 + <xsd:element name="assembly">
  79 + <xsd:complexType>
  80 + <xsd:attribute name="alias" type="xsd:string" />
  81 + <xsd:attribute name="name" type="xsd:string" />
  82 + </xsd:complexType>
  83 + </xsd:element>
  84 + <xsd:element name="data">
  85 + <xsd:complexType>
  86 + <xsd:sequence>
  87 + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
  88 + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
  89 + </xsd:sequence>
  90 + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
  91 + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
  92 + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
  93 + <xsd:attribute ref="xml:space" />
  94 + </xsd:complexType>
  95 + </xsd:element>
  96 + <xsd:element name="resheader">
  97 + <xsd:complexType>
  98 + <xsd:sequence>
  99 + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
  100 + </xsd:sequence>
  101 + <xsd:attribute name="name" type="xsd:string" use="required" />
  102 + </xsd:complexType>
  103 + </xsd:element>
  104 + </xsd:choice>
  105 + </xsd:complexType>
  106 + </xsd:element>
  107 + </xsd:schema>
  108 + <resheader name="resmimetype">
  109 + <value>text/microsoft-resx</value>
  110 + </resheader>
  111 + <resheader name="version">
  112 + <value>2.0</value>
  113 + </resheader>
  114 + <resheader name="reader">
  115 + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  116 + </resheader>
  117 + <resheader name="writer">
  118 + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  119 + </resheader>
  120 +</root>
0 121 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/MaskImagesImport - Copy.cs 0 → 100644
  1 +
  2 +using System;
  3 +using System.Collections.Generic;
  4 +using System.ComponentModel;
  5 +using System.Data;
  6 +using System.Drawing;
  7 +using System.Linq;
  8 +using System.Text;
  9 +using System.Threading.Tasks;
  10 +using System.Windows.Forms;
  11 +using System.IO;
  12 +using System.Xml;
  13 +
  14 +namespace AIAWindowsUtility
  15 +{
  16 + public partial class MaskImagesImport : Form
  17 + {
  18 + public MaskImagesImport()
  19 + {
  20 + InitializeComponent();
  21 + }
  22 +
  23 + private void btnImportFile_Click(object sender, EventArgs e)
  24 + {
  25 + OpenFileDialog openFileDialog1 = new OpenFileDialog();
  26 +
  27 + // Set filter options and filter index.
  28 + openFileDialog1.Filter = "Extensible Markup Language (*.xml)|*.xml|All Files (*.*)|*.*";
  29 + openFileDialog1.FilterIndex = 1;
  30 +
  31 + DialogResult result = openFileDialog1.ShowDialog();
  32 +
  33 + if (result == DialogResult.OK) // Test result.
  34 + {
  35 + if (!String.Equals(Path.GetExtension(openFileDialog1.FileName),
  36 + ".xml",
  37 + StringComparison.OrdinalIgnoreCase))
  38 + {
  39 + // Invalid file type selected; display an error.
  40 + MessageBox.Show("The type of the selected file is not supported by this application. You must select an XML file.",
  41 + "Invalid File Type",
  42 + MessageBoxButtons.OK,
  43 + MessageBoxIcon.Error);
  44 + }
  45 + else
  46 + {
  47 + if (openFileDialog1.FileName.Length > 0) //If a file is open
  48 + {
  49 +
  50 + string path = openFileDialog1.FileName; // The Path to the .Xml file //
  51 +
  52 + FileStream READER = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); //Set up the filestream (READER) //
  53 +
  54 + System.Xml.XmlDocument CompSpecs = new System.Xml.XmlDocument();// Set up the XmlDocument (CompSpecs) //
  55 +
  56 + CompSpecs.Load(READER); //Load the data from the file into the XmlDocument (CompSpecs) //
  57 +
  58 + XmlNodeList dlNodeList = CompSpecs.SelectNodes("/response/dl");
  59 + foreach (XmlNode dlNode in dlNodeList)
  60 + {
  61 +
  62 + int folderNameValue = Convert.ToInt32(dlNode.Attributes["ln"].Value);
  63 + string folderName = (folderNameValue - 1).ToString();
  64 +
  65 + string layersFolder = @"I:\100-PROJECTS\100-REQUIREMENTS\400AIA\Module\DA\images\Gender\Female\DissectibleBodyView\FemaleAnterior(voId=5)\Layers\" + folderName;
  66 + if (Directory.Exists(layersFolder))
  67 + {
  68 + Console.WriteLine("Layer: " + folderName + " is already created");
  69 +
  70 + XmlNodeList mapNodeList = dlNode.SelectNodes("map");
  71 +
  72 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\5\";
  73 +
  74 + foreach (XmlNode mapNode in mapNodeList)
  75 + {
  76 + string bodyRegionFolder = mapNode.Attributes["brId"].Value.ToString();
  77 + string bodyRegionFolderPath = layersFolder + @"\" + bodyRegionFolder + @"\";
  78 +
  79 + if (Directory.Exists(bodyRegionFolderPath))
  80 + {
  81 + if (folderName == "0")
  82 + {
  83 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  84 + XmlNode artNode = mapNode.SelectSingleNode("art");
  85 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  86 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  87 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  88 + string[] imagenameSplit = imageFileName.Split('.');
  89 + string maskImageName = imagenameSplit[0] + "_mci.png";
  90 +
  91 + imageFileSourcePath = imageFileSourcePath + maskImageName;
  92 +
  93 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  94 + if (File.Exists(imageFileSourcePath))
  95 + {
  96 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  97 + }
  98 + else
  99 + {
  100 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  101 + }
  102 + }
  103 + else
  104 + {
  105 + Console.WriteLine("BodyRegion: " + bodyRegionFolder + " is already created");
  106 +
  107 +
  108 + }
  109 +
  110 +
  111 + }
  112 + else
  113 + {
  114 + if (folderName == "0")
  115 + {
  116 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  117 + XmlNode artNode = mapNode.SelectSingleNode("art");
  118 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  119 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  120 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  121 + string[] imagenameSplit = imageFileName.Split('.');
  122 + string maskImageName = imagenameSplit[0] + "_mci.png";
  123 +
  124 + imageFileSourcePath = imageFileSourcePath + maskImageName;
  125 +
  126 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  127 + if (File.Exists(imageFileSourcePath))
  128 + {
  129 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  130 + }
  131 + else
  132 + {
  133 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  134 + }
  135 + }
  136 + else
  137 + {
  138 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  139 +
  140 + XmlNode artNode = mapNode.SelectSingleNode("art");
  141 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  142 +
  143 +
  144 + string[] imagenameSplit = imageFileName.Split('.');
  145 + string maskImageName = imagenameSplit[0] + "_mci." + imagenameSplit[1];
  146 +
  147 +
  148 +
  149 + if (File.Exists(imageFileSourcePath))
  150 + {
  151 + File.Copy(imageFileSourcePath, bodyRegionFolderPath + maskImageName);
  152 + }
  153 + else
  154 + {
  155 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  156 + }
  157 +
  158 +
  159 + }
  160 + }
  161 + }
  162 +
  163 + }
  164 + else
  165 + {
  166 +
  167 + DirectoryInfo di = Directory.CreateDirectory(layersFolder);
  168 +
  169 + XmlNodeList mapNodeList = dlNode.SelectNodes("map");
  170 +
  171 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\5\";
  172 +
  173 + foreach (XmlNode mapNode in mapNodeList)
  174 + {
  175 + string bodyRegionFolder = mapNode.Attributes["brId"].Value.ToString();
  176 + string bodyRegionFolderPath = layersFolder + @"\" + bodyRegionFolder + @"\";
  177 +
  178 + if (Directory.Exists(bodyRegionFolderPath))
  179 + {
  180 + if (folderName == "0")
  181 + {
  182 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  183 + XmlNode artNode = mapNode.SelectSingleNode("art");
  184 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  185 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  186 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  187 + string[] imagenameSplit = imageFileName.Split('.');
  188 + string maskImageName = imagenameSplit[0] + "_mci.png";
  189 +
  190 + imageFileSourcePath = imageFileSourcePath + maskImageName;
  191 +
  192 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  193 + if (File.Exists(imageFileSourcePath))
  194 + {
  195 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  196 + }
  197 + else
  198 + {
  199 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  200 + }
  201 + }
  202 + else
  203 + {
  204 + Console.WriteLine("BodyRegion: " + bodyRegionFolder + " is already created");
  205 +
  206 +
  207 + }
  208 +
  209 +
  210 + }
  211 + else
  212 + {
  213 + if (folderName == "0")
  214 + {
  215 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  216 + XmlNode artNode = mapNode.SelectSingleNode("art");
  217 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  218 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  219 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  220 + string[] imagenameSplit = imageFileName.Split('.');
  221 + string maskImageName = imagenameSplit[0] + "_mci.png";
  222 +
  223 + imageFileSourcePath = imageFileSourcePath + maskImageName;
  224 +
  225 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  226 + if (File.Exists(imageFileSourcePath))
  227 + {
  228 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  229 + }
  230 + else
  231 + {
  232 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  233 + }
  234 + }
  235 + else
  236 + {
  237 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  238 +
  239 + XmlNode artNode = mapNode.SelectSingleNode("art");
  240 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  241 +
  242 +
  243 + string[] imagenameSplit = imageFileName.Split('.');
  244 + string maskImageName = imagenameSplit[0] + "_mci." + imagenameSplit[1];
  245 +
  246 +
  247 +
  248 + if (File.Exists(imageFileSourcePath))
  249 + {
  250 + File.Copy(imageFileSourcePath, bodyRegionFolderPath + maskImageName);
  251 + }
  252 + else
  253 + {
  254 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  255 + }
  256 +
  257 +
  258 + }
  259 + }
  260 + }
  261 + //MessageBox.Show("Congratulations !! you have successfully imported all images for xml : " + path);
  262 + }
  263 + // }
  264 + }
  265 +
  266 + }
  267 + }
  268 + }
  269 + }
  270 + }
  271 +}
  272 +
  273 +
  274 +
  275 +
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/MaskImagesImport.Designer.cs 0 → 100644
  1 +namespace AIAWindowsUtility
  2 +{
  3 + partial class MaskImagesImport
  4 + {
  5 + /// <summary>
  6 + /// Required designer variable.
  7 + /// </summary>
  8 + private System.ComponentModel.IContainer components = null;
  9 +
  10 + /// <summary>
  11 + /// Clean up any resources being used.
  12 + /// </summary>
  13 + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14 + protected override void Dispose(bool disposing)
  15 + {
  16 + if (disposing && (components != null))
  17 + {
  18 + components.Dispose();
  19 + }
  20 + base.Dispose(disposing);
  21 + }
  22 +
  23 + #region Windows Form Designer generated code
  24 +
  25 + /// <summary>
  26 + /// Required method for Designer support - do not modify
  27 + /// the contents of this method with the code editor.
  28 + /// </summary>
  29 + private void InitializeComponent()
  30 + {
  31 + this.panel1 = new System.Windows.Forms.Panel();
  32 + this.label1 = new System.Windows.Forms.Label();
  33 + this.btnImportFile = new System.Windows.Forms.Button();
  34 + this.panel1.SuspendLayout();
  35 + this.SuspendLayout();
  36 + //
  37 + // panel1
  38 + //
  39 + this.panel1.BackColor = System.Drawing.SystemColors.ActiveCaption;
  40 + this.panel1.Controls.Add(this.label1);
  41 + this.panel1.Controls.Add(this.btnImportFile);
  42 + this.panel1.Location = new System.Drawing.Point(73, 90);
  43 + this.panel1.Name = "panel1";
  44 + this.panel1.Size = new System.Drawing.Size(366, 185);
  45 + this.panel1.TabIndex = 3;
  46 + //
  47 + // label1
  48 + //
  49 + this.label1.AutoSize = true;
  50 + this.label1.Location = new System.Drawing.Point(14, 37);
  51 + this.label1.Name = "label1";
  52 + this.label1.Size = new System.Drawing.Size(55, 13);
  53 + this.label1.TabIndex = 1;
  54 + this.label1.Text = "Import File";
  55 + //
  56 + // btnImportFile
  57 + //
  58 + this.btnImportFile.Location = new System.Drawing.Point(193, 27);
  59 + this.btnImportFile.Name = "btnImportFile";
  60 + this.btnImportFile.Size = new System.Drawing.Size(75, 23);
  61 + this.btnImportFile.TabIndex = 0;
  62 + this.btnImportFile.Text = "browse";
  63 + this.btnImportFile.UseVisualStyleBackColor = true;
  64 + this.btnImportFile.Click += new System.EventHandler(this.btnImportFile_Click);
  65 + //
  66 + // MaskImagesImport
  67 + //
  68 + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  69 + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  70 + this.ClientSize = new System.Drawing.Size(513, 364);
  71 + this.Controls.Add(this.panel1);
  72 + this.Name = "MaskImagesImport";
  73 + this.Text = "MaskImagesImport";
  74 + this.panel1.ResumeLayout(false);
  75 + this.panel1.PerformLayout();
  76 + this.ResumeLayout(false);
  77 +
  78 + }
  79 +
  80 + #endregion
  81 +
  82 + private System.Windows.Forms.Panel panel1;
  83 + private System.Windows.Forms.Label label1;
  84 + private System.Windows.Forms.Button btnImportFile;
  85 + }
  86 +}
0 87 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/MaskImagesImport.cs 0 → 100644
  1 +
  2 +using System;
  3 +using System.Collections.Generic;
  4 +using System.ComponentModel;
  5 +using System.Data;
  6 +using System.Drawing;
  7 +using System.Linq;
  8 +using System.Text;
  9 +using System.Threading.Tasks;
  10 +using System.Windows.Forms;
  11 +using System.IO;
  12 +using System.Xml;
  13 +
  14 +namespace AIAWindowsUtility
  15 +{
  16 + public partial class MaskImagesImport : Form
  17 + {
  18 + public MaskImagesImport()
  19 + {
  20 + InitializeComponent();
  21 + }
  22 +
  23 + private void btnImportFile_Click(object sender, EventArgs e)
  24 + {
  25 +
  26 + OpenFileDialog openFileDialog1 = new OpenFileDialog();
  27 +
  28 + // Set filter options and filter index.
  29 + openFileDialog1.Filter = "Extensible Markup Language (*.xml)|*.xml|All Files (*.*)|*.*";
  30 + openFileDialog1.FilterIndex = 1;
  31 +
  32 + DialogResult result = openFileDialog1.ShowDialog();
  33 +
  34 + if (result == DialogResult.OK) // Test result.
  35 + {
  36 + if (!String.Equals(Path.GetExtension(openFileDialog1.FileName),
  37 + ".xml",
  38 + StringComparison.OrdinalIgnoreCase))
  39 + {
  40 + // Invalid file type selected; display an error.
  41 + MessageBox.Show("The type of the selected file is not supported by this application. You must select an XML file.",
  42 + "Invalid File Type",
  43 + MessageBoxButtons.OK,
  44 + MessageBoxIcon.Error);
  45 + }
  46 + else
  47 + {
  48 + if (openFileDialog1.FileName.Length > 0) //If a file is open
  49 + {
  50 +
  51 + string path = openFileDialog1.FileName; // The Path to the .Xml file //
  52 +
  53 + FileStream READER = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); //Set up the filestream (READER) //
  54 +
  55 + System.Xml.XmlDocument CompSpecs = new System.Xml.XmlDocument();// Set up the XmlDocument (CompSpecs) //
  56 +
  57 + CompSpecs.Load(READER); //Load the data from the file into the XmlDocument (CompSpecs) //
  58 +
  59 + XmlNodeList dlNodeList = CompSpecs.SelectNodes("/response/dl");
  60 +
  61 +
  62 + foreach (XmlNode dlNode in dlNodeList)
  63 + {
  64 +
  65 + int folderNameValue = Convert.ToInt32(dlNode.Attributes["ln"].Value);
  66 + string folderName = (folderNameValue - 1).ToString();
  67 +
  68 + string layersFolder = @"I:\100-PROJECTS\100-REQUIREMENTS\400AIA\Module\DA\images\Gender\Male\DissectibleBodyView\MaleLateralArm(voId=9)\Layers\" + folderName;
  69 + if (Directory.Exists(layersFolder))
  70 + {
  71 + Console.WriteLine("Layer: " + folderName + " is already created");
  72 +
  73 + XmlNodeList mapNodeList = dlNode.SelectNodes("map");
  74 + foreach (XmlNode mapNode in mapNodeList)
  75 + {
  76 + string bodyRegionFolder = mapNode.Attributes["brId"].Value.ToString();
  77 + string bodyRegionFolderPath = layersFolder + @"\" + bodyRegionFolder + @"\";
  78 +
  79 + if (Directory.Exists(bodyRegionFolderPath))
  80 + {
  81 + if (folderName == "0")
  82 + {
  83 + //DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  84 + XmlNode artNode = mapNode.SelectSingleNode("art");
  85 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  86 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  87 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  88 +
  89 + string[] imagenameSplit = imageFileName.Split('.');
  90 + string maskImageName = imagenameSplit[0] + "_mci.png";
  91 +
  92 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\9\" +maskImageName;
  93 +
  94 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  95 + if (File.Exists(imageFileSourcePath))
  96 + {
  97 +
  98 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  99 +
  100 + }
  101 + else
  102 + {
  103 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  104 + }
  105 + }
  106 + else
  107 + {
  108 + //Console.WriteLine("BodyRegion: " + bodyRegionFolder + " is already created");
  109 +
  110 + // DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  111 +
  112 + XmlNode artNode = mapNode.SelectSingleNode("art");
  113 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  114 +
  115 +
  116 + string[] imagenameSplit = imageFileName.Split('.');
  117 + string maskImageName = imagenameSplit[0] + "_mci.png";
  118 +
  119 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\9\" + maskImageName;
  120 +
  121 +
  122 + if (File.Exists(imageFileSourcePath))
  123 + {
  124 + string maskImg = bodyRegionFolderPath + @"\" + maskImageName;
  125 + File.Copy(imageFileSourcePath, bodyRegionFolderPath + maskImageName);
  126 +
  127 + }
  128 + else
  129 + {
  130 +
  131 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  132 +
  133 + }
  134 + }
  135 + }
  136 +
  137 +
  138 + else
  139 + {
  140 + if (folderName == "0")
  141 + {
  142 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  143 + XmlNode artNode = mapNode.SelectSingleNode("art");
  144 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  145 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  146 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  147 +
  148 + string[] imagenameSplit = imageFileName.Split('.');
  149 + string maskImageName = imagenameSplit[0] + "_mci.png";
  150 +
  151 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\9\" + maskImageName;
  152 +
  153 +
  154 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + imageFileName;
  155 +
  156 + if (File.Exists(imageFileSourcePath))
  157 + {
  158 + string maskImg = skinToneDirectoryPath + @"\" + maskImageName;
  159 + if (File.Exists(maskImg))
  160 + {
  161 +
  162 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  163 + }
  164 + }
  165 + else
  166 + {
  167 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  168 + }
  169 + }
  170 + else
  171 + {
  172 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  173 +
  174 + XmlNode artNode = mapNode.SelectSingleNode("art");
  175 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  176 +
  177 +
  178 + string[] imagenameSplit = imageFileName.Split('.');
  179 + string maskImageName = imagenameSplit[0] + "_mci.png";
  180 +
  181 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\9\" + maskImageName;
  182 +
  183 +
  184 + string maskImgDesiPath = bodyRegionFolderPath + @"\" + maskImageName;
  185 +
  186 + if (File.Exists(imageFileSourcePath))
  187 + {
  188 +
  189 +
  190 + File.Copy(imageFileSourcePath, bodyRegionFolderPath + maskImageName);
  191 +
  192 + }
  193 + else
  194 + {
  195 +
  196 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  197 +
  198 + }
  199 +
  200 +
  201 + }
  202 +
  203 +
  204 +
  205 + }
  206 + }
  207 + }
  208 + else
  209 + {
  210 +
  211 + DirectoryInfo di = Directory.CreateDirectory(layersFolder);
  212 +
  213 + XmlNodeList mapNodeList = dlNode.SelectNodes("map");
  214 + foreach (XmlNode mapNode in mapNodeList)
  215 + {
  216 + string bodyRegionFolder = mapNode.Attributes["brId"].Value.ToString();
  217 + string bodyRegionFolderPath = layersFolder + @"\" + bodyRegionFolder + @"\";
  218 +
  219 + if (Directory.Exists(bodyRegionFolderPath))
  220 + {
  221 + if (folderName == "0")
  222 + {
  223 + // DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  224 + XmlNode artNode = mapNode.SelectSingleNode("art");
  225 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  226 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  227 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  228 +
  229 +
  230 + string[] imagenameSplit = imageFileName.Split('.');
  231 + string maskImageName = imagenameSplit[0] + "_mci.png";
  232 +
  233 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\9\" + maskImageName;
  234 +
  235 +
  236 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  237 + if (File.Exists(imageFileSourcePath))
  238 + {
  239 +
  240 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  241 +
  242 + }
  243 + else
  244 + {
  245 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  246 + }
  247 + }
  248 + else
  249 + {
  250 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  251 + XmlNode artNode = mapNode.SelectSingleNode("art");
  252 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  253 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  254 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  255 +
  256 +
  257 + string[] imagenameSplit = imageFileName.Split('.');
  258 + string maskImageName = imagenameSplit[0] + "_mci.png";
  259 +
  260 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\9\" + maskImageName;
  261 +
  262 +
  263 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  264 + if (File.Exists(imageFileSourcePath))
  265 + {
  266 +
  267 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  268 +
  269 + }
  270 + else
  271 + {
  272 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  273 + }
  274 + }
  275 +
  276 +
  277 + }
  278 + else
  279 + {
  280 + if (folderName == "0")
  281 + {
  282 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  283 + XmlNode artNode = mapNode.SelectSingleNode("art");
  284 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  285 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  286 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  287 +
  288 +
  289 + string[] imagenameSplit = imageFileName.Split('.');
  290 + string maskImageName = imagenameSplit[0] + "_mci.png";
  291 +
  292 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\9\" + maskImageName;
  293 +
  294 +
  295 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  296 + if (File.Exists(imageFileSourcePath))
  297 + {
  298 + if (File.Exists(skinToneDirectoryPath))
  299 + {
  300 + File.Replace(skinToneDirectoryPath, maskImageName, maskImageName + "_bck");
  301 + }
  302 + else
  303 + {
  304 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  305 + }
  306 + }
  307 + else
  308 + {
  309 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  310 + }
  311 + }
  312 + else
  313 + {
  314 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  315 +
  316 + XmlNode artNode = mapNode.SelectSingleNode("art");
  317 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  318 +
  319 +
  320 + string[] imagenameSplit = imageFileName.Split('.');
  321 + string maskImageName = imagenameSplit[0] + "_mci.png";
  322 +
  323 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\9\" + maskImageName;
  324 +
  325 +
  326 + string maskImageBodyRegionPath = bodyRegionFolderPath + @"\" + maskImageName;
  327 + if (File.Exists(imageFileSourcePath))
  328 + {
  329 +
  330 + File.Copy(imageFileSourcePath, bodyRegionFolderPath + maskImageName);
  331 +
  332 + }
  333 + else
  334 + {
  335 +
  336 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  337 + }
  338 + }
  339 + }
  340 + }
  341 + MessageBox.Show("Congratulations !! you have successfully imported all images for xml : " + path);
  342 + }
  343 + }
  344 + }
  345 + }
  346 + }
  347 +
  348 + }
  349 +
  350 +
  351 + }
  352 +}
  353 +
  354 +
  355 +
  356 +
  357 +
  358 +
  359 +
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/MaskImagesImport.cs_1 0 → 100644
  1 +
  2 +using System;
  3 +using System.Collections.Generic;
  4 +using System.ComponentModel;
  5 +using System.Data;
  6 +using System.Drawing;
  7 +using System.Linq;
  8 +using System.Text;
  9 +using System.Threading.Tasks;
  10 +using System.Windows.Forms;
  11 +using System.IO;
  12 +using System.Xml;
  13 +
  14 +namespace AIAWindowsUtility
  15 +{
  16 + public partial class MaskImagesImport : Form
  17 + {
  18 + public MaskImagesImport()
  19 + {
  20 + InitializeComponent();
  21 + }
  22 +
  23 + private void btnImportFile_Click(object sender, EventArgs e)
  24 + {
  25 + OpenFileDialog openFileDialog1 = new OpenFileDialog();
  26 +
  27 + // Set filter options and filter index.
  28 + openFileDialog1.Filter = "Extensible Markup Language (*.xml)|*.xml|All Files (*.*)|*.*";
  29 + openFileDialog1.FilterIndex = 1;
  30 +
  31 + DialogResult result = openFileDialog1.ShowDialog();
  32 +
  33 + if (result == DialogResult.OK) // Test result.
  34 + {
  35 + if (!String.Equals(Path.GetExtension(openFileDialog1.FileName),
  36 + ".xml",
  37 + StringComparison.OrdinalIgnoreCase))
  38 + {
  39 + // Invalid file type selected; display an error.
  40 + MessageBox.Show("The type of the selected file is not supported by this application. You must select an XML file.",
  41 + "Invalid File Type",
  42 + MessageBoxButtons.OK,
  43 + MessageBoxIcon.Error);
  44 + }
  45 + else
  46 + {
  47 + if (openFileDialog1.FileName.Length > 0) //If a file is open
  48 + {
  49 +
  50 + string path = openFileDialog1.FileName; // The Path to the .Xml file //
  51 +
  52 + FileStream READER = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); //Set up the filestream (READER) //
  53 +
  54 + System.Xml.XmlDocument CompSpecs = new System.Xml.XmlDocument();// Set up the XmlDocument (CompSpecs) //
  55 +
  56 + CompSpecs.Load(READER); //Load the data from the file into the XmlDocument (CompSpecs) //
  57 +
  58 + XmlNodeList dlNodeList = CompSpecs.SelectNodes("/response/dl");
  59 + foreach (XmlNode dlNode in dlNodeList)
  60 + {
  61 +
  62 + int folderNameValue = Convert.ToInt32(dlNode.Attributes["ln"].Value);
  63 + string folderName = (folderNameValue - 1).ToString();
  64 +
  65 + string layersFolder = @"I:\100-PROJECTS\100-REQUIREMENTS\400AIA\Module\DA\images\Gender\Female\DissectibleBodyView\FemaleAnterior(voId=5)\Layers\" + folderName;
  66 + if (Directory.Exists(layersFolder))
  67 + {
  68 + Console.WriteLine("Layer: " + folderName + " is already created");
  69 +
  70 + XmlNodeList mapNodeList = dlNode.SelectNodes("map");
  71 +
  72 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\5\";
  73 +
  74 + foreach (XmlNode mapNode in mapNodeList)
  75 + {
  76 + string bodyRegionFolder = mapNode.Attributes["brId"].Value.ToString();
  77 + string bodyRegionFolderPath = layersFolder + @"\" + bodyRegionFolder + @"\";
  78 +
  79 + if (Directory.Exists(bodyRegionFolderPath))
  80 + {
  81 + if (folderName == "0")
  82 + {
  83 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  84 + XmlNode artNode = mapNode.SelectSingleNode("art");
  85 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  86 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  87 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  88 + string[] imagenameSplit = imageFileName.Split('.');
  89 + string maskImageName = imagenameSplit[0] + "_mci.png";
  90 +
  91 + imageFileSourcePath = imageFileSourcePath + maskImageName;
  92 +
  93 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  94 + if (File.Exists(imageFileSourcePath))
  95 + {
  96 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  97 + }
  98 + else
  99 + {
  100 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  101 + }
  102 + }
  103 + else
  104 + {
  105 + Console.WriteLine("BodyRegion: " + bodyRegionFolder + " is already created");
  106 +
  107 +
  108 + }
  109 +
  110 +
  111 + }
  112 + else
  113 + {
  114 + if (folderName == "0")
  115 + {
  116 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  117 + XmlNode artNode = mapNode.SelectSingleNode("art");
  118 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  119 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  120 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  121 + string[] imagenameSplit = imageFileName.Split('.');
  122 + string maskImageName = imagenameSplit[0] + "_mci.png";
  123 +
  124 + imageFileSourcePath = imageFileSourcePath + maskImageName;
  125 +
  126 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  127 + if (File.Exists(imageFileSourcePath))
  128 + {
  129 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  130 + }
  131 + else
  132 + {
  133 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  134 + }
  135 + }
  136 + else
  137 + {
  138 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  139 +
  140 + XmlNode artNode = mapNode.SelectSingleNode("art");
  141 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  142 +
  143 +
  144 + string[] imagenameSplit = imageFileName.Split('.');
  145 + string maskImageName = imagenameSplit[0] + "_mci." + imagenameSplit[1];
  146 +
  147 +
  148 +
  149 + if (File.Exists(imageFileSourcePath))
  150 + {
  151 + File.Copy(imageFileSourcePath, bodyRegionFolderPath + maskImageName);
  152 + }
  153 + else
  154 + {
  155 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  156 + }
  157 +
  158 +
  159 + }
  160 + }
  161 + }
  162 +
  163 + }
  164 + else
  165 + {
  166 +
  167 + DirectoryInfo di = Directory.CreateDirectory(layersFolder);
  168 +
  169 + XmlNodeList mapNodeList = dlNode.SelectNodes("map");
  170 +
  171 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\da_dat_img\75\5\";
  172 +
  173 + foreach (XmlNode mapNode in mapNodeList)
  174 + {
  175 + string bodyRegionFolder = mapNode.Attributes["brId"].Value.ToString();
  176 + string bodyRegionFolderPath = layersFolder + @"\" + bodyRegionFolder + @"\";
  177 +
  178 + if (Directory.Exists(bodyRegionFolderPath))
  179 + {
  180 + if (folderName == "0")
  181 + {
  182 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  183 + XmlNode artNode = mapNode.SelectSingleNode("art");
  184 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  185 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  186 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  187 + string[] imagenameSplit = imageFileName.Split('.');
  188 + string maskImageName = imagenameSplit[0] + "_mci.png";
  189 +
  190 + imageFileSourcePath = imageFileSourcePath + maskImageName;
  191 +
  192 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  193 + if (File.Exists(imageFileSourcePath))
  194 + {
  195 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  196 + }
  197 + else
  198 + {
  199 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  200 + }
  201 + }
  202 + else
  203 + {
  204 + Console.WriteLine("BodyRegion: " + bodyRegionFolder + " is already created");
  205 +
  206 +
  207 + }
  208 +
  209 +
  210 + }
  211 + else
  212 + {
  213 + if (folderName == "0")
  214 + {
  215 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  216 + XmlNode artNode = mapNode.SelectSingleNode("art");
  217 + string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  218 + DirectoryInfo skinToneDr = Directory.CreateDirectory(bodyRegionFolderPath + skinToneName);
  219 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  220 + string[] imagenameSplit = imageFileName.Split('.');
  221 + string maskImageName = imagenameSplit[0] + "_mci.png";
  222 +
  223 + imageFileSourcePath = imageFileSourcePath + maskImageName;
  224 +
  225 + string skinToneDirectoryPath = bodyRegionFolderPath + skinToneName + @"\" + maskImageName;
  226 + if (File.Exists(imageFileSourcePath))
  227 + {
  228 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  229 + }
  230 + else
  231 + {
  232 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  233 + }
  234 + }
  235 + else
  236 + {
  237 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(bodyRegionFolderPath);
  238 +
  239 + XmlNode artNode = mapNode.SelectSingleNode("art");
  240 + string imageFileName = artNode.Attributes["compId"].Value.ToString();
  241 +
  242 +
  243 + string[] imagenameSplit = imageFileName.Split('.');
  244 + string maskImageName = imagenameSplit[0] + "_mci." + imagenameSplit[1];
  245 +
  246 +
  247 +
  248 + if (File.Exists(imageFileSourcePath))
  249 + {
  250 + File.Copy(imageFileSourcePath, bodyRegionFolderPath + maskImageName);
  251 + }
  252 + else
  253 + {
  254 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: " + bodyRegionFolder);
  255 + }
  256 +
  257 +
  258 + }
  259 + }
  260 + }
  261 + //MessageBox.Show("Congratulations !! you have successfully imported all images for xml : " + path);
  262 + }
  263 + // }
  264 + }
  265 +
  266 + }
  267 + }
  268 + }
  269 + }
  270 + }
  271 +}
  272 +
  273 +
  274 +
  275 +
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/MaskImagesImport.resx 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<root>
  3 + <!--
  4 + Microsoft ResX Schema
  5 +
  6 + Version 2.0
  7 +
  8 + The primary goals of this format is to allow a simple XML format
  9 + that is mostly human readable. The generation and parsing of the
  10 + various data types are done through the TypeConverter classes
  11 + associated with the data types.
  12 +
  13 + Example:
  14 +
  15 + ... ado.net/XML headers & schema ...
  16 + <resheader name="resmimetype">text/microsoft-resx</resheader>
  17 + <resheader name="version">2.0</resheader>
  18 + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
  19 + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
  20 + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
  21 + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
  22 + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
  23 + <value>[base64 mime encoded serialized .NET Framework object]</value>
  24 + </data>
  25 + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
  26 + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
  27 + <comment>This is a comment</comment>
  28 + </data>
  29 +
  30 + There are any number of "resheader" rows that contain simple
  31 + name/value pairs.
  32 +
  33 + Each data row contains a name, and value. The row also contains a
  34 + type or mimetype. Type corresponds to a .NET class that support
  35 + text/value conversion through the TypeConverter architecture.
  36 + Classes that don't support this are serialized and stored with the
  37 + mimetype set.
  38 +
  39 + The mimetype is used for serialized objects, and tells the
  40 + ResXResourceReader how to depersist the object. This is currently not
  41 + extensible. For a given mimetype the value must be set accordingly:
  42 +
  43 + Note - application/x-microsoft.net.object.binary.base64 is the format
  44 + that the ResXResourceWriter will generate, however the reader can
  45 + read any of the formats listed below.
  46 +
  47 + mimetype: application/x-microsoft.net.object.binary.base64
  48 + value : The object must be serialized with
  49 + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
  50 + : and then encoded with base64 encoding.
  51 +
  52 + mimetype: application/x-microsoft.net.object.soap.base64
  53 + value : The object must be serialized with
  54 + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
  55 + : and then encoded with base64 encoding.
  56 +
  57 + mimetype: application/x-microsoft.net.object.bytearray.base64
  58 + value : The object must be serialized into a byte array
  59 + : using a System.ComponentModel.TypeConverter
  60 + : and then encoded with base64 encoding.
  61 + -->
  62 + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  63 + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
  64 + <xsd:element name="root" msdata:IsDataSet="true">
  65 + <xsd:complexType>
  66 + <xsd:choice maxOccurs="unbounded">
  67 + <xsd:element name="metadata">
  68 + <xsd:complexType>
  69 + <xsd:sequence>
  70 + <xsd:element name="value" type="xsd:string" minOccurs="0" />
  71 + </xsd:sequence>
  72 + <xsd:attribute name="name" use="required" type="xsd:string" />
  73 + <xsd:attribute name="type" type="xsd:string" />
  74 + <xsd:attribute name="mimetype" type="xsd:string" />
  75 + <xsd:attribute ref="xml:space" />
  76 + </xsd:complexType>
  77 + </xsd:element>
  78 + <xsd:element name="assembly">
  79 + <xsd:complexType>
  80 + <xsd:attribute name="alias" type="xsd:string" />
  81 + <xsd:attribute name="name" type="xsd:string" />
  82 + </xsd:complexType>
  83 + </xsd:element>
  84 + <xsd:element name="data">
  85 + <xsd:complexType>
  86 + <xsd:sequence>
  87 + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
  88 + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
  89 + </xsd:sequence>
  90 + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
  91 + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
  92 + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
  93 + <xsd:attribute ref="xml:space" />
  94 + </xsd:complexType>
  95 + </xsd:element>
  96 + <xsd:element name="resheader">
  97 + <xsd:complexType>
  98 + <xsd:sequence>
  99 + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
  100 + </xsd:sequence>
  101 + <xsd:attribute name="name" type="xsd:string" use="required" />
  102 + </xsd:complexType>
  103 + </xsd:element>
  104 + </xsd:choice>
  105 + </xsd:complexType>
  106 + </xsd:element>
  107 + </xsd:schema>
  108 + <resheader name="resmimetype">
  109 + <value>text/microsoft-resx</value>
  110 + </resheader>
  111 + <resheader name="version">
  112 + <value>2.0</value>
  113 + </resheader>
  114 + <resheader name="reader">
  115 + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  116 + </resheader>
  117 + <resheader name="writer">
  118 + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  119 + </resheader>
  120 +</root>
0 121 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/NavigatorManForm.Designer.cs 0 → 100644
  1 +namespace AIAWindowsUtility
  2 +{
  3 + partial class NavigatorManForm
  4 + {
  5 + /// <summary>
  6 + /// Required designer variable.
  7 + /// </summary>
  8 + private System.ComponentModel.IContainer components = null;
  9 +
  10 + /// <summary>
  11 + /// Clean up any resources being used.
  12 + /// </summary>
  13 + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14 + protected override void Dispose(bool disposing)
  15 + {
  16 + if (disposing && (components != null))
  17 + {
  18 + components.Dispose();
  19 + }
  20 + base.Dispose(disposing);
  21 + }
  22 +
  23 + #region Windows Form Designer generated code
  24 +
  25 + /// <summary>
  26 + /// Required method for Designer support - do not modify
  27 + /// the contents of this method with the code editor.
  28 + /// </summary>
  29 + private void InitializeComponent()
  30 + {
  31 + this.panel1 = new System.Windows.Forms.Panel();
  32 + this.label1 = new System.Windows.Forms.Label();
  33 + this.btnImportFile = new System.Windows.Forms.Button();
  34 + this.panel1.SuspendLayout();
  35 + this.SuspendLayout();
  36 + //
  37 + // panel1
  38 + //
  39 + this.panel1.BackColor = System.Drawing.SystemColors.ActiveCaption;
  40 + this.panel1.Controls.Add(this.label1);
  41 + this.panel1.Controls.Add(this.btnImportFile);
  42 + this.panel1.Location = new System.Drawing.Point(114, 51);
  43 + this.panel1.Name = "panel1";
  44 + this.panel1.Size = new System.Drawing.Size(366, 185);
  45 + this.panel1.TabIndex = 3;
  46 + //
  47 + // label1
  48 + //
  49 + this.label1.AutoSize = true;
  50 + this.label1.Location = new System.Drawing.Point(14, 37);
  51 + this.label1.Name = "label1";
  52 + this.label1.Size = new System.Drawing.Size(55, 13);
  53 + this.label1.TabIndex = 1;
  54 + this.label1.Text = "Import File";
  55 + //
  56 + // btnImportFile
  57 + //
  58 + this.btnImportFile.Location = new System.Drawing.Point(193, 27);
  59 + this.btnImportFile.Name = "btnImportFile";
  60 + this.btnImportFile.Size = new System.Drawing.Size(75, 23);
  61 + this.btnImportFile.TabIndex = 0;
  62 + this.btnImportFile.Text = "browse";
  63 + this.btnImportFile.UseVisualStyleBackColor = true;
  64 + this.btnImportFile.Click += new System.EventHandler(this.btnImportFile_Click);
  65 + //
  66 + // NavigatorManForm
  67 + //
  68 + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  69 + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  70 + this.ClientSize = new System.Drawing.Size(595, 287);
  71 + this.Controls.Add(this.panel1);
  72 + this.Name = "NavigatorManForm";
  73 + this.Text = "NavigatorManForm";
  74 + this.panel1.ResumeLayout(false);
  75 + this.panel1.PerformLayout();
  76 + this.ResumeLayout(false);
  77 +
  78 + }
  79 +
  80 + #endregion
  81 +
  82 + private System.Windows.Forms.Panel panel1;
  83 + private System.Windows.Forms.Label label1;
  84 + private System.Windows.Forms.Button btnImportFile;
  85 + }
  86 +}
0 87 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/NavigatorManForm.cs 0 → 100644
  1 +using System;
  2 +using System.Collections.Generic;
  3 +using System.ComponentModel;
  4 +using System.Data;
  5 +using System.Drawing;
  6 +using System.IO;
  7 +using System.Linq;
  8 +using System.Text;
  9 +using System.Threading.Tasks;
  10 +using System.Windows.Forms;
  11 +using System.Xml;
  12 +
  13 +namespace AIAWindowsUtility
  14 +{
  15 + public partial class NavigatorManForm : Form
  16 + {
  17 + public NavigatorManForm()
  18 + {
  19 + InitializeComponent();
  20 + }
  21 +
  22 + private void btnImportFile_Click(object sender, EventArgs e)
  23 + {
  24 + string path = string.Empty;
  25 + OpenFileDialog openFileDialog1 = new OpenFileDialog();
  26 +
  27 + // Set filter options and filter index.
  28 + openFileDialog1.Filter = "Extensible Markup Language (*.xml)|*.xml|All Files (*.*)|*.*";
  29 + openFileDialog1.FilterIndex = 1;
  30 +
  31 + DialogResult result = openFileDialog1.ShowDialog();
  32 +
  33 + if (result == DialogResult.OK) // Test result.
  34 + {
  35 + if (!String.Equals(Path.GetExtension(openFileDialog1.FileName),
  36 + ".xml",
  37 + StringComparison.OrdinalIgnoreCase))
  38 + {
  39 + // Invalid file type selected; display an error.
  40 + MessageBox.Show("The type of the selected file is not supported by this application. You must select an XML file.",
  41 + "Invalid File Type",
  42 + MessageBoxButtons.OK,
  43 + MessageBoxIcon.Error);
  44 + }
  45 + else
  46 + {
  47 + if (openFileDialog1.FileName.Length > 0) //If a file is open
  48 + {
  49 +
  50 + path = openFileDialog1.FileName; // The Path to the .Xml file //
  51 +
  52 + FileStream READER = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); //Set up the filestream (READER) //
  53 +
  54 + System.Xml.XmlDocument CompSpecs = new System.Xml.XmlDocument();// Set up the XmlDocument (CompSpecs) //
  55 +
  56 + CompSpecs.Load(READER); //Load the data from the file into the XmlDocument (CompSpecs) //
  57 +
  58 + XmlNodeList dcNodeList = CompSpecs.SelectNodes("/response/dc");
  59 + foreach (XmlNode dcNode in dcNodeList)
  60 + {
  61 +
  62 +
  63 + string folderName = dcNode.Attributes["t1"].Value.ToString();
  64 +
  65 + string navigatorManFolder = @"I:\100-PROJECTS\100-REQUIREMENTS\400AIA\Module\DA\images\NavigatorMan\" + folderName;
  66 + if (Directory.Exists(navigatorManFolder))
  67 + {
  68 + Console.WriteLine(folderName + " is already created");
  69 +
  70 + }
  71 + else
  72 + {
  73 +
  74 + DirectoryInfo di = Directory.CreateDirectory(navigatorManFolder);
  75 +
  76 + XmlNodeList itNodeList = dcNode.SelectNodes("it");
  77 + foreach (XmlNode itNode in itNodeList)
  78 + {
  79 + string imageFolder = itNode.Attributes["sktn"].Value.ToString() + "_" + itNode.Attributes["fl"].Value.ToString();
  80 + string imageFolderPath = navigatorManFolder + @"\" + imageFolder + @"\";
  81 +
  82 + if (Directory.Exists(imageFolderPath))
  83 + {
  84 +
  85 + Console.WriteLine("imageFolderPath: " + imageFolderPath + " is already created");
  86 +
  87 +
  88 +
  89 + }
  90 + else
  91 + {
  92 +
  93 + DirectoryInfo bodyRegionDr = Directory.CreateDirectory(imageFolderPath);
  94 + //XmlNode artNode = itNode.SelectSingleNode("it");
  95 + //string skinToneName = artNode.Attributes["sktn"].Value.ToString();
  96 + //DirectoryInfo skinToneDr = Directory.CreateDirectory(imageFolderPath + skinToneName);
  97 + string imageFileName = itNode.Attributes["oId"].Value.ToString();
  98 + string imageFileSourcePath = @"I:\100-PROJECTS\400-DEVELOPMENT\ADAMEduAIA\Flex\v107\content\en_US\" + imageFileName;
  99 +
  100 + string skinToneDirectoryPath = imageFolderPath + imageFileName;
  101 + if (File.Exists(imageFileSourcePath))
  102 + {
  103 + File.Copy(imageFileSourcePath, skinToneDirectoryPath);
  104 + }
  105 + else
  106 + {
  107 + System.IO.File.WriteAllText("~/logs/imageNotFound_" + System.DateTime.Now.ToString("MMddyyyy") + ".txt", "not found at :" + imageFileSourcePath + " for l;ayer no: " + folderName + " Body Region Id: ");
  108 + }
  109 + }
  110 +
  111 +
  112 + }
  113 + }
  114 + }
  115 + }
  116 + // }
  117 + }
  118 + MessageBox.Show("Congratulations !! you have successfully imported all images for xml : " + path);
  119 + }
  120 + }
  121 + }
  122 +}
  123 +
0 124 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/NavigatorManForm.resx 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<root>
  3 + <!--
  4 + Microsoft ResX Schema
  5 +
  6 + Version 2.0
  7 +
  8 + The primary goals of this format is to allow a simple XML format
  9 + that is mostly human readable. The generation and parsing of the
  10 + various data types are done through the TypeConverter classes
  11 + associated with the data types.
  12 +
  13 + Example:
  14 +
  15 + ... ado.net/XML headers & schema ...
  16 + <resheader name="resmimetype">text/microsoft-resx</resheader>
  17 + <resheader name="version">2.0</resheader>
  18 + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
  19 + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
  20 + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
  21 + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
  22 + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
  23 + <value>[base64 mime encoded serialized .NET Framework object]</value>
  24 + </data>
  25 + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
  26 + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
  27 + <comment>This is a comment</comment>
  28 + </data>
  29 +
  30 + There are any number of "resheader" rows that contain simple
  31 + name/value pairs.
  32 +
  33 + Each data row contains a name, and value. The row also contains a
  34 + type or mimetype. Type corresponds to a .NET class that support
  35 + text/value conversion through the TypeConverter architecture.
  36 + Classes that don't support this are serialized and stored with the
  37 + mimetype set.
  38 +
  39 + The mimetype is used for serialized objects, and tells the
  40 + ResXResourceReader how to depersist the object. This is currently not
  41 + extensible. For a given mimetype the value must be set accordingly:
  42 +
  43 + Note - application/x-microsoft.net.object.binary.base64 is the format
  44 + that the ResXResourceWriter will generate, however the reader can
  45 + read any of the formats listed below.
  46 +
  47 + mimetype: application/x-microsoft.net.object.binary.base64
  48 + value : The object must be serialized with
  49 + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
  50 + : and then encoded with base64 encoding.
  51 +
  52 + mimetype: application/x-microsoft.net.object.soap.base64
  53 + value : The object must be serialized with
  54 + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
  55 + : and then encoded with base64 encoding.
  56 +
  57 + mimetype: application/x-microsoft.net.object.bytearray.base64
  58 + value : The object must be serialized into a byte array
  59 + : using a System.ComponentModel.TypeConverter
  60 + : and then encoded with base64 encoding.
  61 + -->
  62 + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  63 + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
  64 + <xsd:element name="root" msdata:IsDataSet="true">
  65 + <xsd:complexType>
  66 + <xsd:choice maxOccurs="unbounded">
  67 + <xsd:element name="metadata">
  68 + <xsd:complexType>
  69 + <xsd:sequence>
  70 + <xsd:element name="value" type="xsd:string" minOccurs="0" />
  71 + </xsd:sequence>
  72 + <xsd:attribute name="name" use="required" type="xsd:string" />
  73 + <xsd:attribute name="type" type="xsd:string" />
  74 + <xsd:attribute name="mimetype" type="xsd:string" />
  75 + <xsd:attribute ref="xml:space" />
  76 + </xsd:complexType>
  77 + </xsd:element>
  78 + <xsd:element name="assembly">
  79 + <xsd:complexType>
  80 + <xsd:attribute name="alias" type="xsd:string" />
  81 + <xsd:attribute name="name" type="xsd:string" />
  82 + </xsd:complexType>
  83 + </xsd:element>
  84 + <xsd:element name="data">
  85 + <xsd:complexType>
  86 + <xsd:sequence>
  87 + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
  88 + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
  89 + </xsd:sequence>
  90 + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
  91 + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
  92 + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
  93 + <xsd:attribute ref="xml:space" />
  94 + </xsd:complexType>
  95 + </xsd:element>
  96 + <xsd:element name="resheader">
  97 + <xsd:complexType>
  98 + <xsd:sequence>
  99 + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
  100 + </xsd:sequence>
  101 + <xsd:attribute name="name" type="xsd:string" use="required" />
  102 + </xsd:complexType>
  103 + </xsd:element>
  104 + </xsd:choice>
  105 + </xsd:complexType>
  106 + </xsd:element>
  107 + </xsd:schema>
  108 + <resheader name="resmimetype">
  109 + <value>text/microsoft-resx</value>
  110 + </resheader>
  111 + <resheader name="version">
  112 + <value>2.0</value>
  113 + </resheader>
  114 + <resheader name="reader">
  115 + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  116 + </resheader>
  117 + <resheader name="writer">
  118 + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  119 + </resheader>
  120 +</root>
0 121 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/Program.cs 0 → 100644
  1 +using System;
  2 +using System.Collections.Generic;
  3 +using System.Linq;
  4 +using System.Threading.Tasks;
  5 +using System.Windows.Forms;
  6 +
  7 +namespace AIAWindowsUtility
  8 +{
  9 + static class Program
  10 + {
  11 + /// <summary>
  12 + /// The main entry point for the application.
  13 + /// </summary>
  14 + [STAThread]
  15 + static void Main()
  16 + {
  17 + Application.EnableVisualStyles();
  18 + Application.SetCompatibleTextRenderingDefault(false);
  19 + Application.Run(new DissectibleLayerForm());
  20 + }
  21 + }
  22 +}
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/Properties/AssemblyInfo.cs 0 → 100644
  1 +using System.Reflection;
  2 +using System.Runtime.CompilerServices;
  3 +using System.Runtime.InteropServices;
  4 +
  5 +// General Information about an assembly is controlled through the following
  6 +// set of attributes. Change these attribute values to modify the information
  7 +// associated with an assembly.
  8 +[assembly: AssemblyTitle("AIAWindowsUtility")]
  9 +[assembly: AssemblyDescription("")]
  10 +[assembly: AssemblyConfiguration("")]
  11 +[assembly: AssemblyCompany("Hewlett-Packard Company")]
  12 +[assembly: AssemblyProduct("AIAWindowsUtility")]
  13 +[assembly: AssemblyCopyright("Copyright © Hewlett-Packard Company 2015")]
  14 +[assembly: AssemblyTrademark("")]
  15 +[assembly: AssemblyCulture("")]
  16 +
  17 +// Setting ComVisible to false makes the types in this assembly not visible
  18 +// to COM components. If you need to access a type in this assembly from
  19 +// COM, set the ComVisible attribute to true on that type.
  20 +[assembly: ComVisible(false)]
  21 +
  22 +// The following GUID is for the ID of the typelib if this project is exposed to COM
  23 +[assembly: Guid("abf8a29c-7ae0-474f-af6c-01c80f44e697")]
  24 +
  25 +// Version information for an assembly consists of the following four values:
  26 +//
  27 +// Major Version
  28 +// Minor Version
  29 +// Build Number
  30 +// Revision
  31 +//
  32 +// You can specify all the values or you can default the Build and Revision Numbers
  33 +// by using the '*' as shown below:
  34 +// [assembly: AssemblyVersion("1.0.*")]
  35 +[assembly: AssemblyVersion("1.0.0.0")]
  36 +[assembly: AssemblyFileVersion("1.0.0.0")]
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/Properties/Resources.Designer.cs 0 → 100644
  1 +//------------------------------------------------------------------------------
  2 +// <auto-generated>
  3 +// This code was generated by a tool.
  4 +// Runtime Version:4.0.30319.42000
  5 +//
  6 +// Changes to this file may cause incorrect behavior and will be lost if
  7 +// the code is regenerated.
  8 +// </auto-generated>
  9 +//------------------------------------------------------------------------------
  10 +
  11 +namespace AIAWindowsUtility.Properties
  12 +{
  13 +
  14 +
  15 + /// <summary>
  16 + /// A strongly-typed resource class, for looking up localized strings, etc.
  17 + /// </summary>
  18 + // This class was auto-generated by the StronglyTypedResourceBuilder
  19 + // class via a tool like ResGen or Visual Studio.
  20 + // To add or remove a member, edit your .ResX file then rerun ResGen
  21 + // with the /str option, or rebuild your VS project.
  22 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
  23 + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  24 + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  25 + internal class Resources
  26 + {
  27 +
  28 + private static global::System.Resources.ResourceManager resourceMan;
  29 +
  30 + private static global::System.Globalization.CultureInfo resourceCulture;
  31 +
  32 + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
  33 + internal Resources()
  34 + {
  35 + }
  36 +
  37 + /// <summary>
  38 + /// Returns the cached ResourceManager instance used by this class.
  39 + /// </summary>
  40 + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  41 + internal static global::System.Resources.ResourceManager ResourceManager
  42 + {
  43 + get
  44 + {
  45 + if ((resourceMan == null))
  46 + {
  47 + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AIAWindowsUtility.Properties.Resources", typeof(Resources).Assembly);
  48 + resourceMan = temp;
  49 + }
  50 + return resourceMan;
  51 + }
  52 + }
  53 +
  54 + /// <summary>
  55 + /// Overrides the current thread's CurrentUICulture property for all
  56 + /// resource lookups using this strongly typed resource class.
  57 + /// </summary>
  58 + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  59 + internal static global::System.Globalization.CultureInfo Culture
  60 + {
  61 + get
  62 + {
  63 + return resourceCulture;
  64 + }
  65 + set
  66 + {
  67 + resourceCulture = value;
  68 + }
  69 + }
  70 + }
  71 +}
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/Properties/Resources.resx 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<root>
  3 + <!--
  4 + Microsoft ResX Schema
  5 +
  6 + Version 2.0
  7 +
  8 + The primary goals of this format is to allow a simple XML format
  9 + that is mostly human readable. The generation and parsing of the
  10 + various data types are done through the TypeConverter classes
  11 + associated with the data types.
  12 +
  13 + Example:
  14 +
  15 + ... ado.net/XML headers & schema ...
  16 + <resheader name="resmimetype">text/microsoft-resx</resheader>
  17 + <resheader name="version">2.0</resheader>
  18 + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
  19 + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
  20 + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
  21 + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
  22 + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
  23 + <value>[base64 mime encoded serialized .NET Framework object]</value>
  24 + </data>
  25 + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
  26 + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
  27 + <comment>This is a comment</comment>
  28 + </data>
  29 +
  30 + There are any number of "resheader" rows that contain simple
  31 + name/value pairs.
  32 +
  33 + Each data row contains a name, and value. The row also contains a
  34 + type or mimetype. Type corresponds to a .NET class that support
  35 + text/value conversion through the TypeConverter architecture.
  36 + Classes that don't support this are serialized and stored with the
  37 + mimetype set.
  38 +
  39 + The mimetype is used for serialized objects, and tells the
  40 + ResXResourceReader how to depersist the object. This is currently not
  41 + extensible. For a given mimetype the value must be set accordingly:
  42 +
  43 + Note - application/x-microsoft.net.object.binary.base64 is the format
  44 + that the ResXResourceWriter will generate, however the reader can
  45 + read any of the formats listed below.
  46 +
  47 + mimetype: application/x-microsoft.net.object.binary.base64
  48 + value : The object must be serialized with
  49 + : System.Serialization.Formatters.Binary.BinaryFormatter
  50 + : and then encoded with base64 encoding.
  51 +
  52 + mimetype: application/x-microsoft.net.object.soap.base64
  53 + value : The object must be serialized with
  54 + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
  55 + : and then encoded with base64 encoding.
  56 +
  57 + mimetype: application/x-microsoft.net.object.bytearray.base64
  58 + value : The object must be serialized into a byte array
  59 + : using a System.ComponentModel.TypeConverter
  60 + : and then encoded with base64 encoding.
  61 + -->
  62 + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  63 + <xsd:element name="root" msdata:IsDataSet="true">
  64 + <xsd:complexType>
  65 + <xsd:choice maxOccurs="unbounded">
  66 + <xsd:element name="metadata">
  67 + <xsd:complexType>
  68 + <xsd:sequence>
  69 + <xsd:element name="value" type="xsd:string" minOccurs="0" />
  70 + </xsd:sequence>
  71 + <xsd:attribute name="name" type="xsd:string" />
  72 + <xsd:attribute name="type" type="xsd:string" />
  73 + <xsd:attribute name="mimetype" type="xsd:string" />
  74 + </xsd:complexType>
  75 + </xsd:element>
  76 + <xsd:element name="assembly">
  77 + <xsd:complexType>
  78 + <xsd:attribute name="alias" type="xsd:string" />
  79 + <xsd:attribute name="name" type="xsd:string" />
  80 + </xsd:complexType>
  81 + </xsd:element>
  82 + <xsd:element name="data">
  83 + <xsd:complexType>
  84 + <xsd:sequence>
  85 + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
  86 + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
  87 + </xsd:sequence>
  88 + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
  89 + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
  90 + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
  91 + </xsd:complexType>
  92 + </xsd:element>
  93 + <xsd:element name="resheader">
  94 + <xsd:complexType>
  95 + <xsd:sequence>
  96 + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
  97 + </xsd:sequence>
  98 + <xsd:attribute name="name" type="xsd:string" use="required" />
  99 + </xsd:complexType>
  100 + </xsd:element>
  101 + </xsd:choice>
  102 + </xsd:complexType>
  103 + </xsd:element>
  104 + </xsd:schema>
  105 + <resheader name="resmimetype">
  106 + <value>text/microsoft-resx</value>
  107 + </resheader>
  108 + <resheader name="version">
  109 + <value>2.0</value>
  110 + </resheader>
  111 + <resheader name="reader">
  112 + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  113 + </resheader>
  114 + <resheader name="writer">
  115 + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  116 + </resheader>
  117 +</root>
0 118 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/Properties/Settings.Designer.cs 0 → 100644
  1 +//------------------------------------------------------------------------------
  2 +// <auto-generated>
  3 +// This code was generated by a tool.
  4 +// Runtime Version:4.0.30319.42000
  5 +//
  6 +// Changes to this file may cause incorrect behavior and will be lost if
  7 +// the code is regenerated.
  8 +// </auto-generated>
  9 +//------------------------------------------------------------------------------
  10 +
  11 +namespace AIAWindowsUtility.Properties
  12 +{
  13 +
  14 +
  15 + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  16 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
  17 + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
  18 + {
  19 +
  20 + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
  21 +
  22 + public static Settings Default
  23 + {
  24 + get
  25 + {
  26 + return defaultInstance;
  27 + }
  28 + }
  29 + }
  30 +}
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/Properties/Settings.settings 0 → 100644
  1 +<?xml version='1.0' encoding='utf-8'?>
  2 +<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
  3 + <Profiles>
  4 + <Profile Name="(Default)" />
  5 + </Profiles>
  6 + <Settings />
  7 +</SettingsFile>
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/1046_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/1047_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/1048_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/1154_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/1586_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/1587_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/1933_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/2800_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/2801_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/2802_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/3979_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/4748_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/4749_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/4750_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/4910_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/5468_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/5469_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/5470_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/5904_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/82_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/83_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/84_mci.png_bck 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/AIAWindowsUtility.exe 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/AIAWindowsUtility.exe.config 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8" ?>
  2 +<configuration>
  3 + <startup>
  4 + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  5 + </startup>
  6 +</configuration>
0 7 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/AIAWindowsUtility.pdb 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/AIAWindowsUtility.vshost.exe 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/AIAWindowsUtility.vshost.exe.config 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8" ?>
  2 +<configuration>
  3 + <startup>
  4 + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  5 + </startup>
  6 +</configuration>
0 7 \ No newline at end of file
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/bin/Debug/AIAWindowsUtility.vshost.exe.manifest 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2 +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  3 + <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
  4 + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
  5 + <security>
  6 + <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
  7 + <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
  8 + </requestedPrivileges>
  9 + </security>
  10 + </trustInfo>
  11 +</assembly>
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.DissectibleLayerForm.resources 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.MaskImagesImport.resources 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.NavigatorManForm.resources 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.Properties.Resources.resources 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.csproj.FileListAbsolute.txt 0 → 100644
  1 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\bin\Debug\AIAWindowsUtility.exe.config
  2 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\obj\Debug\AIAWindowsUtility.Properties.Resources.resources
  3 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\obj\Debug\AIAWindowsUtility.csproj.GenerateResource.Cache
  4 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\bin\Debug\AIAWindowsUtility.exe
  5 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\bin\Debug\AIAWindowsUtility.pdb
  6 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\obj\Debug\AIAWindowsUtility.exe
  7 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\obj\Debug\AIAWindowsUtility.pdb
  8 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\obj\Debug\AIAWindowsUtility.DissectibleLayerForm.resources
  9 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\obj\Debug\AIAWindowsUtility.NavigatorManForm.resources
  10 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\obj\Debug\AIAWindowsUtility.MaskImagesImport.resources
  11 +I:\100-PROJECTS\400-DEVELOPMENT\AIAWindowsUtility\AIAWindowsUtility\obj\Debug\AIAWindowsUtility.csprojResolveAssemblyReference.cache
... ...
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.csproj.GenerateResource.Cache 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.csprojResolveAssemblyReference.cache 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.exe 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/AIAWindowsUtility.pdb 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/DesignTimeResolveAssemblyReferences.cache 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache 0 → 100644
No preview for this file type
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0 → 100644
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0 → 100644
350-UTILITIES/ExtractImages/AIAWindowsUtility/AIAWindowsUtility/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0 → 100644
.gitignore renamed to 400-SOURCECODE/.gitignore
1   -# git ignore file
2   -[Bb]in/
3   -[Dd]ebug*/
4   -*.lib
5   -Thumbs.db
6   -obj/
7   -*.obj
8   -*.exe
9   -*.pdb
10   -*.user
11   -*.aps
12   -*.pch
13   -*.vspscc
14   -*_i.c
15   -*_p.c
16   -*.ncb
17   -*.suo
18   -*.sln.docstates
19   -*.tlb
20   -*.tlh
21   -*.bak
22   -*.cache
23   -*.ilk
24   -*.log
25   -400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj
  1 +# git ignore file
  2 +[Bb]in/
  3 +[Dd]ebug*/
  4 +*.lib
  5 +Thumbs.db
  6 +obj/
  7 +*.obj
  8 +*.exe
  9 +*.pdb
  10 +*.user
  11 +*.aps
  12 +*.pch
  13 +*.vspscc
  14 +*_i.c
  15 +*_p.c
  16 +*.ncb
  17 +*.suo
  18 +*.sln.docstates
  19 +*.tlb
  20 +*.tlh
  21 +*.bak
  22 +*.cache
  23 +*.ilk
  24 +*.log
  25 +400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj
26 26 400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj.user
... ...
400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj.user
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 3 <PropertyGroup>
4   - <ProjectView>ShowAllFiles</ProjectView>
  4 + <ProjectView>ProjectFiles</ProjectView>
5 5 </PropertyGroup>
6 6 <ProjectExtensions>
7 7 <VisualStudio>
... ...
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -1183,6 +1183,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1183 1183  
1184 1184 };
1185 1185  
  1186 + $scope.HighLightBody = function()
  1187 + {
  1188 + alert('Please Dont highLight me');
  1189 + }
1186 1190  
1187 1191 function positionTooltip(event, x, y) {
1188 1192 // alert('positionTooltip')
... ...
400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html
... ... @@ -18,7 +18,7 @@
18 18 <button class="btn btn-black btn-sm pull-right marginTop5"><img src="content/images/bulb1.png" alt="" title=""></button>
19 19 </div>
20 20 <div class="col-sm-6" title="Highlight">
21   - <button class="btn btn-black btn-sm marginTop5"> <img src="content/images/bulb.png" alt="" title=""></button>
  21 + <button class="btn btn-black btn-sm marginTop5" ng-click="HighLightBody()"> <img src="content/images/bulb.png" alt="" title=""></button>
22 22 </div>
23 23 <div class="col-sm-6 dropdown" title="Highlight Options">
24 24 <button class="btn btn-black btn-sm pull-right marginTop5 dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"><img src="content/images/icon-highlight.png" alt="" title=""></button>
... ...