Commit for development environment setup
This commit is contained in:
136
PROMS/VEPROMS/PrintMSWordxxx/App.config
Normal file
136
PROMS/VEPROMS/PrintMSWordxxx/App.config
Normal file
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||
<section name="VEPROMS.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
<section name="UISampleNetBar1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<log4net>
|
||||
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
||||
<param name="File" value="LogTest2.txt" />
|
||||
<param name="AppendToFile" value="false" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<!--<param name="Header" value="[Header]\r\n" />-->
|
||||
<!--<param name="Footer" value="[Footer]\r\n" />-->
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="--> %date [%thread] %-5level %logger (%property{log4net:HostName}) [%ndc] - %message%newline"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender">
|
||||
<threshold value="WARN" />
|
||||
<mapping>
|
||||
<level value="DEBUG" />
|
||||
<eventLogEntryType value="Information" />
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="INFO" />
|
||||
<eventLogEntryType value="Information" />
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="WARN" />
|
||||
<eventLogEntryType value="Warning" />
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="ERROR" />
|
||||
<eventLogEntryType value="Error" />
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="FATAL" />
|
||||
<eventLogEntryType value="Error" />
|
||||
</mapping>
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<param name="ConversionPattern" value="---> %d [%t] %-5p %c - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
<appender-ref ref="LogFileAppender" />
|
||||
<appender-ref ref="EventLogAppender" />
|
||||
</root>
|
||||
<logger name="VEPROMS.CSLA.Library">
|
||||
<level value="INFO" />
|
||||
</logger>
|
||||
<logger name="Volian.Controls.Library">
|
||||
<level value="INFO" />
|
||||
</logger>
|
||||
</log4net>
|
||||
<appSettings>
|
||||
<add key="CslaAuthentication" value="Windows" />
|
||||
<!--
|
||||
<add key="CslaDataPortalProxy"
|
||||
value="Csla.DataPortalClient.RemotingProxy, Csla"/>
|
||||
<add key="CslaDataPortalUrl"
|
||||
value="http://localhost/Proms2010RemotingHost/RemotingPortal.rem"/>
|
||||
<add key="CslaDataPortalProxy"
|
||||
value="Csla.DataPortalClient.RemotingProxy, Csla"/>
|
||||
<add key="CslaDataPortalUrl"
|
||||
value="http://rhmdesktop/Proms2010Remoting/RemotingPortal.rem"/>
|
||||
<add key="CslaDataPortalProxy"
|
||||
value="Csla.DataPortalClient.WebServicesProxy, Csla"/>
|
||||
<add key="CslaDataPortalUrl"
|
||||
value="http://localhost/VEPROMS_WebService/WebServicePortal.asmx"/>
|
||||
<add key="CslaDataPortalProxy"
|
||||
value="EnterpriseServicesHost.EnterpriseServicesProxy,
|
||||
EnterpriseServicesHost"/>
|
||||
-->
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<!--<add name="VEPROMS"
|
||||
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename="C:\VS2005Projects\VEPROMS_Database\VEPROMS_Data.mdf";Integrated Security=True;User Instance=True"
|
||||
providerName="System.Data.SqlClient" />-->
|
||||
<add name="VEPROMS"
|
||||
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VEPROMS;Integrated Security=True"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<!--add name="VEPROMS"
|
||||
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VEPROMS_20090505;Integrated Security=True"
|
||||
providerName="System.Data.SqlClient" /-->
|
||||
<!-- connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VEPROMS_HLPDOC_20071109;Integrated Security=True"
|
||||
providerName="System.Data.SqlClient" />-->
|
||||
<!--<add name="VEPROMS"
|
||||
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename="C:\VS2005Projects\VEPROMS_Data\VEPROMS.mdf";Integrated Security=True;User Instance=True"
|
||||
providerName="System.Data.SqlClient" />-->
|
||||
</connectionStrings>
|
||||
<userSettings>
|
||||
<VEPROMS.Properties.Settings>
|
||||
<setting name="ShowDefaultFolderProp" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="PropPageStyle" serializeAs="String">
|
||||
<value>1</value>
|
||||
</setting>
|
||||
<setting name="SystemColor" serializeAs="String">
|
||||
<value>2</value>
|
||||
</setting>
|
||||
<setting name="TransitionRangeColor" serializeAs="String">
|
||||
<value>192, 255, 255</value>
|
||||
</setting>
|
||||
<setting name="UseNameOnTreeNode" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="UseTitleOnTreeNode" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="WindowState" serializeAs="String">
|
||||
<value>Normal</value>
|
||||
</setting>
|
||||
<setting name="AutoPopUpAnnotations" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
</VEPROMS.Properties.Settings>
|
||||
<UISampleNetBar1.Properties.Settings>
|
||||
<setting name="ShowDefaultFolderProp" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="PropPageStyle" serializeAs="String">
|
||||
<value>1</value>
|
||||
</setting>
|
||||
</UISampleNetBar1.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
20
PROMS/VEPROMS/PrintMSWordxxx/Program.cs
Normal file
20
PROMS/VEPROMS/PrintMSWordxxx/Program.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace PrintMSWord
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new frmPrintMSWord());
|
||||
}
|
||||
}
|
||||
}
|
33
PROMS/VEPROMS/PrintMSWordxxx/Properties/AssemblyInfo.cs
Normal file
33
PROMS/VEPROMS/PrintMSWordxxx/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("PrintMSWord")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("PrintMSWord")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2009")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("3b56b3e7-fe71-4d89-9409-7cfd19c6d1d6")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
63
PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.Designer.cs
generated
Normal file
63
PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace PrintMSWord.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PrintMSWord.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
117
PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.resx
Normal file
117
PROMS/VEPROMS/PrintMSWordxxx/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
26
PROMS/VEPROMS/PrintMSWordxxx/Properties/Settings.Designer.cs
generated
Normal file
26
PROMS/VEPROMS/PrintMSWordxxx/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace PrintMSWord.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
278
PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.Designer.cs
generated
Normal file
278
PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.Designer.cs
generated
Normal file
@@ -0,0 +1,278 @@
|
||||
namespace PrintMSWord
|
||||
{
|
||||
partial class frmPrintMSWord
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.pDFToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.pDFsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.tspbStatus = new System.Windows.Forms.ToolStripProgressBar();
|
||||
this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.cbDebugOutput = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.tbTimings = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.cbWatermark = new System.Windows.Forms.ComboBox();
|
||||
this.tbRevDate = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tbRev = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.lbProcs = new System.Windows.Forms.ListBox();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem,
|
||||
this.pDFToolStripMenuItem,
|
||||
this.pDFsToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(844, 24);
|
||||
this.menuStrip1.TabIndex = 0;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.exitToolStripMenuItem});
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||
this.fileToolStripMenuItem.Text = "&File";
|
||||
//
|
||||
// exitToolStripMenuItem
|
||||
//
|
||||
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||
this.exitToolStripMenuItem.Size = new System.Drawing.Size(92, 22);
|
||||
this.exitToolStripMenuItem.Text = "E&xit";
|
||||
//
|
||||
// pDFToolStripMenuItem
|
||||
//
|
||||
this.pDFToolStripMenuItem.Name = "pDFToolStripMenuItem";
|
||||
this.pDFToolStripMenuItem.Size = new System.Drawing.Size(40, 20);
|
||||
this.pDFToolStripMenuItem.Text = "PDF";
|
||||
this.pDFToolStripMenuItem.Click += new System.EventHandler(this.pDFToolStripMenuItem_Click);
|
||||
//
|
||||
// pDFsToolStripMenuItem
|
||||
//
|
||||
this.pDFsToolStripMenuItem.Name = "pDFsToolStripMenuItem";
|
||||
this.pDFsToolStripMenuItem.Size = new System.Drawing.Size(45, 20);
|
||||
this.pDFsToolStripMenuItem.Text = "PDFs";
|
||||
this.pDFsToolStripMenuItem.Click += new System.EventHandler(this.pDFsToolStripMenuItem_Click);
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tspbStatus,
|
||||
this.tsslStatus});
|
||||
this.statusStrip1.Location = new System.Drawing.Point(0, 315);
|
||||
this.statusStrip1.Name = "statusStrip1";
|
||||
this.statusStrip1.Size = new System.Drawing.Size(844, 22);
|
||||
this.statusStrip1.TabIndex = 1;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
// tspbStatus
|
||||
//
|
||||
this.tspbStatus.Name = "tspbStatus";
|
||||
this.tspbStatus.Size = new System.Drawing.Size(100, 16);
|
||||
this.tspbStatus.Visible = false;
|
||||
//
|
||||
// tsslStatus
|
||||
//
|
||||
this.tsslStatus.Name = "tsslStatus";
|
||||
this.tsslStatus.Size = new System.Drawing.Size(39, 17);
|
||||
this.tsslStatus.Text = "Ready";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.cbDebugOutput);
|
||||
this.panel1.Controls.Add(this.tbTimings);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.cbWatermark);
|
||||
this.panel1.Controls.Add(this.tbRevDate);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.tbRev);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel1.Location = new System.Drawing.Point(485, 24);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(359, 291);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// cbDebugOutput
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.cbDebugOutput.BackgroundStyle.Class = "";
|
||||
this.cbDebugOutput.Checked = true;
|
||||
this.cbDebugOutput.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbDebugOutput.CheckValue = "Y";
|
||||
this.cbDebugOutput.Location = new System.Drawing.Point(8, 32);
|
||||
this.cbDebugOutput.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cbDebugOutput.Name = "cbDebugOutput";
|
||||
this.cbDebugOutput.Size = new System.Drawing.Size(110, 19);
|
||||
this.cbDebugOutput.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cbDebugOutput.TabIndex = 9;
|
||||
this.cbDebugOutput.Text = "Debug Output";
|
||||
//
|
||||
// tbTimings
|
||||
//
|
||||
this.tbTimings.AcceptsReturn = true;
|
||||
this.tbTimings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tbTimings.Location = new System.Drawing.Point(0, 56);
|
||||
this.tbTimings.Multiline = true;
|
||||
this.tbTimings.Name = "tbTimings";
|
||||
this.tbTimings.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.tbTimings.Size = new System.Drawing.Size(359, 235);
|
||||
this.tbTimings.TabIndex = 8;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(180, 32);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(59, 13);
|
||||
this.label3.TabIndex = 5;
|
||||
this.label3.Text = "Watermark";
|
||||
//
|
||||
// cbWatermark
|
||||
//
|
||||
this.cbWatermark.FormattingEnabled = true;
|
||||
this.cbWatermark.Items.AddRange(new object[] {
|
||||
"(None)",
|
||||
"Draft",
|
||||
"Master",
|
||||
"Sample",
|
||||
"Reference",
|
||||
"Information Only"});
|
||||
this.cbWatermark.Location = new System.Drawing.Point(245, 29);
|
||||
this.cbWatermark.Name = "cbWatermark";
|
||||
this.cbWatermark.Size = new System.Drawing.Size(100, 21);
|
||||
this.cbWatermark.TabIndex = 4;
|
||||
this.cbWatermark.Text = "(None)";
|
||||
//
|
||||
// tbRevDate
|
||||
//
|
||||
this.tbRevDate.AcceptsReturn = true;
|
||||
this.tbRevDate.Location = new System.Drawing.Point(245, 3);
|
||||
this.tbRevDate.Name = "tbRevDate";
|
||||
this.tbRevDate.Size = new System.Drawing.Size(100, 20);
|
||||
this.tbRevDate.TabIndex = 3;
|
||||
this.tbRevDate.Text = "07/27/10";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(180, 6);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(30, 13);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "Date";
|
||||
//
|
||||
// tbRev
|
||||
//
|
||||
this.tbRev.Location = new System.Drawing.Point(71, 3);
|
||||
this.tbRev.Name = "tbRev";
|
||||
this.tbRev.Size = new System.Drawing.Size(100, 20);
|
||||
this.tbRev.TabIndex = 1;
|
||||
this.tbRev.Text = "25";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(6, 6);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(27, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Rev";
|
||||
//
|
||||
// lbProcs
|
||||
//
|
||||
this.lbProcs.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbProcs.FormattingEnabled = true;
|
||||
this.lbProcs.Location = new System.Drawing.Point(0, 24);
|
||||
this.lbProcs.Name = "lbProcs";
|
||||
this.lbProcs.Size = new System.Drawing.Size(485, 290);
|
||||
this.lbProcs.TabIndex = 3;
|
||||
this.lbProcs.DoubleClick += new System.EventHandler(this.lbProcs_DoubleClick);
|
||||
//
|
||||
// frmPrintMSWord
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(844, 337);
|
||||
this.Controls.Add(this.lbProcs);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Name = "frmPrintMSWord";
|
||||
this.Text = "PrintMSWord";
|
||||
this.Load += new System.EventHandler(this.frmPrintMSWord_Load);
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.statusStrip1.ResumeLayout(false);
|
||||
this.statusStrip1.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem pDFToolStripMenuItem;
|
||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.ListBox lbProcs;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ComboBox cbWatermark;
|
||||
private System.Windows.Forms.TextBox tbRevDate;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox tbRev;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox tbTimings;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbDebugOutput;
|
||||
private System.Windows.Forms.ToolStripMenuItem pDFsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripProgressBar tspbStatus;
|
||||
}
|
||||
}
|
156
PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.cs
Normal file
156
PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.cs
Normal file
@@ -0,0 +1,156 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using System.IO;
|
||||
using Volian.Svg.Library;
|
||||
using Volian.Print.Library;
|
||||
using Volian.Base.Library;
|
||||
|
||||
namespace PrintMSWord
|
||||
{
|
||||
public partial class frmPrintMSWord : Form
|
||||
{
|
||||
public frmPrintMSWord()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public string MyStatus
|
||||
{
|
||||
get { return tsslStatus.Text; }
|
||||
set { tsslStatus.Text = value; Application.DoEvents(); }
|
||||
}
|
||||
private DateTime _TimerStart;
|
||||
public DateTime TimerStart
|
||||
{
|
||||
get { return _TimerStart; }
|
||||
set { _TimerStart = value; }
|
||||
}
|
||||
private string _ProcedureNumber;
|
||||
public string ProcedureNumber
|
||||
{
|
||||
get { return _ProcedureNumber; }
|
||||
set { _ProcedureNumber = value; }
|
||||
}
|
||||
public string MyTimerStatus
|
||||
{
|
||||
get { return tsslStatus.Text; }
|
||||
set {
|
||||
TimeSpan ts = DateTime.Now - _TimerStart;
|
||||
DateTime dt = new DateTime(ts.Ticks);
|
||||
tsslStatus.Text = string.Format("{0:HH:mm:ss.fff} {1} {2}",dt,ProcedureNumber,value);
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
private DocVersionInfo GetDocVersionWithContent()
|
||||
{
|
||||
DocVersionInfoList dvList = DocVersionInfoList.Get();
|
||||
foreach (DocVersionInfo docVersion in dvList)
|
||||
if (docVersion.Procedures != null)
|
||||
if (docVersion.Procedures[0].ItemID != 0)
|
||||
return docVersion;
|
||||
return null;
|
||||
}
|
||||
public ProcedureInfo MyProcedure
|
||||
{
|
||||
get { return lbProcs.SelectedValue as ProcedureInfo; }
|
||||
}
|
||||
private void lbProcs_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
CreatePDF();
|
||||
}
|
||||
private void CreatePDF()
|
||||
{
|
||||
TimerStart = DateTime.Now;
|
||||
ProcedureInfo myProcedure = MyProcedure;
|
||||
Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
|
||||
tbTimings.Text = "";
|
||||
Cursor saveCursor = this.Cursor;
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
//ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
|
||||
CreatePDF(myProcedure,true);
|
||||
this.Cursor = saveCursor;
|
||||
}
|
||||
|
||||
private void CreatePDF(ProcedureInfo myProcedure, bool openPdf)
|
||||
{
|
||||
// set up for using format default change bars.
|
||||
ChangeBarDefinition cbd = new ChangeBarDefinition();
|
||||
ChangeBarData changeBarData = MyProcedure.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData;
|
||||
cbd.MyChangeBarType = PrintChangeBar.WithDefault;
|
||||
cbd.MyChangeBarText = changeBarData.ChangeBarMessage == "ChgID" ? PrintChangeBarText.ChgID :
|
||||
changeBarData.ChangeBarMessage == "DateAndChgID" ? PrintChangeBarText.DateChgID :
|
||||
changeBarData.ChangeBarMessage == "None" ? PrintChangeBarText.None :
|
||||
changeBarData.ChangeBarMessage == "RevNum" ? PrintChangeBarText.RevNum : PrintChangeBarText.UserDef;
|
||||
PromsPrinter pp = new PromsPrinter(myProcedure, tbRev.Text, cbWatermark.Text, cbDebugOutput.Checked, false, @"C:\TEMP\32Bit\Compare", openPdf, true, cbd,
|
||||
myProcedure.DisplayNumber.Replace('/','_').Replace('\\','_'),false);
|
||||
pp.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
|
||||
_ElapsedTime = new Dictionary<PromsPrinterStatusType, TimeSpan>();
|
||||
DateTime tStart = DateTime.Now;
|
||||
string pdfFile = pp.Print(@"C:\TEMP\32Bit", false);
|
||||
DateTime tEnd = DateTime.Now;
|
||||
_ElapsedTime.Add(PromsPrinterStatusType.Total, DateTime.Now - tStart);
|
||||
MyTimerStatus = pdfFile + " created.";
|
||||
ShowElapsedTime();
|
||||
//MyStatus = string.Format("{0} created in {1:0.} milliseconds", pdfFile, (TimeSpan.FromTicks(tEnd.Ticks - tStart.Ticks).TotalMilliseconds));
|
||||
}
|
||||
private void ShowElapsedTime()
|
||||
{
|
||||
foreach (PromsPrinterStatusType type in _ElapsedTime.Keys)
|
||||
tbTimings.Text += "\r\n" + string.Format("'{0}',{1:0.}", type, _ElapsedTime[type].TotalMilliseconds);
|
||||
}
|
||||
private Dictionary<PromsPrinterStatusType, TimeSpan> _ElapsedTime;
|
||||
private DateTime _LastTime=DateTime.Now;
|
||||
private DateTime _StartTime = DateTime.Now;
|
||||
void pp_StatusChanged(object sender, PromsPrintStatusArgs args)
|
||||
{
|
||||
if (args.Type == PromsPrinterStatusType.Start) _LastTime = _StartTime = args.When;
|
||||
MyStatus = args.MyStatus;
|
||||
TimeSpan delta = TimeSpan.FromTicks(args.When.Ticks - _LastTime.Ticks);
|
||||
if (_ElapsedTime.ContainsKey(args.Type))
|
||||
_ElapsedTime[args.Type] += delta;
|
||||
else
|
||||
_ElapsedTime.Add(args.Type, delta);
|
||||
//if (tbTimings.Text != "") tbTimings.Text += "\r\n";
|
||||
//tbTimings.Text += string.Format("{0},{1},'{2}','{3}'", TimeSpan.FromTicks(args.When.Ticks -_StartTime.Ticks).TotalSeconds, delta.TotalMilliseconds, args.Type, args.MyStatus);
|
||||
_LastTime = args.When;
|
||||
}
|
||||
private void pDFToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
CreatePDF();
|
||||
}
|
||||
private void frmPrintMSWord_Load(object sender, EventArgs e)
|
||||
{
|
||||
DocVersionInfo dvi = GetDocVersionWithContent();
|
||||
lbProcs.DataSource = dvi.Procedures;
|
||||
}
|
||||
|
||||
private void pDFsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
TimerStart = DateTime.Now;
|
||||
Volian.Print.Library.Rtf2Pdf.PdfDebug = true;
|
||||
tbTimings.Text = "";
|
||||
Cursor saveCursor = this.Cursor;
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
//ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
|
||||
ItemInfoList myItems = lbProcs.DataSource as ItemInfoList;
|
||||
tspbStatus.Maximum = myItems.Count;
|
||||
tspbStatus.Value = 0;
|
||||
tspbStatus.Visible = true;
|
||||
foreach (ItemInfo myItem in myItems)
|
||||
{
|
||||
ProcedureNumber = myItem.DisplayNumber;
|
||||
if (tspbStatus != null) tspbStatus.Value++;
|
||||
CreatePDF(myItem.MyProcedure, false);
|
||||
}
|
||||
ProcedureNumber = "";
|
||||
MyTimerStatus = "Processing Complete";
|
||||
tspbStatus.Visible = false;
|
||||
this.Cursor = saveCursor;
|
||||
}
|
||||
}
|
||||
}
|
126
PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.resx
Normal file
126
PROMS/VEPROMS/PrintMSWordxxx/frmPrintMsWord.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>132, 17</value>
|
||||
</metadata>
|
||||
</root>
|
Reference in New Issue
Block a user