Creates a meta file used to generate a Complete RO Report
This commit is contained in:
parent
b9c6d317c7
commit
80ba48f0f9
BIN
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/App.ico
Normal file
BIN
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/App.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
100
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/AssemblyInfo.cs
Normal file
100
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/AssemblyInfo.cs
Normal file
@ -0,0 +1,100 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly: AssemblyTitle("CmpRpt")]
|
||||
[assembly: AssemblyDescription("Get RO info for Complete RO Report")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Volian Enterprises Inc")]
|
||||
[assembly: AssemblyProduct("PROMS")]
|
||||
[assembly: AssemblyCopyright("2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("1.1.*")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
// Microsoft .NET Framework documentation for more information on assembly signing.
|
||||
//
|
||||
// Use the attributes below to control which key is used for signing.
|
||||
//
|
||||
// Notes:
|
||||
// (*) If no key is specified, the assembly is not signed.
|
||||
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
||||
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
||||
// a key.
|
||||
// (*) If the KeyFile and the KeyName values are both specified, the
|
||||
// following processing occurs:
|
||||
// (1) If the KeyName can be found in the CSP, that key is used.
|
||||
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
||||
// in the KeyFile is installed into the CSP and used.
|
||||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
||||
// When specifying the KeyFile, the location of the KeyFile should be
|
||||
// relative to the project output directory which is
|
||||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
||||
// located in the project directory, you would specify the AssemblyKeyFile
|
||||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
||||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
||||
// documentation for more information on this.
|
||||
//
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
248
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.cs
Normal file
248
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.cs
Normal file
@ -0,0 +1,248 @@
|
||||
/*********************************************************************************************
|
||||
* Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
|
||||
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||
* ------------------------------------------------------------------------------
|
||||
* $Workfile: CmpRpt.cs $ $Revision: 3 $
|
||||
* $Author: Jsj $ $Date: 6/08/05 4:31p $
|
||||
*
|
||||
* $History: CmpRpt.cs $
|
||||
*
|
||||
* ***************** Version 3 *****************
|
||||
* User: Jsj Date: 6/08/05 Time: 4:31p
|
||||
* Updated in $/EXE/RefObj/CmpRpt
|
||||
* cleanup
|
||||
*
|
||||
* ***************** Version 2 *****************
|
||||
* User: Jsj Date: 1/08/04 Time: 2:51p
|
||||
* Updated in $/EXE/RefObj/CmpRpt
|
||||
* constructor of RODB() class changed
|
||||
*
|
||||
* ***************** Version 1 *****************
|
||||
* User: Kathy Date: 11/11/02 Time: 7:17a
|
||||
* Created in $/EXE/RefObj/CmpRpt
|
||||
*********************************************************************************************/
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using System.Data;
|
||||
using RODBInterface;
|
||||
|
||||
|
||||
// CmpRpt reads data for the RO database and puts the data into the
|
||||
// temporary file, 'print.tmp'. After this, it is sorted and printed.
|
||||
namespace CmpRpt
|
||||
{
|
||||
// Form1 just acts as the container for this app.
|
||||
public class Form1 : System.Windows.Forms.Form
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.Container components = null;
|
||||
|
||||
public Form1()
|
||||
{
|
||||
//
|
||||
// Required for Windows Form Designer support
|
||||
//
|
||||
InitializeComponent();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
protected override void Dispose( bool disposing )
|
||||
{
|
||||
if( disposing )
|
||||
{
|
||||
if (components != null)
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose( disposing );
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||||
this.ClientSize = new System.Drawing.Size(292, 273);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Form1";
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main(string[] args)
|
||||
{
|
||||
if (args.Length <= 0) return; // nothing to do
|
||||
bool success;
|
||||
VlnXmlElement rootXml;
|
||||
VlnXmlDocument myroXmlDoc;
|
||||
string recid=null;
|
||||
string tbl=null;
|
||||
RODB myrodb=null;
|
||||
|
||||
// the next two lists contain group headers for the reports.
|
||||
ArrayList headers = new ArrayList();
|
||||
ArrayList reversehdrs = new ArrayList();
|
||||
|
||||
//if (args.Length <= 0) return;
|
||||
//// if an RO directory path was passed in, then change the
|
||||
//// current working directory to it.
|
||||
//// this path will also be used to generate a connection string
|
||||
//// for the Access database.
|
||||
//if (args.Length == 2)
|
||||
//{
|
||||
// // MessageBox.Show(args[1],"args[1]");
|
||||
// string path = args[0];
|
||||
// Directory.SetCurrentDirectory(path);
|
||||
// tbl = args[1].Substring(0, 4);
|
||||
// //tbl = args[1].Substring(13,4);
|
||||
// // recid = args[1].Substring(17,8);
|
||||
// if (args[1].Length > 4)
|
||||
// recid = args[1].Substring(4, 8);
|
||||
// // myrodb = new RODB(path);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// tbl = args[0].Substring(0, 4);
|
||||
// recid = args[0].Substring(4, 8);
|
||||
// // myrodb = new RODB(Directory.GetCurrentDirectory());
|
||||
//}
|
||||
/******/
|
||||
// if an RO directory path was passed in, then change the
|
||||
// current working directory to it.
|
||||
// this path will also be used to generate a connection string
|
||||
// for the Access database.
|
||||
string roIdArg = BuildROList(args);
|
||||
string[] roIDList = roIdArg.Split(',');
|
||||
if (args.Length == 2)
|
||||
{
|
||||
string path = args[0];
|
||||
Directory.SetCurrentDirectory(path);
|
||||
}
|
||||
myrodb = new RODB(Directory.GetCurrentDirectory());
|
||||
VlnXmlElement rptele=null;
|
||||
|
||||
// Add the root to the tree
|
||||
myroXmlDoc = myrodb.RODB_GetRoot();
|
||||
|
||||
rootXml = (VlnXmlElement) myroXmlDoc.FirstChild;
|
||||
success = myrodb.RODB_GetRootGroups(rootXml);
|
||||
if (success == false) return;
|
||||
|
||||
foreach (string roid in roIDList)
|
||||
{
|
||||
tbl = roid.Substring(0, 4);
|
||||
recid = (roid.Length > 4) ? roid.Substring(4, 8) : null;
|
||||
|
||||
// if the table & recid = all zeros, we have a request
|
||||
// for all ROs, otherwise it's a request for specific RO(s)
|
||||
if (tbl == "0000" && recid != null && recid == "00000000")
|
||||
{
|
||||
// the report element becomes the root.
|
||||
rptele = rootXml;
|
||||
}
|
||||
else
|
||||
{
|
||||
// from the input tbl string, get a table name.
|
||||
int itbl = System.Convert.ToInt32(tbl, 16);
|
||||
string stbl = System.Convert.ToString(itbl, 10);
|
||||
string pstbl = stbl.PadLeft(6, '0');
|
||||
string tbname = "RO" + pstbl;
|
||||
|
||||
// read in this element from the table.
|
||||
rptele = myrodb.RODB_ReadRO(tbname, recid);
|
||||
|
||||
VlnXmlElement parent;
|
||||
string parentid;
|
||||
parentid = rptele.GetAttribute("ParentID");
|
||||
string rpteleParentid = parentid;
|
||||
|
||||
// walk up tree to get the path through the tree.
|
||||
VlnXmlElement child = rptele;
|
||||
while (parentid != null && parentid != "00000000")
|
||||
{
|
||||
parent = myrodb.RODB_ReadRO(tbname, parentid);
|
||||
if (parent != null)
|
||||
{
|
||||
parentid = parent.GetAttribute("ParentID");
|
||||
if (parentid == "00000000")
|
||||
{
|
||||
reversehdrs.Add(parent.InnerText);
|
||||
break;
|
||||
}
|
||||
parent.AppendChild(child);
|
||||
child = parent;
|
||||
reversehdrs.Add(parent.GetAttribute("MenuTitle"));
|
||||
}
|
||||
else
|
||||
parentid = null;
|
||||
}
|
||||
|
||||
// Now hook this into the top part of tree by looking at the table
|
||||
// names.
|
||||
VlnXmlElement group = (VlnXmlElement)rootXml.FirstChild;
|
||||
while (group != null)
|
||||
{
|
||||
string curtbname = group.GetAttribute("Table");
|
||||
// hook it in here.
|
||||
if (curtbname == tbname)
|
||||
{
|
||||
if (rpteleParentid != "00000000")
|
||||
group.AppendChild(child);
|
||||
else // if this is a top group, just reset rept ele
|
||||
rptele = group;
|
||||
break;
|
||||
}
|
||||
group = (VlnXmlElement)group.NextSibling;
|
||||
}
|
||||
// Set up the headers array, it's in reverse order since we walked
|
||||
// up the tree, not down.
|
||||
int cnt = reversehdrs.Count;
|
||||
for (int i = cnt - 1; i >= 0; i--)
|
||||
headers.Add(reversehdrs[i]);
|
||||
}
|
||||
rptele.Show(myrodb,headers);
|
||||
headers.Clear();
|
||||
reversehdrs.Clear();
|
||||
}// end foreach roid
|
||||
|
||||
}
|
||||
|
||||
private static string BuildROList(string[] args)
|
||||
{
|
||||
string parm2 = args[args.Length - 1];
|
||||
string roIdArg = null;
|
||||
if (parm2.StartsWith("/f="))
|
||||
{
|
||||
FileInfo fi = new FileInfo(parm2.Substring(3));
|
||||
using (StreamReader sr = fi.OpenText())
|
||||
{
|
||||
roIdArg = sr.ReadToEnd();
|
||||
sr.Close();
|
||||
}
|
||||
}
|
||||
else
|
||||
roIdArg = parm2;
|
||||
return roIdArg;
|
||||
}
|
||||
}
|
||||
}
|
157
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.csproj
Normal file
157
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.csproj
Normal file
@ -0,0 +1,157 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{C4293263-EA9C-11D6-8515-00A0CC271352}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon>App.ico</ApplicationIcon>
|
||||
<AssemblyKeyContainerName>
|
||||
</AssemblyKeyContainerName>
|
||||
<AssemblyName>CmpRpt</AssemblyName>
|
||||
<AssemblyOriginatorKeyFile>
|
||||
</AssemblyOriginatorKeyFile>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>CmpRpt</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<StartupObject>CmpRpt.Form1</StartupObject>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<SccProjectName>SAK</SccProjectName>
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<OutputPath>..\..\..\..\VEPROMS User Interface\bin\Debug\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\..\..\..\Ve-proms.net\BIN\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>..\..\..\..\VEPROMS User Interface\bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>
|
||||
</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DBEncapsulation">
|
||||
<Name>DBEncapsulation</Name>
|
||||
<HintPath>..\..\..\LibSource\DBEncapsulation\bin\Debug\DBEncapsulation.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="RODBInterface">
|
||||
<Name>RODBInterface</Name>
|
||||
<HintPath>..\..\..\LibSource\RODBInterface\bin\Debug\RODBInterface.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing">
|
||||
<Name>System.Drawing</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Windows.Forms">
|
||||
<Name>System.Windows.Forms</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
<Reference Include="VlnStatus">
|
||||
<Name>VlnStatus</Name>
|
||||
<HintPath>..\..\..\LibSource\VlnStatus\bin\Debug\VlnStatus.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="FixRev.Bat" />
|
||||
<Content Include="App.ico" />
|
||||
<Compile Include="AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CmpRpt.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="CmpRpt.resx">
|
||||
<DependentUpon>CmpRpt.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\LibSource\ROField\ROFields.csproj">
|
||||
<Project>{0C782592-AA05-11D6-84D1-00A0CC271352}</Project>
|
||||
<Name>ROFields</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>cmd /c "$(ProjectDir)FixRev.bat"</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -0,0 +1,10 @@
|
||||
""
|
||||
{
|
||||
"FILE_VERSION" = "9237"
|
||||
"ENLISTMENT_CHOICE" = "NEVER"
|
||||
"PROJECT_FILE_RELATIVE_PATH" = "relative:Exe\\RefObj\\CmpRpt"
|
||||
"NUMBER_OF_EXCLUDED_FILES" = "0"
|
||||
"ORIGINAL_PROJECT_FILE_PATH" = ""
|
||||
"NUMBER_OF_NESTED_PROJECTS" = "0"
|
||||
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
|
||||
}
|
102
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.resx
Normal file
102
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/CmpRpt.resx
Normal file
@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 1.3
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">1.3</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1">this is my long string</data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
[base64 mime encoded serialized .NET Framework object]
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
[base64 mime encoded string representing a byte array form of the .NET Framework object]
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>1.3</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="$this.Name">
|
||||
<value>Form1</value>
|
||||
</data>
|
||||
</root>
|
4
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/FixRev.Bat
Normal file
4
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/FixRev.Bat
Normal file
@ -0,0 +1,4 @@
|
||||
PUSHD ..\..\..\ReferencedObjects\Exe\RefObj\CmpRpt"
|
||||
"..\..\..\..\AdjustBuildRevision\bin\Debug\AdjustBuildRevision" "%CD%\AssemblyInfo.cs"
|
||||
POPD
|
||||
pause
|
6
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/app.config
Normal file
6
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/app.config
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
</startup><runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705">
|
||||
</assemblyBinding></runtime></configuration>
|
Loading…
x
Reference in New Issue
Block a user