This commit is contained in:
2018-06-29 19:47:36 +00:00
commit be7f501333
3769 changed files with 1425961 additions and 0 deletions

View File

@@ -0,0 +1,162 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for ApproveCompanyFile.
/// </summary>
public class ApproveCompanyFile : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnOK;
private System.Windows.Forms.Button btnCancel;
private Infragistics.Win.Misc.UltraLabel lblCompany;
private Infragistics.Win.Misc.UltraLabel lblPath;
private Infragistics.Win.Misc.UltraLabel lblExplain;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public ApproveCompanyFile()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.btnCancel.Image = Util.AyaImage("Cancel24");
this.btnOK.Image = Util.AyaImage("OK24");
}
/// <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()
{
this.btnOK = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.lblCompany = new Infragistics.Win.Misc.UltraLabel();
this.lblPath = new Infragistics.Win.Misc.UltraLabel();
this.lblExplain = new Infragistics.Win.Misc.UltraLabel();
this.SuspendLayout();
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnOK.Location = new System.Drawing.Point(463, 125);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(90, 40);
this.btnOK.TabIndex = 30;
this.btnOK.UseVisualStyleBackColor = false;
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(14, 126);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(90, 40);
this.btnCancel.TabIndex = 29;
this.btnCancel.UseVisualStyleBackColor = false;
//
// lblCompany
//
this.lblCompany.BackColorInternal = System.Drawing.SystemColors.Window;
this.lblCompany.Dock = System.Windows.Forms.DockStyle.Top;
this.lblCompany.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblCompany.Location = new System.Drawing.Point(0, 0);
this.lblCompany.Name = "lblCompany";
this.lblCompany.Size = new System.Drawing.Size(565, 35);
this.lblCompany.TabIndex = 31;
this.lblCompany.Text = "A Company";
//
// lblPath
//
this.lblPath.BackColorInternal = System.Drawing.SystemColors.Window;
this.lblPath.Dock = System.Windows.Forms.DockStyle.Top;
this.lblPath.Location = new System.Drawing.Point(0, 35);
this.lblPath.Name = "lblPath";
this.lblPath.Size = new System.Drawing.Size(565, 42);
this.lblPath.TabIndex = 32;
//
// lblExplain
//
this.lblExplain.BackColorInternal = System.Drawing.SystemColors.Window;
this.lblExplain.Dock = System.Windows.Forms.DockStyle.Top;
this.lblExplain.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblExplain.Location = new System.Drawing.Point(0, 77);
this.lblExplain.Name = "lblExplain";
this.lblExplain.Size = new System.Drawing.Size(565, 27);
this.lblExplain.TabIndex = 33;
this.lblExplain.Text = "AyaNova PTI will work with this company file";
//
// ApproveCompanyFile
//
this.AcceptButton = this.btnOK;
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(565, 168);
this.ControlBox = false;
this.Controls.Add(this.lblExplain);
this.Controls.Add(this.lblPath);
this.Controls.Add(this.lblCompany);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "ApproveCompanyFile";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Accept company file";
this.Load += new System.EventHandler(this.ApproveCompanyFile_Load);
this.ResumeLayout(false);
}
#endregion
private string _CompanyName;
private string _CompanyPath;
public string PTCompanyName
{
set
{
_CompanyName=value;
}
}
public string PTCompanyPath
{
set
{
_CompanyPath=value;
}
}
private void ApproveCompanyFile_Load(object sender, System.EventArgs e)
{
this.lblCompany.Text=_CompanyName;
this.lblPath.Text=_CompanyPath;
}
}
}

View File

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

View File

@@ -0,0 +1,194 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for AyaMapDetails.
/// </summary>
public class AyaMapDetails : System.Windows.Forms.Form
{
private System.Windows.Forms.Label lblDetails;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Button btnUnlink;
private System.Windows.Forms.Button btnOK;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public AyaMapDetails()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.btnCancel.Image = Util.AyaImage("Cancel24");
this.btnOK.Image = Util.AyaImage("OK24");
}
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AyaMapDetails));
this.lblDetails = new System.Windows.Forms.Label();
this.btnOK = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.btnUnlink = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lblDetails
//
this.lblDetails.BackColor = System.Drawing.SystemColors.Window;
this.lblDetails.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDetails.Location = new System.Drawing.Point(0, 0);
this.lblDetails.Name = "lblDetails";
this.lblDetails.Size = new System.Drawing.Size(558, 126);
this.lblDetails.TabIndex = 0;
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnOK.Location = new System.Drawing.Point(442, 141);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(106, 41);
this.btnOK.TabIndex = 28;
this.btnOK.UseVisualStyleBackColor = false;
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(7, 141);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(106, 41);
this.btnCancel.TabIndex = 27;
this.btnCancel.UseVisualStyleBackColor = false;
//
// btnUnlink
//
this.btnUnlink.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnUnlink.BackColor = System.Drawing.SystemColors.Control;
this.btnUnlink.Image = ((System.Drawing.Image)(resources.GetObject("btnUnlink.Image")));
this.btnUnlink.Location = new System.Drawing.Point(218, 145);
this.btnUnlink.Name = "btnUnlink";
this.btnUnlink.Size = new System.Drawing.Size(106, 40);
this.btnUnlink.TabIndex = 29;
this.btnUnlink.UseVisualStyleBackColor = false;
this.btnUnlink.Click += new System.EventHandler(this.btnUnlink_Click);
//
// AyaMapDetails
//
this.AcceptButton = this.btnOK;
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(558, 190);
this.ControlBox = false;
this.Controls.Add(this.btnUnlink);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.lblDetails);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "AyaMapDetails";
this.Text = "Map details";
this.Load += new System.EventHandler(this.AyaMapDetails_Load);
this.ResumeLayout(false);
}
#endregion
private bool bIsLinked=false;
public bool IsLinked
{
get
{
return bIsLinked;
}
set
{
bIsLinked=value;
}
}
private string sObject="";
private string sLinkedTo="";
public string ObjectDescription
{
set
{
sObject=value;
}
}
public string LinkedToDescription
{
set
{
sLinkedTo=value;
}
}
private void DisplayDetails()
{
if(bIsLinked)
lblDetails.Text="AyaNova object: \r\n" + sObject+"\r\n" +
"Is linked to Peachtree object:\r\n"+
sLinkedTo;
else
lblDetails.Text="AyaNova object: \r\n" + sObject+"\r\n" +
"Is NOT linked to any Peachtree object";
}
private void btnUnlink_Click(object sender, System.EventArgs e)
{
if(MessageBox.Show("Are you sure you want to unlink this object?","Unlink",MessageBoxButtons.YesNo,MessageBoxIcon.Question)!=DialogResult.Yes) return;
bIsLinked=false;
btnUnlink.Visible=false;
this.btnCancel.Visible=true;
DisplayDetails();
}
private void AyaMapDetails_Load(object sender, System.EventArgs e)
{
this.btnUnlink.Visible=bIsLinked;
this.btnCancel.Visible=false;
DisplayDetails();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,375 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{AA1D8C90-D676-4438-8C68-DB9AA1783396}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AyaNova.PlugIn.PTI</RootNamespace>
<AssemblyName>AyaNova.PlugIn.PTI</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\..\keys\AyaNova.snk</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\WinFormApp\bin\debug\plugins\PTI\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Infragistics4.Shared.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Infragistics\NetAdvantage 2011.2\Windows Forms\CLR4.0\Bin\Infragistics4.Shared.v11.2.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Infragistics4.Win.Misc.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Infragistics\NetAdvantage 2011.2\Windows Forms\CLR4.0\Bin\Infragistics4.Win.Misc.v11.2.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Infragistics4.Win.UltraWinEditors.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Infragistics\NetAdvantage 2011.2\Windows Forms\CLR4.0\Bin\Infragistics4.Win.UltraWinEditors.v11.2.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Infragistics4.Win.UltraWinGrid.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Infragistics\NetAdvantage 2011.2\Windows Forms\CLR4.0\Bin\Infragistics4.Win.UltraWinGrid.v11.2.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Infragistics4.Win.UltraWinStatusBar.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Infragistics\NetAdvantage 2011.2\Windows Forms\CLR4.0\Bin\Infragistics4.Win.UltraWinStatusBar.v11.2.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Infragistics4.Win.UltraWinToolbars.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Infragistics\NetAdvantage 2011.2\Windows Forms\CLR4.0\Bin\Infragistics4.Win.UltraWinToolbars.v11.2.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Infragistics4.Win.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Infragistics\NetAdvantage 2011.2\Windows Forms\CLR4.0\Bin\Infragistics4.Win.v11.2.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PeachtreeAccounting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=df66a8d8e49833d3, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\3rdprtylibs\PeachTree\Interop\ptQuantum2010\PeachtreeAccounting.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ApproveCompanyFile.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="AyaMapDetails.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Connect.cs" />
<Compile Include="CopyableMessageBox.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FixInvoiceProblems.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FixPriceDifference.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="InvoiceTemplateBuilder.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LinkAyaObjectToQBConfirm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LinkOrImportAyaObject.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Map.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="PTIDataEx.cs" />
<Compile Include="PTIPlugin.cs" />
<Compile Include="QBMapDetails.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Resource.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resource.resx</DependentUpon>
</Compile>
<Compile Include="SetAutoClose.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SetBase.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SetConfirmCompanyFile.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SetInfoOnly.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SetMemoField.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SetQBChargeAs.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SetWOStatus.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Timestamp.cs" />
<Compile Include="Util.cs" />
<Compile Include="Waiting.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\AyaNova.PlugIn\AyaNova.PlugIn.csproj">
<Project>{674BC3C9-4F74-4304-91ED-2EAFFFEB09A7}</Project>
<Name>AyaNova.PlugIn</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\bizobjects\AyaLib\GZTW.AyaNova.BLL.csproj">
<Project>{50B807B6-FC35-4CC3-B54D-91C78426A943}</Project>
<Name>GZTW.AyaNova.BLL</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\csla10\CSLA.Core.Bindablebase\CSLA.Core.Bindablebase.csproj">
<Project>{C2392355-12A9-4197-A1D3-603C390B1E62}</Project>
<Name>CSLA.Core.Bindablebase</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\csla10\CSLA.Server.DataPortal\CSLA.Server.DataPortal.vbproj">
<Project>{80828E2C-E9FB-4E73-A27C-7F9CDB96FCDE}</Project>
<Name>CSLA.Server.DataPortal</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\csla10\CSLA\CSLA.vbproj">
<Project>{1B9A38BB-461A-47A4-AD72-099C694138A0}</Project>
<Name>CSLA</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\Data\Data\GZTW.Data.csproj">
<Project>{701893AA-C042-4FB2-8643-E139372C1117}</Project>
<Name>GZTW.Data</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\Profile\GZTW.Profile\GZTW.Profile.csproj">
<Project>{EDE897E2-E2E6-441D-9F83-0B973AE09670}</Project>
<Name>GZTW.Profile</Name>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="ApproveCompanyFile.resx">
<DependentUpon>ApproveCompanyFile.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="AyaMapDetails.resx">
<DependentUpon>AyaMapDetails.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="CopyableMessageBox.resx">
<DependentUpon>CopyableMessageBox.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FixInvoiceProblems.resx">
<DependentUpon>FixInvoiceProblems.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FixPriceDifference.resx">
<DependentUpon>FixPriceDifference.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="InvoiceTemplateBuilder.resx">
<DependentUpon>InvoiceTemplateBuilder.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="LinkAyaObjectToQBConfirm.resx">
<DependentUpon>LinkAyaObjectToQBConfirm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="LinkOrImportAyaObject.resx">
<DependentUpon>LinkOrImportAyaObject.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Map.resx">
<DependentUpon>Map.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="QBMapDetails.resx">
<DependentUpon>QBMapDetails.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Resource.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="SetAutoClose.resx">
<DependentUpon>SetAutoClose.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="SetBase.resx">
<DependentUpon>SetBase.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="SetConfirmCompanyFile.resx">
<DependentUpon>SetConfirmCompanyFile.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="SetInfoOnly.resx">
<DependentUpon>SetInfoOnly.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="SetMemoField.resx">
<DependentUpon>SetMemoField.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="SetQBChargeAs.resx">
<DependentUpon>SetQBChargeAs.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="SetWOStatus.resx">
<DependentUpon>SetWOStatus.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Waiting.resx">
<DependentUpon>Waiting.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="Resources\Cancel16.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Link24.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\OK16.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\QBI.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\UnLink24.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\UnLink32.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\QBI16.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\QBI24.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\QBI32.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\QBI16icon.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\PTI16.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\PTI16icon.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\PTI24.png" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\keys\AyaNova.snk">
<Link>AyaNova.snk</Link>
</None>
<None Include="Resources\PTI32.png" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>"C:\data\AyaNova\utils\TimeStamp\bin\Release\TimeStamp.exe" "$(ProjectDir)Timestamp.cs" "/N:AyaNova.PlugIn.PTI"</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,20 @@
using System;
using PeachtreeAccounting;
namespace AyaNova.PlugIn.PTI
{
public class Connect
{
public PeachtreeAccounting.Application app;
public PeachtreeAccounting.Login login = new PeachtreeAccounting.LoginClass();
//Test comment for subversion testing
public Connect()
{
//Using name and password which are actually the peachtree issued company name and
//sdk key issued to us, not anything to do with what is in the end users
//peachtree accounting database. This is our own authentication to be able to use the sdk
app = (PeachtreeAccounting.Application)login.GetApplication("AyaNova", "3D2376WFT270X1G");
}
}
}

View File

@@ -0,0 +1,91 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for CopyableMessageBox.
/// </summary>
public class CopyableMessageBox : System.Windows.Forms.Form
{
private System.Windows.Forms.TextBox edOut;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
private string mDisplay="";
public CopyableMessageBox(string Display)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
mDisplay=Display;
//
//
//
}
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CopyableMessageBox));
this.edOut = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// edOut
//
this.edOut.Dock = System.Windows.Forms.DockStyle.Fill;
this.edOut.Location = new System.Drawing.Point(0, 0);
this.edOut.Multiline = true;
this.edOut.Name = "edOut";
this.edOut.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.edOut.Size = new System.Drawing.Size(488, 357);
this.edOut.TabIndex = 0;
//
// CopyableMessageBox
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(488, 357);
this.Controls.Add(this.edOut);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "CopyableMessageBox";
this.ShowInTaskbar = false;
this.Load += new System.EventHandler(this.CopyableMessageBox_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private void CopyableMessageBox_Load(object sender, System.EventArgs e)
{
edOut.Text=mDisplay;
edOut.Select(0,0);
}
}
}

View File

@@ -0,0 +1,197 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAgBAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABn
vzAAZ79QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGe/MABn
v48ggM/gX6jf/1+n3/8Pb8CfAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ78/AGe/jx94
z+BQp9//oNjw/9D3///A7///oNjw/6DX8P8Qd8C/AGe/DwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ79PAHDA7x+Q
0P9PuOD/f9fw/5/g8P+/6P//wO///7/o//+f2PD/v+j//5DQ8P8feM/QAGe/HwAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABn
v38Al9D/L7jv/0/H7/9vz+//gNjw/5/g8P+P1/D/gMjv/3/I7/+A0PD/gNDw/1C47/8QeM/vAGe/LwAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAGe/gACQ0P8fsOD/MLjv/1C47/9gv+//j9jw/5/g//+f4P//gNj//1C47/9QuPD/MK/v/xCQ
3/8AZ79/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAZ7+PD4jQ/y+o4P9PwPD/b8/w/3DX8P+A2PD/gNjw/4DY8P9w1/D/b8/w/z+w
7/8PmOD/AIff/wBnv3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAB9owG8AaMDwIJ/f/0DA8P9Qx/D/YM/w/2/P8P9vz/D/b8/w/2DP
8P9Qx/D/QMDw/y+v7/8Ah9D/AGe/bwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAIGjPHyBoz4AweNDvX7Dg/3/g8P8fgM//H5Df/0C/7/9PwPD/UMfw/1DH
8P9Qx/D/T8Dw/zCv4P8fkN//D3jP/wBowN8AZ79AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AIAB/
AHAAiADQD5cQ8AB/AEAAAAAAIGjPPyBoz69Al9//cNDw/4/w//9gv+//P4fQ7yBoz48AZ8C/EIfQ/zC3
7/8wt+//IJ/f/xCH0P8Ab8D/AGe/vwBnv3AAZ78vAAAAAAAAAAAAAAAAAAAAAAAAAAAAfwAgAH8AfwCI
ANAQqA//IMgQ/zDfH/9P12D/IKgw/x9or89PmN//j+///3/f8P9QoN//L3DPsCBoz08AAAAAAAAAAAAA
AAAAZ7+fAG/A/wBowOAAZ7+fAGe/UABnvw8AAAAAAAAAAAAAAAAAAAAAAAAAAAB/AB8AfwCAAIcA0A+f
AP8fvw//L9gQ/zDgH/8w5x//MOAf/0DYYP9A32D/IKg//yBwsOA/h9DgIGjPfyBozx8AAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAZ78vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AbwCY
AP8Qvw//H8gP/yDQEP8v2BD/MN8f/zDgH/8w2CD/QNhf/z/YUP8wz0D/H68g/wCAAK8AAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAfwBwAJ8A/xC/D/8fxw//IM8Q/y/PL/9A11D/X+d//1/vgP9A32D/MMhA/y/IMP8fvyD/D6cP/wB/
AH8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAB/AH8AnwD/ELcf/y/HP/9A32D/X++A/1/vgP9f74D/T+dw/0DfYP8w10//H7gg/xC4
H/8AoAD/AH8AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAH8ATwCID/8gxzD/P9hQ/0DfYP9P52//T+dv/0/nb/9A32D/P9hQ/y/P
P/8fxy//D68Q/wCgAP8AeB+PAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8ATwCHAPAgwDD/MNdP/z/YUP8/2FD/P9hQ/zDX
T/8vzz//IMgw/xC/H/8Apw//AI8A/y+Xf/8vd8+/IGjPTwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAA0EcAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AMACAAO8fty//L88//y/P
P/8vzz//H7gv/w+gEP8AiAD/AH8A0AB/D5AfeH+gUKjf8H/Y8P9vwO//P4jQ4CBoz3AgaM8PAAAAAAAA
AADQRwA/0EcAj99gH+DfbyD/0EgAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AIAB/
AN8PnxD/D5cP/wCAAPAAfwCwAH8AbwB/ACAAAAAAAAAAAAAAAAAAAAAAIGjPUECP389vwO//f9fw/3CP
r/+fV0DQ0F8f7+CPX//wx5///9ev/++gUP/voE//0FAPsNBHAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAH8AHwB/AI8AfwBPAH8ADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0EcAEMBI
EKDPUBD/4Ggv/++YYP/wwJD//9iw///owP//2LD/8Kdf///IcP/wr1D/0FcP0NBHAB8AAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AADQRwA/308A/+9wMP/vj1D/8Kdw//DAkP//16///9+w//DHn//wqF///79g//C4X//woED/31gP79BH
AC8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAANBHAD/fSAD/728v/++HT//wmGD/8KBv//C3f///15///9+v///PkP/vn1D/8KhP/++Y
MP/vhx//0EcAvwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA0EcAQN9IAP/gaCD/74dA//CoYP/wv4D//8+Q///PkP//z5D/8L+A//Cv
b//vj0D/74cf/+B4D//QRwCwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADQRwAf0EcA3+BoH//vj0D/8KBf//Cvb//wt3//8Ld///C3
f//wr2//8KBf/++PQP/vdy//4GgA/9BHAK8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADQRwAQ0EcAz+BnH//vj0D/8J9Q//Cg
X//woF//8KBf//CfUP/vj0D/73gv/+BfEP/fTwD/0EcAnwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADQRwAP0EcAsN9f
EP/vhz//749A/++IP//gdy//32Af/9BPAP/QRwDA0EcAcNBHAC8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAA0EcAn99QD//fUA//0EcA79BHAJ/QRwBQ0EcAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA0EcAX9BHADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA//////////////+f///8D///4AP//4AB//+AAP//gAD//4AA//+AAP/8
AAD8EAAD4AA4HwAA/f8AA///AAH//wAB//8AAf//gAB/v8AADB/gHgAH8P8AA///AAH//wAB//8AAf//
AAH//4AB///AA///8B////n///////////8=
</value>
</data>
</root>

View File

@@ -0,0 +1,512 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Infragistics.Win.UltraWinGrid;
using GZTW.AyaNova.BLL;
using System.Text;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for FixInvoiceProblems.
/// </summary>
public class FixInvoiceProblems : System.Windows.Forms.Form
{
private Infragistics.Win.UltraWinGrid.UltraGrid grid;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public FixInvoiceProblems()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.Icon = Resource.PTI16icon;
}
/// <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()
{
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
this.grid = new Infragistics.Win.UltraWinGrid.UltraGrid();
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
this.SuspendLayout();
//
// grid
//
appearance1.BackColor = System.Drawing.SystemColors.Window;
appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
this.grid.DisplayLayout.Appearance = appearance1;
this.grid.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
this.grid.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
appearance2.BorderColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.GroupByBox.Appearance = appearance2;
appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
this.grid.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
this.grid.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
this.grid.DisplayLayout.GroupByBox.Hidden = true;
appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
appearance4.BackColor2 = System.Drawing.SystemColors.Control;
appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
this.grid.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
this.grid.DisplayLayout.MaxColScrollRegions = 1;
this.grid.DisplayLayout.MaxRowScrollRegions = 1;
appearance5.BackColor = System.Drawing.SystemColors.Window;
appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
this.grid.DisplayLayout.Override.ActiveCellAppearance = appearance5;
appearance6.BackColor = System.Drawing.SystemColors.Highlight;
appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
this.grid.DisplayLayout.Override.ActiveRowAppearance = appearance6;
this.grid.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.No;
this.grid.DisplayLayout.Override.AllowDelete = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
this.grid.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
appearance7.BackColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.Override.CardAreaAppearance = appearance7;
appearance8.BorderColor = System.Drawing.Color.Silver;
appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
this.grid.DisplayLayout.Override.CellAppearance = appearance8;
this.grid.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
this.grid.DisplayLayout.Override.CellPadding = 0;
appearance9.BackColor = System.Drawing.SystemColors.Control;
appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
appearance9.BorderColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.Override.GroupByRowAppearance = appearance9;
appearance10.TextHAlignAsString = "Left";
this.grid.DisplayLayout.Override.HeaderAppearance = appearance10;
this.grid.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
this.grid.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
appearance11.BackColor = System.Drawing.SystemColors.Window;
appearance11.BorderColor = System.Drawing.Color.Silver;
this.grid.DisplayLayout.Override.RowAppearance = appearance11;
this.grid.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
this.grid.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
this.grid.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
this.grid.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
this.grid.Dock = System.Windows.Forms.DockStyle.Fill;
this.grid.Location = new System.Drawing.Point(0, 0);
this.grid.Name = "grid";
this.grid.Size = new System.Drawing.Size(632, 453);
this.grid.TabIndex = 0;
this.grid.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.grid_InitializeRow);
this.grid.ClickCellButton += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.grid_ClickCellButton);
//
// FixInvoiceProblems
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(632, 453);
this.Controls.Add(this.grid);
this.Name = "FixInvoiceProblems";
this.Text = "FixInvoiceProblems";
this.Load += new System.EventHandler(this.FixInvoiceProblems_Load);
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
this.ResumeLayout(false);
}
#endregion
#region load / class variables
private ArrayList _PartPriceOverrides;
public ArrayList PartPriceOverrides
{
set
{
_PartPriceOverrides=value;
}
}
private ArrayList _MisMatches;
public ArrayList MisMatches
{
set
{
_MisMatches=value;
}
}
private bool _ChangesMade=false;
public bool ChangesMade
{
get
{
return this._ChangesMade;
}
}
private void FixInvoiceProblems_Load(object sender, System.EventArgs e)
{
grid.BeginUpdate();
grid.DisplayLayout.Bands[0].Columns.Add("Fix");
grid.DisplayLayout.Bands[0].Columns["Fix"].Style=Infragistics.Win.UltraWinGrid.ColumnStyle.Button;
this.grid.DataSource=_MisMatches;
grid.DisplayLayout.Bands[0].Columns["RootObjectID"].Hidden=true;
grid.DisplayLayout.Bands[0].Columns["AyaPrice"].Hidden=true;
grid.DisplayLayout.Bands[0].Columns["PTPrice"].Hidden=true;
grid.DisplayLayout.Bands[0].Columns["WorkorderItemPartID"].Hidden=true;
grid.DisplayLayout.Bands[0].Columns["Reason"].Header.Caption="Problem";
grid.DisplayLayout.Bands[0].Columns["PTListID"].Hidden=true;
grid.EndUpdate();
}
#endregion
private void grid_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
{
switch((Util.MisMatchReason)e.Row.Cells["Reason"].Value)
{
case Util.MisMatchReason.NothingToInvoice:
e.Row.ToolTipText = "NOTHING TO INVOICE";
e.Row.Cells["Fix"].Hidden=true;
e.Row.Activation=Activation.Disabled;
break;
case Util.MisMatchReason.PriceDifferent:
e.Row.Cells["Fix"].Value="Fix price";
break;
case Util.MisMatchReason.NotLinkedToPT:
if((RootObjectTypes)e.Row.Cells["ObjectType"].Value==RootObjectTypes.Client)
e.Row.Cells["Fix"].Value="Link / Export";
else
e.Row.Cells["Fix"].Value="Link";
break;
}
}
private void grid_ClickCellButton(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
{
switch ((Util.MisMatchReason)e.Cell.Row.Cells["Reason"].Value)
{
case Util.MisMatchReason.NothingToInvoice:
MessageBox.Show("Nothing to invoice");
break;
case Util.MisMatchReason.PriceDifferent:
{
#region price problem
FixPriceDifference d = new FixPriceDifference();
d.PriceDescription = e.Cell.Row.Cells["Name"].Value.ToString() + "\r\n" +
"Price on work order: " + ((decimal)e.Cell.Row.Cells["AyaPrice"].Value).ToString("c") + "\r\n" +
"Price in Peachtree: " + ((decimal)e.Cell.Row.Cells["PTPrice"].Value).ToString("c");
if (d.ShowDialog() == DialogResult.Cancel) return;
//Fixup price here
switch (d.SelectedResolution)
{
case "AYAONCE":
//Add to price override list so price on workorder item part record is used
_PartPriceOverrides.Add((Guid)e.Cell.Row.Cells["WorkorderItemPartID"].Value);
break;
case "QBONCE":
{
//Change the workorder item part price only
//to the quickbooks price, don't touch the default aya part price
Guid WorkorderItemPartID = (Guid)e.Cell.Row.Cells["WorkorderItemPartID"].Value;
Workorder w = Workorder.GetWorkorderByRelative(RootObjectTypes.WorkorderItemPart, WorkorderItemPartID);
foreach (WorkorderItem wi in w.WorkorderItems)
{
if (w == null) break;
foreach (WorkorderItemPart wp in wi.Parts)
{
if (wp.ID == WorkorderItemPartID)
{
wp.PriceOverride = (decimal)e.Cell.Row.Cells["PTPrice"].Value;
w.Save();
w = null;
break;
}
}
}
}
break;
case "CHANGEAYA":
{
//Change this workorder item parts price to the qb price
//and change ayanova's default price for this part to the qb price
Guid WorkorderItemPartID = (Guid)e.Cell.Row.Cells["WorkorderItemPartID"].Value;
Workorder w = Workorder.GetWorkorderByRelative(RootObjectTypes.WorkorderItemPart, WorkorderItemPartID);
Guid PartID = Guid.Empty;
foreach (WorkorderItem wi in w.WorkorderItems)
{
if (w == null) break;
foreach (WorkorderItemPart wp in wi.Parts)
{
if (wp.ID == WorkorderItemPartID)
{
PartID = wp.PartID;
wp.PriceOverride = (decimal)e.Cell.Row.Cells["PTPrice"].Value;
w.Save();
w = null;
break;
}
}
}
if (PartID != Guid.Empty)
{
Part p = Part.GetItem(PartID);
p.Retail = (decimal)e.Cell.Row.Cells["PTPrice"].Value;
p.Save();
}
}
break;
case "CHANGEQB":
//Change the QB price to use the price on this workorder item part
Util.ChangePTItemPrice(e.Cell.Row.Cells["PTListID"].Value.ToString(), (decimal)e.Cell.Row.Cells["AyaPrice"].Value);
break;
}
//remove the object from the grid as it's now dealt with
e.Cell.Row.Delete(false);
_ChangesMade = true;
//If all done then close up
if (grid.Rows.Count == 0)
this.Close();
#endregion price prob.
}
break;
case Util.MisMatchReason.NotLinkedToPT:
{
#region link problem
LinkOrImportAyaObject d = new LinkOrImportAyaObject();
try
{
d.AyaItem = e.Cell.Row.Cells["Name"].Value.ToString();
//Default for an import
//otherwise in a link is just reset to the qb item name selected
string PTItemName = e.Cell.Row.Cells["Name"].Value.ToString();
//Attempt a link or import
//in any case of failure or new link not required
//bails inside switch
switch ((RootObjectTypes)e.Cell.Row.Cells["ObjectType"].Value)
{
case RootObjectTypes.Client:
d.CanImport = true;
d.PTItems = Util.PTClients;
if (d.ShowDialog() == DialogResult.Cancel) return;
if (d.Choice == "IMPORT")
{
ArrayList alErrors = new ArrayList();
Util.ImportAyaClient((Guid)e.Cell.Row.Cells["RootObjectID"].Value, alErrors);
//display errors if any
if (alErrors.Count != 0)
{
StringBuilder sb = new StringBuilder();
sb.Append("Import failed with error:\r\n\r\n");
foreach (object o in alErrors)
{
sb.Append((string)o);
sb.Append("\r\n************\r\n");
}
CopyableMessageBox cb = new CopyableMessageBox(sb.ToString());
cb.ShowDialog();
cb.Dispose();
return;
}
else
goto REMOVEITEMS;
}
else
{
//it's a link by default
if (d.SelectedPTItem == null || d.SelectedPTItem == "" || !Util.PTClients.Rows.Contains(d.SelectedPTItem))
return;
PTItemName = d.SelectedPTItemName;
}
break;
case RootObjectTypes.Rate:
d.CanImport = false;
d.PTItems = Util.PTItems;
if (d.ShowDialog() == DialogResult.Cancel) return;
if (d.SelectedPTItem == null || d.SelectedPTItem == "" || !Util.PTItems.Rows.Contains(d.SelectedPTItem))
return;
PTItemName = d.SelectedPTItemName;
break;
case RootObjectTypes.Part:
d.CanImport = false;
d.PTItems = Util.PTItems;
if (d.ShowDialog() == DialogResult.Cancel) return;
if (d.SelectedPTItem == null || d.SelectedPTItem == "" || !Util.PTItems.Rows.Contains(d.SelectedPTItem))
return;
PTItemName = d.SelectedPTItemName;
break;
case RootObjectTypes.WorkorderItemOutsideService:
d.CanImport = false;
d.PTItems = Util.PTItems;
if (d.ShowDialog() == DialogResult.Cancel) return;
if (d.SelectedPTItem == null || d.SelectedPTItem == "" || !Util.PTItems.Rows.Contains(d.SelectedPTItem))
return;
Util.PDat.OutsideServiceChargeAs = d.SelectedPTItem;
//Case 299
Util.PTI.AIObject = Util.PDat.XMLData;
//Util.PTI.AIObject = Util.QDat;
Util.PTI = (Integration)Util.PTI.Save();
Util.PDat.IsDirty = false;
goto REMOVEITEMS;
case RootObjectTypes.WorkorderItemLoan:
d.CanImport = false;
d.PTItems = Util.PTItems;
if (d.ShowDialog() == DialogResult.Cancel) return;
if (d.SelectedPTItem == null || d.SelectedPTItem == "" || !Util.PTItems.Rows.Contains(d.SelectedPTItem))
return;
Util.PDat.WorkorderItemLoanChargeAs = d.SelectedPTItem;
//Case 299
Util.PTI.AIObject = Util.PDat.XMLData;
//Util.PTI.AIObject = Util.QDat;
Util.PTI = (Integration)Util.PTI.Save();
Util.PDat.IsDirty = false;
goto REMOVEITEMS;
case RootObjectTypes.WorkorderItemMiscExpense:
d.CanImport = false;
d.PTItems = Util.PTItems;
if (d.ShowDialog() == DialogResult.Cancel) return;
if (d.SelectedPTItem == null || d.SelectedPTItem == "" || !Util.PTItems.Rows.Contains(d.SelectedPTItem))
return;
Util.PDat.MiscExpenseChargeAs = d.SelectedPTItem;
//Case 299
Util.PTI.AIObject = Util.PDat.XMLData;
//Util.PTI.AIObject = Util.QDat;
Util.PTI = (Integration)Util.PTI.Save();
Util.PDat.IsDirty = false;
goto REMOVEITEMS;
}
//add the new link
IntegrationMap m = Util.PTI.Maps.Add(Util.PTI);
m.RootObjectID = (Guid)e.Cell.Row.Cells["RootObjectID"].Value;
m.RootObjectType = (RootObjectTypes)e.Cell.Row.Cells["ObjectType"].Value;
m.ForeignID = d.SelectedPTItem;
m.Name = PTItemName;
m.LastSync = System.DateTime.Now;
Util.PTI = (Integration)Util.PTI.Save();
REMOVEITEMS:
//remove the object from the grid as it's now dealt with
e.Cell.Row.Delete(false);
_ChangesMade = true;
//If all done then close up
if (grid.Rows.Count == 0)
this.Close();
}
finally
{
d.Dispose();
}
#endregion link problem
}
break;
}
//Changed: 18-Nov-2006, moved from below to switch above
//in order to include nothing to invoice notification
//if ((Util.MisMatchReason)e.Cell.Row.Cells["Reason"].Value == Util.MisMatchReason.PriceDifferent)
//{
//}
//else
//{
//}
}
//--------------------------------------------------------------
}
}

View File

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

View File

@@ -0,0 +1,206 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for FixPriceDifference.
/// </summary>
public class FixPriceDifference : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnOK;
private System.Windows.Forms.Button btnCancel;
private Infragistics.Win.Misc.UltraLabel lblPrices;
private Infragistics.Win.UltraWinEditors.UltraOptionSet osChoice;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public FixPriceDifference()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.btnCancel.Image = Util.AyaImage("Cancel24");
this.btnOK.Image = Util.AyaImage("OK24");
}
/// <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()
{
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
this.btnOK = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.lblPrices = new Infragistics.Win.Misc.UltraLabel();
this.osChoice = new Infragistics.Win.UltraWinEditors.UltraOptionSet();
((System.ComponentModel.ISupportInitialize)(this.osChoice)).BeginInit();
this.SuspendLayout();
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnOK.Location = new System.Drawing.Point(520, 220);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(102, 40);
this.btnOK.TabIndex = 32;
this.btnOK.UseVisualStyleBackColor = false;
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(14, 221);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(102, 40);
this.btnCancel.TabIndex = 31;
this.btnCancel.UseVisualStyleBackColor = false;
//
// lblPrices
//
appearance1.TextVAlignAsString = "Middle";
this.lblPrices.Appearance = appearance1;
this.lblPrices.BackColorInternal = System.Drawing.SystemColors.Window;
this.lblPrices.Dock = System.Windows.Forms.DockStyle.Top;
this.lblPrices.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblPrices.Location = new System.Drawing.Point(0, 0);
this.lblPrices.Name = "lblPrices";
this.lblPrices.Size = new System.Drawing.Size(630, 89);
this.lblPrices.TabIndex = 34;
this.lblPrices.Text = "ultraLabel1";
//
// osChoice
//
this.osChoice.BorderStyle = Infragistics.Win.UIElementBorderStyle.None;
this.osChoice.Dock = System.Windows.Forms.DockStyle.Top;
this.osChoice.ItemOrigin = new System.Drawing.Point(5, 5);
valueListItem1.DataValue = "AYAONCE";
valueListItem1.DisplayText = "Use the work order price as it is; even though it\'s different";
valueListItem2.DataValue = "QBONCE";
valueListItem2.DisplayText = "Set the work order item\'s price to the Peachtree price";
valueListItem3.DataValue = "CHANGEAYA";
valueListItem3.DisplayText = "Set the AyaNova object\'s default price to be the Peachtree price from now on";
valueListItem4.DataValue = "CHANGEQB";
valueListItem4.DisplayText = "Set the Peachtree object\'s default price to be the AyaNova price from now on";
this.osChoice.Items.AddRange(new Infragistics.Win.ValueListItem[] {
valueListItem1,
valueListItem2,
valueListItem3,
valueListItem4});
this.osChoice.ItemSpacingVertical = 8;
this.osChoice.Location = new System.Drawing.Point(0, 89);
this.osChoice.Name = "osChoice";
this.osChoice.Size = new System.Drawing.Size(630, 121);
this.osChoice.TabIndex = 35;
//
// FixPriceDifference
//
this.AcceptButton = this.btnOK;
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(630, 275);
this.ControlBox = false;
this.Controls.Add(this.osChoice);
this.Controls.Add(this.lblPrices);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.MinimumSize = new System.Drawing.Size(642, 306);
this.Name = "FixPriceDifference";
this.Text = "Resolve AyaNova object price";
this.Load += new System.EventHandler(this.FixPriceDifference_Load);
((System.ComponentModel.ISupportInitialize)(this.osChoice)).EndInit();
this.ResumeLayout(false);
}
#endregion
private string _AyaItem;
private void FixPriceDifference_Load(object sender, System.EventArgs e)
{
lblPrices.Text=_AyaItem;
this.osChoice.CheckedItem=this.osChoice.Items[0];
}
public string PriceDescription
{
set
{
_AyaItem=value;
}
}
public string SelectedResolution
{
get
{
return this.osChoice.CheckedItem.DataValue.ToString();
}
}
}
}

View File

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

View File

@@ -0,0 +1,956 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Infragistics.Win.UltraWinToolbars;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for InvoiceTemplateBuilder.
/// </summary>
public class InvoiceTemplateBuilder : System.Windows.Forms.Form
{
private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager tbManager;
private System.Windows.Forms.Panel InvoiceTemplateBuilder_Fill_Panel;
private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _InvoiceTemplateBuilder_Toolbars_Dock_Area_Left;
private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _InvoiceTemplateBuilder_Toolbars_Dock_Area_Right;
private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _InvoiceTemplateBuilder_Toolbars_Dock_Area_Top;
private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom;
private Infragistics.Win.UltraWinEditors.UltraTextEditor edHeader;
private Infragistics.Win.Misc.UltraLabel lblHeader;
private System.Windows.Forms.Label lblCharges;
private Infragistics.Win.Misc.UltraLabel lblItems;
private System.Windows.Forms.Button btnOK;
private Infragistics.Win.UltraWinEditors.UltraTextEditor edFooter;
private Infragistics.Win.UltraWinEditors.UltraTextEditor edUnit;
private Infragistics.Win.Misc.UltraLabel lblUnit;
private Infragistics.Win.UltraWinEditors.UltraTextEditor edService;
private Infragistics.Win.Misc.UltraLabel lblService;
private Infragistics.Win.UltraWinEditors.UltraTextEditor edTravel;
private Infragistics.Win.Misc.UltraLabel lblTravel;
private Infragistics.Win.UltraWinEditors.UltraTextEditor edOutsideService;
private Infragistics.Win.Misc.UltraLabel lblOutsideService;
private Infragistics.Win.Misc.UltraLabel lblMiscExpenses;
private Infragistics.Win.Misc.UltraLabel lblLoanItems;
private Infragistics.Win.UltraWinEditors.UltraTextEditor edLoanItem;
private Infragistics.Win.UltraWinEditors.UltraTextEditor edMiscExpense;
private System.Windows.Forms.Button btnCancel;
private System.ComponentModel.IContainer components;
public InvoiceTemplateBuilder(PTIDataEx QDat)//Case 299
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
_QDat=QDat;
this.btnCancel.Image = Util.AyaImage("Cancel24");
this.btnOK.Image = Util.AyaImage("OK24");
}
/// <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()
{
this.components = new System.ComponentModel.Container();
Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("TemplateBuilderTools");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool1 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertHeader");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool2 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertFooter");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool3 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertUnit");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool4 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertService");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool5 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertTravel");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool6 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertOutsideService");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool7 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertMiscExpense");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool8 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertLoanItem");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SetDetailed");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SetBrief");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool9 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertHeader");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CONTACT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CREF#~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~OURREF#~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~PROJ~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CLIENT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~WO#~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVDATE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~STAT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~DESC~");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool10 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertFooter");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_SUMMARY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_SERVICE_NOTES~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_TYPE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_REQUEST_DATE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_STATUS~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~WO#~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CREF#~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool19 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CONTACT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool20 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~STAT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool21 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~PROJ~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool22 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~OURREF#~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool23 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~DESC~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool24 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CLIENT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool25 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVDATE~");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool11 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertUnit");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool26 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~AYAFORMAT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool27 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_SN~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool28 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_METER~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool29 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_MAKE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool30 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_MODEL_NAME~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool31 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_MODEL_NUMBER~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool32 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~AYAFORMAT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool33 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_SN~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool34 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_METER~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool35 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_MAKE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool36 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_MODEL_NAME~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool37 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~UNIT_MODEL_NUMBER~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool38 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_SUMMARY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool39 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_SERVICE_NOTES~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool40 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_TYPE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool41 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_REQUEST_DATE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool42 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM_STATUS~");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool12 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertService");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool43 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVICE_START~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool44 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVICE_STOP~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool45 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVICE_QUANTITY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool46 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~RATE_NAME~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool47 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVICE_TECH~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool48 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~DETAILS~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool49 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~NO_CHARGE_QUANTITY~");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool13 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertTravel");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool50 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_START~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool51 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_STOP~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool52 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_QUANTITY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool53 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_RATE_NAME~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool54 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_TECH~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool55 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_DETAILS~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool56 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_DISTANCE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool57 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_NO_CHARGE_QUANTITY~");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool14 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertOutsideService");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool58 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~REPAIR_PRICE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool59 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SHIP_CHARGE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool60 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SENT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool61 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~RETURNED~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool62 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~NOTES~");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool15 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertMiscExpense");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool63 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CHARGES~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool64 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SUMMARY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool65 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~DESCRIPTION~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool66 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TECH~");
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool16 = new Infragistics.Win.UltraWinToolbars.PopupMenuTool("InsertLoanItem");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool67 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool68 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CHARGE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool69 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~LOANED~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool70 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~LOAN_RETURNED~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool71 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~LOAN_NOTES~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool72 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVICE_START~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool73 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVICE_STOP~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool74 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVICE_QUANTITY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool75 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~RATE_NAME~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool76 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SERVICE_TECH~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool77 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~DETAILS~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool78 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~NO_CHARGE_QUANTITY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool79 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_START~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool80 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_STOP~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool81 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_QUANTITY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool82 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_RATE_NAME~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool83 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_TECH~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool84 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_DETAILS~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool85 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_DISTANCE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool86 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TRAVEL_NO_CHARGE_QUANTITY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool87 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~REPAIR_PRICE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool88 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SHIP_CHARGE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool89 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SENT~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool90 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~RETURNED~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool91 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~NOTES~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool92 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CHARGES~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool93 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~SUMMARY~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool94 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~DESCRIPTION~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool95 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~TECH~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool96 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~ITEM~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool97 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~CHARGE~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool98 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~LOANED~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool99 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~LOAN_RETURNED~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool100 = new Infragistics.Win.UltraWinToolbars.ButtonTool("~LOAN_NOTES~");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool101 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SetDetailed");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool102 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SetBrief");
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
this.tbManager = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
this.edFooter = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.edHeader = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.edUnit = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.edService = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.edTravel = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.edOutsideService = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.edMiscExpense = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.edLoanItem = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.InvoiceTemplateBuilder_Fill_Panel = new System.Windows.Forms.Panel();
this.btnCancel = new System.Windows.Forms.Button();
this.lblLoanItems = new Infragistics.Win.Misc.UltraLabel();
this.lblMiscExpenses = new Infragistics.Win.Misc.UltraLabel();
this.lblOutsideService = new Infragistics.Win.Misc.UltraLabel();
this.lblTravel = new Infragistics.Win.Misc.UltraLabel();
this.lblService = new Infragistics.Win.Misc.UltraLabel();
this.lblUnit = new Infragistics.Win.Misc.UltraLabel();
this.lblItems = new Infragistics.Win.Misc.UltraLabel();
this.lblCharges = new System.Windows.Forms.Label();
this.lblHeader = new Infragistics.Win.Misc.UltraLabel();
this.btnOK = new System.Windows.Forms.Button();
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
((System.ComponentModel.ISupportInitialize)(this.tbManager)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.edFooter)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.edHeader)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.edUnit)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.edService)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.edTravel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.edOutsideService)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.edMiscExpense)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.edLoanItem)).BeginInit();
this.InvoiceTemplateBuilder_Fill_Panel.SuspendLayout();
this.SuspendLayout();
//
// tbManager
//
this.tbManager.DesignerFlags = 1;
this.tbManager.DockWithinContainer = this;
this.tbManager.DockWithinContainerBaseType = typeof(System.Windows.Forms.Form);
this.tbManager.ShowFullMenusDelay = 500;
ultraToolbar1.DockedColumn = 0;
ultraToolbar1.DockedRow = 0;
ultraToolbar1.NonInheritedTools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
popupMenuTool1,
popupMenuTool2,
popupMenuTool3,
popupMenuTool4,
popupMenuTool5,
popupMenuTool6,
popupMenuTool7,
popupMenuTool8,
buttonTool1,
buttonTool2});
ultraToolbar1.Settings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
ultraToolbar1.Settings.AllowHiding = Infragistics.Win.DefaultableBoolean.False;
ultraToolbar1.Text = "TemplateBuilderTools";
this.tbManager.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
ultraToolbar1});
popupMenuTool9.SharedPropsInternal.Caption = "Insert &header field";
popupMenuTool9.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool3,
buttonTool4,
buttonTool5,
buttonTool6,
buttonTool7,
buttonTool8,
buttonTool9,
buttonTool10,
buttonTool11});
popupMenuTool10.SharedPropsInternal.Caption = "Insert &item section field";
popupMenuTool10.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool12,
buttonTool13,
buttonTool14,
buttonTool15,
buttonTool16});
buttonTool17.SharedPropsInternal.Caption = "Work order number";
buttonTool18.SharedPropsInternal.Caption = "Client reference number";
buttonTool19.SharedPropsInternal.Caption = "Client contact";
buttonTool20.SharedPropsInternal.Caption = "Work order status name";
buttonTool21.SharedPropsInternal.Caption = "Project name";
buttonTool22.SharedPropsInternal.Caption = "Internal reference number";
buttonTool23.SharedPropsInternal.Caption = "Work order summary";
buttonTool24.SharedPropsInternal.Caption = "Work order client name";
buttonTool25.SharedPropsInternal.Caption = "Work order service date";
popupMenuTool11.SharedPropsInternal.Caption = "Insert &unit field";
popupMenuTool11.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool26,
buttonTool27,
buttonTool28,
buttonTool29,
buttonTool30,
buttonTool31});
buttonTool32.SharedPropsInternal.Caption = "AyaNova unit display format";
buttonTool33.SharedPropsInternal.Caption = "Unit serial number";
buttonTool34.SharedPropsInternal.Caption = "Unit meter reading";
buttonTool35.SharedPropsInternal.Caption = "Manufacturer";
buttonTool36.SharedPropsInternal.Caption = "Unit model name";
buttonTool37.SharedPropsInternal.Caption = "Unit model number";
buttonTool38.SharedPropsInternal.Caption = "Workorder item summary";
buttonTool39.SharedPropsInternal.Caption = "Workorder item service notes";
buttonTool40.SharedPropsInternal.Caption = "Workorder item type";
buttonTool41.SharedPropsInternal.Caption = "Workorder item request date";
buttonTool42.SharedPropsInternal.Caption = "Workorder item status";
popupMenuTool12.SharedPropsInternal.Caption = "Insert service field";
popupMenuTool12.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool43,
buttonTool44,
buttonTool45,
buttonTool46,
buttonTool47,
buttonTool48,
buttonTool49});
popupMenuTool13.SharedPropsInternal.Caption = "Insert travel field";
popupMenuTool13.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool50,
buttonTool51,
buttonTool52,
buttonTool53,
buttonTool54,
buttonTool55,
buttonTool56,
buttonTool57});
popupMenuTool14.SharedPropsInternal.Caption = "Insert outside service field";
popupMenuTool14.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool58,
buttonTool59,
buttonTool60,
buttonTool61,
buttonTool62});
popupMenuTool15.SharedPropsInternal.Caption = "Insert misc. expense field";
popupMenuTool15.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool63,
buttonTool64,
buttonTool65,
buttonTool66});
popupMenuTool16.SharedPropsInternal.Caption = "Insert loan item field";
popupMenuTool16.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool67,
buttonTool68,
buttonTool69,
buttonTool70,
buttonTool71});
buttonTool72.SharedPropsInternal.Caption = "Start date and time";
buttonTool73.SharedPropsInternal.Caption = "Stop date and time";
buttonTool74.SharedPropsInternal.Caption = "Quantity";
buttonTool75.SharedPropsInternal.Caption = "Rate name";
buttonTool76.SharedPropsInternal.Caption = "Technician";
buttonTool77.SharedPropsInternal.Caption = "Details";
buttonTool78.SharedPropsInternal.Caption = "No charge quantity";
buttonTool79.SharedPropsInternal.Caption = "Start date and time";
buttonTool80.SharedPropsInternal.Caption = "Stop date and time";
buttonTool81.SharedPropsInternal.Caption = "Quantity";
buttonTool82.SharedPropsInternal.Caption = "Travel rate name";
buttonTool83.SharedPropsInternal.Caption = "Technician";
buttonTool84.SharedPropsInternal.Caption = "Details";
buttonTool85.SharedPropsInternal.Caption = "Distance";
buttonTool86.SharedPropsInternal.Caption = "No charge quantity";
buttonTool87.SharedPropsInternal.Caption = "Repair price";
buttonTool88.SharedPropsInternal.Caption = "Shipping charges";
buttonTool89.SharedPropsInternal.Caption = "Date sent";
buttonTool90.SharedPropsInternal.Caption = "Date returned";
buttonTool91.SharedPropsInternal.Caption = "Notes";
buttonTool92.SharedPropsInternal.Caption = "Charges";
buttonTool93.SharedPropsInternal.Caption = "Summary";
buttonTool94.SharedPropsInternal.Caption = "Description";
buttonTool95.SharedPropsInternal.Caption = "Technician";
buttonTool96.SharedPropsInternal.Caption = "Item loaned";
buttonTool97.SharedPropsInternal.Caption = "Charges";
buttonTool98.SharedPropsInternal.Caption = "Loaned date";
buttonTool99.SharedPropsInternal.Caption = "Returned date";
buttonTool100.SharedPropsInternal.Caption = "Notes";
buttonTool101.SharedPropsInternal.Caption = "Set to default detailed format";
buttonTool101.SharedPropsInternal.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool102.SharedPropsInternal.Caption = "Set to default brief format";
buttonTool102.SharedPropsInternal.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
this.tbManager.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
popupMenuTool9,
popupMenuTool10,
buttonTool17,
buttonTool18,
buttonTool19,
buttonTool20,
buttonTool21,
buttonTool22,
buttonTool23,
buttonTool24,
buttonTool25,
popupMenuTool11,
buttonTool32,
buttonTool33,
buttonTool34,
buttonTool35,
buttonTool36,
buttonTool37,
buttonTool38,
buttonTool39,
buttonTool40,
buttonTool41,
buttonTool42,
popupMenuTool12,
popupMenuTool13,
popupMenuTool14,
popupMenuTool15,
popupMenuTool16,
buttonTool72,
buttonTool73,
buttonTool74,
buttonTool75,
buttonTool76,
buttonTool77,
buttonTool78,
buttonTool79,
buttonTool80,
buttonTool81,
buttonTool82,
buttonTool83,
buttonTool84,
buttonTool85,
buttonTool86,
buttonTool87,
buttonTool88,
buttonTool89,
buttonTool90,
buttonTool91,
buttonTool92,
buttonTool93,
buttonTool94,
buttonTool95,
buttonTool96,
buttonTool97,
buttonTool98,
buttonTool99,
buttonTool100,
buttonTool101,
buttonTool102});
this.tbManager.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.tbManager_ToolClick);
//
// edFooter
//
this.edFooter.AcceptsReturn = true;
this.edFooter.AcceptsTab = true;
this.tbManager.SetContextMenuUltra(this.edFooter, "InsertFooter");
this.edFooter.Dock = System.Windows.Forms.DockStyle.Top;
this.edFooter.Location = new System.Drawing.Point(0, 135);
this.edFooter.Multiline = true;
this.edFooter.Name = "edFooter";
this.edFooter.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.edFooter.Size = new System.Drawing.Size(762, 42);
this.edFooter.TabIndex = 4;
this.edFooter.Text = "sdfasdfasdf";
this.edFooter.Enter += new System.EventHandler(this.editField_Enter);
//
// edHeader
//
this.edHeader.AcceptsReturn = true;
this.edHeader.AcceptsTab = true;
this.tbManager.SetContextMenuUltra(this.edHeader, "InsertHeader");
this.edHeader.Dock = System.Windows.Forms.DockStyle.Top;
this.edHeader.Location = new System.Drawing.Point(0, 32);
this.edHeader.Multiline = true;
this.edHeader.Name = "edHeader";
this.edHeader.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.edHeader.Size = new System.Drawing.Size(762, 42);
this.edHeader.TabIndex = 1;
this.edHeader.Enter += new System.EventHandler(this.editField_Enter);
//
// edUnit
//
this.edUnit.AcceptsReturn = true;
this.edUnit.AcceptsTab = true;
this.tbManager.SetContextMenuUltra(this.edUnit, "InsertUnit");
this.edUnit.Dock = System.Windows.Forms.DockStyle.Top;
this.edUnit.Location = new System.Drawing.Point(0, 202);
this.edUnit.Multiline = true;
this.edUnit.Name = "edUnit";
this.edUnit.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.edUnit.Size = new System.Drawing.Size(762, 41);
this.edUnit.TabIndex = 35;
this.edUnit.Enter += new System.EventHandler(this.editField_Enter);
//
// edService
//
this.edService.AcceptsReturn = true;
this.edService.AcceptsTab = true;
this.tbManager.SetContextMenuUltra(this.edService, "InsertService");
this.edService.Dock = System.Windows.Forms.DockStyle.Top;
this.edService.Location = new System.Drawing.Point(0, 269);
this.edService.Multiline = true;
this.edService.Name = "edService";
this.edService.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.edService.Size = new System.Drawing.Size(762, 41);
this.edService.TabIndex = 37;
this.edService.Enter += new System.EventHandler(this.editField_Enter);
//
// edTravel
//
this.edTravel.AcceptsReturn = true;
this.edTravel.AcceptsTab = true;
this.tbManager.SetContextMenuUltra(this.edTravel, "InsertTravel");
this.edTravel.Dock = System.Windows.Forms.DockStyle.Top;
this.edTravel.Location = new System.Drawing.Point(0, 336);
this.edTravel.Multiline = true;
this.edTravel.Name = "edTravel";
this.edTravel.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.edTravel.Size = new System.Drawing.Size(762, 41);
this.edTravel.TabIndex = 39;
this.edTravel.Enter += new System.EventHandler(this.editField_Enter);
//
// edOutsideService
//
this.edOutsideService.AcceptsReturn = true;
this.edOutsideService.AcceptsTab = true;
this.tbManager.SetContextMenuUltra(this.edOutsideService, "InsertOutsideService");
this.edOutsideService.Dock = System.Windows.Forms.DockStyle.Top;
this.edOutsideService.Location = new System.Drawing.Point(0, 403);
this.edOutsideService.Multiline = true;
this.edOutsideService.Name = "edOutsideService";
this.edOutsideService.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.edOutsideService.Size = new System.Drawing.Size(762, 41);
this.edOutsideService.TabIndex = 41;
this.edOutsideService.Enter += new System.EventHandler(this.editField_Enter);
//
// edMiscExpense
//
this.edMiscExpense.AcceptsReturn = true;
this.edMiscExpense.AcceptsTab = true;
this.tbManager.SetContextMenuUltra(this.edMiscExpense, "InsertMiscExpense");
this.edMiscExpense.Dock = System.Windows.Forms.DockStyle.Top;
this.edMiscExpense.Location = new System.Drawing.Point(0, 470);
this.edMiscExpense.Multiline = true;
this.edMiscExpense.Name = "edMiscExpense";
this.edMiscExpense.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.edMiscExpense.Size = new System.Drawing.Size(762, 41);
this.edMiscExpense.TabIndex = 43;
this.edMiscExpense.Enter += new System.EventHandler(this.editField_Enter);
//
// edLoanItem
//
this.edLoanItem.AcceptsReturn = true;
this.edLoanItem.AcceptsTab = true;
this.tbManager.SetContextMenuUltra(this.edLoanItem, "InsertLoanItem");
this.edLoanItem.Dock = System.Windows.Forms.DockStyle.Top;
this.edLoanItem.Location = new System.Drawing.Point(0, 537);
this.edLoanItem.Multiline = true;
this.edLoanItem.Name = "edLoanItem";
this.edLoanItem.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.edLoanItem.Size = new System.Drawing.Size(762, 41);
this.edLoanItem.TabIndex = 45;
this.edLoanItem.Enter += new System.EventHandler(this.editField_Enter);
//
// InvoiceTemplateBuilder_Fill_Panel
//
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.btnCancel);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.edLoanItem);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblLoanItems);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.edMiscExpense);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblMiscExpenses);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.edOutsideService);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblOutsideService);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.edTravel);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblTravel);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.edService);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblService);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.edUnit);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblUnit);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.edFooter);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblItems);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblCharges);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.edHeader);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.lblHeader);
this.InvoiceTemplateBuilder_Fill_Panel.Controls.Add(this.btnOK);
this.InvoiceTemplateBuilder_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
this.InvoiceTemplateBuilder_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
this.InvoiceTemplateBuilder_Fill_Panel.Location = new System.Drawing.Point(0, 23);
this.InvoiceTemplateBuilder_Fill_Panel.Name = "InvoiceTemplateBuilder_Fill_Panel";
this.InvoiceTemplateBuilder_Fill_Panel.Size = new System.Drawing.Size(762, 649);
this.InvoiceTemplateBuilder_Fill_Panel.TabIndex = 0;
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(11, 603);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(102, 41);
this.btnCancel.TabIndex = 47;
this.btnCancel.UseVisualStyleBackColor = false;
//
// lblLoanItems
//
appearance1.TextVAlignAsString = "Bottom";
this.lblLoanItems.Appearance = appearance1;
this.lblLoanItems.Dock = System.Windows.Forms.DockStyle.Top;
this.lblLoanItems.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblLoanItems.Location = new System.Drawing.Point(0, 511);
this.lblLoanItems.Name = "lblLoanItems";
this.lblLoanItems.Size = new System.Drawing.Size(762, 26);
this.lblLoanItems.TabIndex = 46;
this.lblLoanItems.Text = "Loan items:";
//
// lblMiscExpenses
//
appearance2.TextVAlignAsString = "Bottom";
this.lblMiscExpenses.Appearance = appearance2;
this.lblMiscExpenses.Dock = System.Windows.Forms.DockStyle.Top;
this.lblMiscExpenses.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblMiscExpenses.Location = new System.Drawing.Point(0, 444);
this.lblMiscExpenses.Name = "lblMiscExpenses";
this.lblMiscExpenses.Size = new System.Drawing.Size(762, 26);
this.lblMiscExpenses.TabIndex = 44;
this.lblMiscExpenses.Text = "Misc. expenses:";
//
// lblOutsideService
//
appearance3.TextVAlignAsString = "Bottom";
this.lblOutsideService.Appearance = appearance3;
this.lblOutsideService.Dock = System.Windows.Forms.DockStyle.Top;
this.lblOutsideService.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblOutsideService.Location = new System.Drawing.Point(0, 377);
this.lblOutsideService.Name = "lblOutsideService";
this.lblOutsideService.Size = new System.Drawing.Size(762, 26);
this.lblOutsideService.TabIndex = 42;
this.lblOutsideService.Text = "Outside service:";
//
// lblTravel
//
appearance4.TextVAlignAsString = "Bottom";
this.lblTravel.Appearance = appearance4;
this.lblTravel.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTravel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTravel.Location = new System.Drawing.Point(0, 310);
this.lblTravel.Name = "lblTravel";
this.lblTravel.Size = new System.Drawing.Size(762, 26);
this.lblTravel.TabIndex = 40;
this.lblTravel.Text = "Travel:";
//
// lblService
//
appearance5.TextVAlignAsString = "Bottom";
this.lblService.Appearance = appearance5;
this.lblService.Dock = System.Windows.Forms.DockStyle.Top;
this.lblService.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblService.Location = new System.Drawing.Point(0, 243);
this.lblService.Name = "lblService";
this.lblService.Size = new System.Drawing.Size(762, 26);
this.lblService.TabIndex = 38;
this.lblService.Text = "Service:";
//
// lblUnit
//
appearance6.TextVAlignAsString = "Bottom";
this.lblUnit.Appearance = appearance6;
this.lblUnit.Dock = System.Windows.Forms.DockStyle.Top;
this.lblUnit.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblUnit.Location = new System.Drawing.Point(0, 177);
this.lblUnit.Name = "lblUnit";
this.lblUnit.Size = new System.Drawing.Size(762, 25);
this.lblUnit.TabIndex = 36;
this.lblUnit.Text = "Unit:";
//
// lblItems
//
appearance7.TextVAlignAsString = "Bottom";
this.lblItems.Appearance = appearance7;
this.lblItems.Dock = System.Windows.Forms.DockStyle.Top;
this.lblItems.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblItems.Location = new System.Drawing.Point(0, 103);
this.lblItems.Name = "lblItems";
this.lblItems.Size = new System.Drawing.Size(762, 32);
this.lblItems.TabIndex = 5;
this.lblItems.Text = "Workorder item fields:";
//
// lblCharges
//
this.lblCharges.BackColor = System.Drawing.SystemColors.Control;
this.lblCharges.Dock = System.Windows.Forms.DockStyle.Top;
this.lblCharges.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblCharges.Location = new System.Drawing.Point(0, 74);
this.lblCharges.Name = "lblCharges";
this.lblCharges.Size = new System.Drawing.Size(762, 29);
this.lblCharges.TabIndex = 3;
this.lblCharges.Text = "Line items (charges - parts, service, expenses etc)";
this.lblCharges.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// lblHeader
//
appearance8.TextVAlignAsString = "Bottom";
this.lblHeader.Appearance = appearance8;
this.lblHeader.Dock = System.Windows.Forms.DockStyle.Top;
this.lblHeader.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblHeader.Location = new System.Drawing.Point(0, 0);
this.lblHeader.Name = "lblHeader";
this.lblHeader.Size = new System.Drawing.Size(762, 32);
this.lblHeader.TabIndex = 2;
this.lblHeader.Text = "Workorder header fields:";
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnOK.Location = new System.Drawing.Point(649, 602);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(102, 40);
this.btnOK.TabIndex = 34;
this.btnOK.UseVisualStyleBackColor = false;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// _InvoiceTemplateBuilder_Toolbars_Dock_Area_Left
//
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 23);
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left.Name = "_InvoiceTemplateBuilder_Toolbars_Dock_Area_Left";
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 649);
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left.ToolbarsManager = this.tbManager;
//
// _InvoiceTemplateBuilder_Toolbars_Dock_Area_Right
//
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(762, 23);
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right.Name = "_InvoiceTemplateBuilder_Toolbars_Dock_Area_Right";
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 649);
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right.ToolbarsManager = this.tbManager;
//
// _InvoiceTemplateBuilder_Toolbars_Dock_Area_Top
//
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top.Name = "_InvoiceTemplateBuilder_Toolbars_Dock_Area_Top";
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(762, 23);
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top.ToolbarsManager = this.tbManager;
//
// _InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom
//
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 672);
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom.Name = "_InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom";
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(762, 0);
this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.tbManager;
//
// InvoiceTemplateBuilder
//
this.AcceptButton = this.btnOK;
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(762, 672);
this.Controls.Add(this.InvoiceTemplateBuilder_Fill_Panel);
this.Controls.Add(this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Left);
this.Controls.Add(this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Right);
this.Controls.Add(this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Bottom);
this.Controls.Add(this._InvoiceTemplateBuilder_Toolbars_Dock_Area_Top);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MinimumSize = new System.Drawing.Size(768, 703);
this.Name = "InvoiceTemplateBuilder";
this.Text = "Invoice descriptive text";
this.Load += new System.EventHandler(this.InvoiceTemplateBuilder_Load);
((System.ComponentModel.ISupportInitialize)(this.tbManager)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.edFooter)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.edHeader)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.edUnit)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.edService)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.edTravel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.edOutsideService)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.edMiscExpense)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.edLoanItem)).EndInit();
this.InvoiceTemplateBuilder_Fill_Panel.ResumeLayout(false);
this.InvoiceTemplateBuilder_Fill_Panel.PerformLayout();
this.ResumeLayout(false);
}
#endregion
// __ _ _ ___ ____ __ __ __ __ __ ___ ___
// / _)( )( )/ __)(_ _)/ \( \/ ) / _)/ \( \( _)
// ( (_ )()( \__ \ )( ( () )) ( ( (_( () )) ) )) _)
// \__) \__/ (___/ (__) \__/(_/\/\_) \__)\__/(___/(___)
//************************************************************
#region attribs and props
private PTIDataEx _QDat;//Case 299 (changed to ex)
Infragistics.Win.UltraWinEditors.UltraTextEditor _CurrentTextEditor=null;
#endregion
#region load / close
private void InvoiceTemplateBuilder_Load(object sender, System.EventArgs e)
{
//tbManager.Tools["InsertFooter"].SharedProps.Visible=false;
edHeader.Focus();
edHeader.Text=_QDat.InvoiceHeaderTemplate;
edFooter.Text=_QDat.InvoiceFooterTemplate;
edUnit.Text=_QDat.InvoiceUnitTemplate;
edLoanItem.Text=_QDat.InvoiceLoanItemTemplate;
edMiscExpense.Text=_QDat.InvoiceMiscExpenseTemplate;
edOutsideService.Text=_QDat.InvoiceOutsideServiceTemplate;
edTravel.Text=_QDat.InvoiceTravelTemplate;
edService.Text=_QDat.InvoiceServiceTemplate;
_CurrentTextEditor=edHeader;
}
private void btnOK_Click(object sender, System.EventArgs e)
{
_QDat.InvoiceFooterTemplate=edFooter.Text;
_QDat.InvoiceHeaderTemplate=edHeader.Text;
_QDat.InvoiceUnitTemplate=edUnit.Text;
_QDat.InvoiceLoanItemTemplate=edLoanItem.Text;
_QDat.InvoiceMiscExpenseTemplate=edMiscExpense.Text;
_QDat.InvoiceOutsideServiceTemplate=edOutsideService.Text;
_QDat.InvoiceTravelTemplate=edTravel.Text;
_QDat.InvoiceServiceTemplate=edService.Text;
}
#endregion
#region toolbar stuff
private void editField_Enter(object sender, System.EventArgs e)
{
_CurrentTextEditor=(Infragistics.Win.UltraWinEditors.UltraTextEditor)sender;
tbManager.BeginUpdate();
foreach(ToolBase t in tbManager.Tools)
{
if(t is PopupMenuTool)
t.SharedProps.Visible=false;
}
switch(_CurrentTextEditor.Name)
{
case "edHeader":
tbManager.Tools["InsertHeader"].SharedProps.Visible=true;
break;
case "edFooter":
tbManager.Tools["InsertFooter"].SharedProps.Visible=true;
break;
case "edUnit":
tbManager.Tools["InsertUnit"].SharedProps.Visible=true;
break;
case "edService":
tbManager.Tools["InsertService"].SharedProps.Visible=true;
break;
case "edTravel":
tbManager.Tools["InsertTravel"].SharedProps.Visible=true;
break;
case "edOutsideService":
tbManager.Tools["InsertOutsideService"].SharedProps.Visible=true;
break;
case "edMiscExpense":
tbManager.Tools["InsertMiscExpense"].SharedProps.Visible=true;
break;
case "edLoanItem":
tbManager.Tools["InsertLoanItem"].SharedProps.Visible=true;
break;
}
tbManager.EndUpdate();
}
private void tbManager_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
{
if(e.Tool.Key.StartsWith("~"))
{
_CurrentTextEditor.Text=_CurrentTextEditor.Text.Insert(_CurrentTextEditor.SelectionStart,e.Tool.Key);
}
else
{
switch (e.Tool.Key)
{
case "SetDetailed": // ButtonTool
edHeader.Text="Charges for work order: ~WO#~";
edFooter.Text="Service requested: ~ITEM_SUMMARY~";
edUnit.Text="Unit Serviced: ~AYAFORMAT~";
edService.Text="Service performed by: ~SERVICE_TECH~ Start Date & Time: ~SERVICE_START~ End Date & Time: ~SERVICE_STOP~\r\n" +
"Service Details: ~DETAILS~";
edTravel.Text="Travel Start Date & Time: ~TRAVEL_START~";
edOutsideService.Text="Outside Service Repair Charges: ~REPAIR_PRICE~ Outside Service Shipping Charges: ~SHIP_CHARGE~\r\n" +
"Date Sent: ~SENT~ Date Returned: ~RETURNED~";
edMiscExpense.Text="Misc Expenses Summary: ~SUMMARY~";
edLoanItem.Text="Item Loaned: ~ITEM~ Date Loaned: ~LOANED~ Date returned: ~LOAN_RETURNED~";
break;
case "SetBrief": // ButtonTool
edHeader.Text="Charges for work order: ~WO#~";
edFooter.Text="";
edUnit.Text="";
edService.Text="";
edTravel.Text="";
edOutsideService.Text="";
edMiscExpense.Text="";
edLoanItem.Text="";
break;
}
}
}
#endregion toolbar stuff
//------------------------------------------------------------
}
}

View File

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

View File

@@ -0,0 +1,234 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Infragistics.Win;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for LinkAyaObjectToQBConfirm.
/// </summary>
public class LinkAyaObjectToQBConfirm : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnOK;
private System.Windows.Forms.Button btnCancel;
private Infragistics.Win.UltraWinGrid.UltraGrid grid;
private Infragistics.Win.Misc.UltraLabel lblTO;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public LinkAyaObjectToQBConfirm()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.btnCancel.Image = Util.AyaImage("Cancel24");
this.btnOK.Image = Util.AyaImage("OK24");
}
/// <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()
{
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
this.grid = new Infragistics.Win.UltraWinGrid.UltraGrid();
this.btnOK = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.lblTO = new Infragistics.Win.Misc.UltraLabel();
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
this.SuspendLayout();
//
// grid
//
appearance1.BackColor = System.Drawing.SystemColors.Window;
appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
this.grid.DisplayLayout.Appearance = appearance1;
this.grid.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;
this.grid.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
this.grid.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
appearance2.BorderColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.GroupByBox.Appearance = appearance2;
appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
this.grid.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
this.grid.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
appearance4.BackColor2 = System.Drawing.SystemColors.Control;
appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
this.grid.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
this.grid.DisplayLayout.MaxColScrollRegions = 1;
this.grid.DisplayLayout.MaxRowScrollRegions = 1;
appearance5.BackColor = System.Drawing.SystemColors.Window;
appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
this.grid.DisplayLayout.Override.ActiveCellAppearance = appearance5;
appearance6.BackColor = System.Drawing.SystemColors.Highlight;
appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
this.grid.DisplayLayout.Override.ActiveRowAppearance = appearance6;
this.grid.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.No;
this.grid.DisplayLayout.Override.AllowColMoving = Infragistics.Win.UltraWinGrid.AllowColMoving.NotAllowed;
this.grid.DisplayLayout.Override.AllowColSizing = Infragistics.Win.UltraWinGrid.AllowColSizing.None;
this.grid.DisplayLayout.Override.AllowColSwapping = Infragistics.Win.UltraWinGrid.AllowColSwapping.NotAllowed;
this.grid.DisplayLayout.Override.AllowDelete = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
this.grid.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
appearance7.BackColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.Override.CardAreaAppearance = appearance7;
appearance8.BorderColor = System.Drawing.Color.Silver;
appearance8.FontData.BoldAsString = "True";
appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
this.grid.DisplayLayout.Override.CellAppearance = appearance8;
this.grid.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
this.grid.DisplayLayout.Override.CellPadding = 0;
appearance9.BackColor = System.Drawing.SystemColors.Control;
appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
appearance9.BorderColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.Override.GroupByRowAppearance = appearance9;
appearance10.TextHAlignAsString = "Left";
this.grid.DisplayLayout.Override.HeaderAppearance = appearance10;
this.grid.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
appearance11.BackColor = System.Drawing.SystemColors.Window;
appearance11.BorderColor = System.Drawing.Color.Silver;
this.grid.DisplayLayout.Override.RowAppearance = appearance11;
this.grid.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.RowSizing = Infragistics.Win.UltraWinGrid.RowSizing.Fixed;
this.grid.DisplayLayout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.None;
this.grid.DisplayLayout.Override.SelectTypeCol = Infragistics.Win.UltraWinGrid.SelectType.None;
this.grid.DisplayLayout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.None;
appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
this.grid.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
this.grid.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
this.grid.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
this.grid.Dock = System.Windows.Forms.DockStyle.Top;
this.grid.Location = new System.Drawing.Point(0, 0);
this.grid.Name = "grid";
this.grid.Size = new System.Drawing.Size(481, 222);
this.grid.TabIndex = 0;
this.grid.Text = "Link the following AyaNova objects:";
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnOK.Location = new System.Drawing.Point(368, 303);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(102, 40);
this.btnOK.TabIndex = 30;
this.btnOK.UseVisualStyleBackColor = false;
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(11, 303);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(102, 40);
this.btnCancel.TabIndex = 29;
this.btnCancel.UseVisualStyleBackColor = false;
//
// lblTO
//
this.lblTO.BackColorInternal = System.Drawing.SystemColors.Window;
this.lblTO.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTO.Location = new System.Drawing.Point(0, 241);
this.lblTO.Name = "lblTO";
this.lblTO.Size = new System.Drawing.Size(577, 41);
this.lblTO.TabIndex = 31;
this.lblTO.Text = "ultraLabel1";
//
// LinkAyaObjectToQBConfirm
//
this.AcceptButton = this.btnOK;
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(481, 349);
this.ControlBox = false;
this.Controls.Add(this.lblTO);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.grid);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "LinkAyaObjectToQBConfirm";
this.Text = "Link AyaNova object(s)";
this.Load += new System.EventHandler(this.LinkAyaObjectToQBConfirm_Load);
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DataTable dt=null;
private string _toObject="";
private void LinkAyaObjectToQBConfirm_Load(object sender, System.EventArgs e)
{
grid.DataSource=dt;
this.lblTO.Text=_toObject;
grid.DisplayLayout.CaptionVisible=DefaultableBoolean.True;
grid.DisplayLayout.CaptionAppearance.TextHAlign=HAlign.Left;
}
public DataTable DTRows
{
set
{
dt=value;
}
}
public string ToLabel
{
set
{
_toObject=value;
}
}
//-----------------------
}
}

View File

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

View File

@@ -0,0 +1,295 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for LinkOrImportAyaObject.
/// </summary>
public class LinkOrImportAyaObject : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnOK;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Button btnImport;
private Infragistics.Win.Misc.UltraLabel lblItems;
private Infragistics.Win.UltraWinEditors.UltraComboEditor cbPTItems;
private Infragistics.Win.Misc.UltraLabel lblAyaObject;
private Infragistics.Win.Misc.UltraLabel lblOR;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public LinkOrImportAyaObject()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.btnCancel.Image = Util.AyaImage("Cancel24");
this.btnOK.Image = Util.AyaImage("OK24");
}
/// <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()
{
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
this.btnOK = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.btnImport = new System.Windows.Forms.Button();
this.lblAyaObject = new Infragistics.Win.Misc.UltraLabel();
this.lblItems = new Infragistics.Win.Misc.UltraLabel();
this.cbPTItems = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
this.lblOR = new Infragistics.Win.Misc.UltraLabel();
((System.ComponentModel.ISupportInitialize)(this.cbPTItems)).BeginInit();
this.SuspendLayout();
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnOK.Location = new System.Drawing.Point(392, 203);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(102, 41);
this.btnOK.TabIndex = 32;
this.btnOK.UseVisualStyleBackColor = false;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(10, 207);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(102, 40);
this.btnCancel.TabIndex = 31;
this.btnCancel.UseVisualStyleBackColor = false;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnImport
//
this.btnImport.BackColor = System.Drawing.SystemColors.Control;
this.btnImport.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnImport.Dock = System.Windows.Forms.DockStyle.Top;
this.btnImport.Location = new System.Drawing.Point(0, 135);
this.btnImport.Name = "btnImport";
this.btnImport.Size = new System.Drawing.Size(504, 41);
this.btnImport.TabIndex = 33;
this.btnImport.Text = "Import to Peachtree";
this.btnImport.UseVisualStyleBackColor = false;
this.btnImport.Visible = false;
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
//
// lblAyaObject
//
appearance1.TextVAlignAsString = "Middle";
this.lblAyaObject.Appearance = appearance1;
this.lblAyaObject.BackColorInternal = System.Drawing.SystemColors.Window;
this.lblAyaObject.Dock = System.Windows.Forms.DockStyle.Top;
this.lblAyaObject.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblAyaObject.Location = new System.Drawing.Point(0, 0);
this.lblAyaObject.Name = "lblAyaObject";
this.lblAyaObject.Size = new System.Drawing.Size(504, 36);
this.lblAyaObject.TabIndex = 34;
this.lblAyaObject.Text = "ultraLabel1";
//
// lblItems
//
appearance2.TextVAlignAsString = "Bottom";
this.lblItems.Appearance = appearance2;
this.lblItems.Dock = System.Windows.Forms.DockStyle.Top;
this.lblItems.Location = new System.Drawing.Point(0, 36);
this.lblItems.Name = "lblItems";
this.lblItems.Size = new System.Drawing.Size(504, 37);
this.lblItems.TabIndex = 36;
this.lblItems.Text = "Link to Peachtree item:";
//
// cbPTItems
//
this.cbPTItems.Dock = System.Windows.Forms.DockStyle.Top;
this.cbPTItems.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
this.cbPTItems.LimitToList = true;
this.cbPTItems.Location = new System.Drawing.Point(0, 73);
this.cbPTItems.MaxDropDownItems = 16;
this.cbPTItems.Name = "cbPTItems";
this.cbPTItems.Nullable = false;
this.cbPTItems.Size = new System.Drawing.Size(504, 24);
this.cbPTItems.TabIndex = 35;
//
// lblOR
//
appearance3.TextVAlignAsString = "Bottom";
this.lblOR.Appearance = appearance3;
this.lblOR.Dock = System.Windows.Forms.DockStyle.Top;
this.lblOR.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblOR.Location = new System.Drawing.Point(0, 97);
this.lblOR.Name = "lblOR";
this.lblOR.Size = new System.Drawing.Size(504, 38);
this.lblOR.TabIndex = 37;
this.lblOR.Text = "Or import AyaNova item to Peachtree:";
//
// LinkOrImportAyaObject
//
this.AcceptButton = this.btnOK;
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(504, 269);
this.ControlBox = false;
this.Controls.Add(this.btnImport);
this.Controls.Add(this.lblOR);
this.Controls.Add(this.cbPTItems);
this.Controls.Add(this.lblItems);
this.Controls.Add(this.lblAyaObject);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.MinimumSize = new System.Drawing.Size(516, 306);
this.Name = "LinkOrImportAyaObject";
this.Text = "Resolve AyaNova object";
this.Load += new System.EventHandler(this.LinkOrImportAyaObject_Load);
((System.ComponentModel.ISupportInitialize)(this.cbPTItems)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DataTable _PTItems;
private string _AyaItem;
private bool _CanImport;
private string _Choice="CANCEL";
private void LinkOrImportAyaObject_Load(object sender, System.EventArgs e)
{
cbPTItems.ValueMember="ID";
cbPTItems.DisplayMember="FullName";
this.cbPTItems.DataSource=_PTItems;
//Case 237
//cbPTItems.SortStyle=Infragistics.Win.ValueListSortStyle.Ascending;
if(cbPTItems.SelectedIndex==-1)
cbPTItems.SelectedIndex=0;
this.lblAyaObject.Text=_AyaItem;
this.lblOR.Visible = this.btnImport.Visible=_CanImport;
}
private void btnImport_Click(object sender, System.EventArgs e)
{
_Choice="IMPORT";
this.DialogResult=DialogResult.OK;
this.Close();
}
private void btnOK_Click(object sender, System.EventArgs e)
{
_Choice="LINK";
}
private void btnCancel_Click(object sender, System.EventArgs e)
{
_Choice="CANCEL";
}
public DataTable PTItems
{
set
{
_PTItems=value;
}
}
public string AyaItem
{
set
{
_AyaItem=value;
}
}
public bool CanImport
{
set
{
_CanImport=value;
}
}
public string SelectedPTItem
{
get
{
return cbPTItems.SelectedItem.DataValue.ToString();
}
}
public string SelectedPTItemName
{
get
{
return cbPTItems.SelectedItem.DisplayText;
}
}
public string Choice
{
get
{
return this._Choice;
}
}
}
}

View File

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

File diff suppressed because it is too large Load Diff

View 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tbManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="dsInvoices.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>122, 17</value>
</metadata>
</root>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,354 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tbManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="appearance30.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAArRJREFUOE91kmtI
k2EUx8/7SiFCnzUEW33QjGBSy8zED0ZmiPVFR2mX5YXKS2lpielYq1GOSBOnWayLWSpZds9LpEjYjSTQ
cJQu3cU5t3lb2sd/Z85IEw/8Oc+5/Z7zvjz0v8lkMqRnKBAevh4REaGIjNyA7VFhUCqVmG9Z3jzDKlUO
QkJW4cDBNVAoJEhLX4u43QGIjg6GRpO1PKS6Wo32Fim6Ogi+viJyctahUrcJV8vC5oASCeHXBKH2zual
kNraPMxOEX67CZNOwtt2Qk0VITk5CIVn/KC7RrirJ0y7CG6GNNYHLoZ0dwbC7SDMcMPsOHtW7xdC1uoV
sAwSxm08zPVphnvODgtBrdrxDzJlJHg0Y2YAFz3e8JHQFu4HxzcfGFsLMPiqHKaOVNgNBEsfoVQd5AXU
6TMxxrdN9vI3ctEjdz/f0kMwFq+Eq0fEwKP9+PG4BIb6WAx0Eb53Eqyf57e4X7MPNk54NMm3Tn0iuLpZ
77mJf6jrA8HJsf0d4Wcb4WsTYbCFYObaHOBh1S6MvBRgeipgrFWAo02A+RmfPf65AOcbAbbXXhmbBVSc
28gbCbDwTEl+Aqi5XAZLo4C+G9zU5JWpnkFPGNDAIPY2HrByfpjzaUlS9N/yxvqL20AvNP4w6wVcSg1A
/mEpLFwcvSfAXscAPo89YADH5tsM5jhDvhUGHdc536r1Bx09EodMeTAUe0ORmyyFqUKEUy/CWuWV/aaI
0RoRpkqvUhOjoD3E66cQ4nduWfwetFkRMF0WMaHjZvbWKwwoZ0AZx6UihlkpifFLX+Jfa8iWwHpexLhW
xFCxiBG1CNsFBmh4WOnVMfmCB/S/mQt84FT6wMHDQ6d4g7OsQgYU8QYFnDstoigxbHmAPn8PVGmxyJbH
QHciAdW5Xl3PY8/SnUzA8aSYBQCiP7KB7SLIYO5kAAAAAElFTkSuQmCC
</value>
</data>
<data name="appearance31.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAArRJREFUOE91kmtI
k2EUx8/7SiFCnzUEW33QjGBSy8zED0ZmiPVFR2mX5YXKS2lpielYq1GOSBOnWayLWSpZds9LpEjYjSTQ
cJQu3cU5t3lb2sd/Z85IEw/8Oc+5/Z7zvjz0v8lkMqRnKBAevh4REaGIjNyA7VFhUCqVmG9Z3jzDKlUO
QkJW4cDBNVAoJEhLX4u43QGIjg6GRpO1PKS6Wo32Fim6Ogi+viJyctahUrcJV8vC5oASCeHXBKH2zual
kNraPMxOEX67CZNOwtt2Qk0VITk5CIVn/KC7RrirJ0y7CG6GNNYHLoZ0dwbC7SDMcMPsOHtW7xdC1uoV
sAwSxm08zPVphnvODgtBrdrxDzJlJHg0Y2YAFz3e8JHQFu4HxzcfGFsLMPiqHKaOVNgNBEsfoVQd5AXU
6TMxxrdN9vI3ctEjdz/f0kMwFq+Eq0fEwKP9+PG4BIb6WAx0Eb53Eqyf57e4X7MPNk54NMm3Tn0iuLpZ
77mJf6jrA8HJsf0d4Wcb4WsTYbCFYObaHOBh1S6MvBRgeipgrFWAo02A+RmfPf65AOcbAbbXXhmbBVSc
28gbCbDwTEl+Aqi5XAZLo4C+G9zU5JWpnkFPGNDAIPY2HrByfpjzaUlS9N/yxvqL20AvNP4w6wVcSg1A
/mEpLFwcvSfAXscAPo89YADH5tsM5jhDvhUGHdc536r1Bx09EodMeTAUe0ORmyyFqUKEUy/CWuWV/aaI
0RoRpkqvUhOjoD3E66cQ4nduWfwetFkRMF0WMaHjZvbWKwwoZ0AZx6UihlkpifFLX+Jfa8iWwHpexLhW
xFCxiBG1CNsFBmh4WOnVMfmCB/S/mQt84FT6wMHDQ6d4g7OsQgYU8QYFnDstoigxbHmAPn8PVGmxyJbH
QHciAdW5Xl3PY8/SnUzA8aSYBQCiP7KB7SLIYO5kAAAAAElFTkSuQmCC
</value>
</data>
<data name="appearance32.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABpZJREFUWEeVln9s
U1UUx8fK2A+GfQs/NsZYi0xBHLSYhTAmtnPZBmOu5cdwQUYrKCsEbZGEVSJ2IHFDElokcVtC0v5jNqKh
/Qv4yzYxgv5jG6PhH5M2hijwz3tiVEhIjt9z3zr63t7i+OOT9+59957zveece+8rIqI509TUVAwWgIqT
uxf3n94rhc/0Lbp2qrfqi/dc1f3oXwmqQDkoAfOM7BRi2GkEjJmO9ixffqG//LvoQBEZMfzWwr+De6q+
xth1YBkoBcVG9vIYduqBkfkB97Lmy2+XPDRyrOdUr/Q75mwBK6ZEzBoJw85CMNl0zFX9kpGj2Yj5isjX
XZvB3BZQDThthiJmdOjhyRc9pT8bOZqNZEiixKCZDnTWX8X8V4AETEb2Z3QUgknFKK7GWIHxmF91wM9C
p3niATMpk05S4k461lPzF2y8C1aDUiMfMzoKwaSSc/sqr7JhFpEOW4luuomSKpkxu3AoviPs6RF8h2NK
uASJoES9bauvw86rgKMwoyA1DT2YUHbxQOlddpAathDdgOG8gJTnKdzH8Pcp5ywkG7WTZ1v9b7DjBbxF
S/Q+NA09mFDJK2cIYRWGjQRwWy8CAmQ8D3atVGDnDGgEM9Kgaeg50r28XuR8CKvPh/YZBCh4P9xd+wiO
PwebQIXeh6ahBxMkzq1wkBeQT8McBExF4B/YuQL4XFio96Fp6GEB5/dX3FPYsF5AYRT4PS8iLwBkYw7a
32F5CDujoBk8cwQqT+81X2dD04bnKgDvKewKd+sLd2HnPLCDMr0PTUMPJpRjLx/i7SQczSYgLyIvACho
j79joraWxh9g533AZ8ECvQ9NQw8m8I1Wj1vvjogCO/o/AQzavPo9bQ1/Yv41sB0sBTNOQ01DDybw9Vt1
qKtu90d7qx5zUU07MxLA3PaI/f9Zfzm1Nq//CfNDwAYWghn3gaahBxNMwFzbPfKlzROmqN9M2QlEAk5m
Iz1qo4jfStbecXq5xXUb8/eDBlAB5i4Ag03WjhM1S91jt2yDKXJHMuQKxSkatFMCdwGnROZcI+QcGXEs
4wJKRT1kH0yCFJk9CWp4/TCfAVyAhheSppEHA4vhvHrJriu/WPxp8sey5I9mhQg2nMskKTXhp8SIg+I+
3Hw+K6UnAyTnMpTMyGQPpsg1khbUbzvF5wBH4XlQBjRR0DhmeAAoXbpz/JYtmCHrYJpCkxAAEZ7RDNkC
KUqmc6T8q5ByJ0PZNVaB8ofaxyKdQ2lyhzPkwbvFl6TVbT6uhVbAf0ma+0DjnOEBNT3hcetghhwjOQjI
kORNkmUgKZyrxtOqgHsyyX0ekt90k6KgjT4ewxGw4mn1Y/xIRqRirWNfGLY3gEowfSvqnRdbOk+ukwZg
ZDgnBDDOsEyOMJ7D6spYTO6e6lDe5iLZZhPv0VROOOdxTowbSpLADtENbb4s7O8CtWA6CnoBC2pcl65a
g1lMgrEpEU44twfVWuA0sJOheEYV0IkzX5LEO0cnH34HnoG4LAT4J2WydAafwP45wFHgv2ZRCxoBXPWS
N0W2EBwWCLAPqY4DE1nyjmE3oLg41EKAA7uhtIjkbE5NEVbPY1msDfWTj4IF6UAaeFu2g8VA7IjC1SP8
H26VfDAOATadAAlh59V5x7AbsELemonvcyRvVgVEIklyhNTK5+JjMa5IdloA1wKK8T78HAGrgDiWCwWY
6rrO+i1+TNYJECANvCO4ql0wptZDmmS7XQjw9kWmU8AF6J2QKXRDodBNRQjwxjC/48Rj+LkA+Ee1XC+g
pHbH8CUWYGUBujSIIoygGPFu8SFNiACvMudCEZaZyTUQE23HEMIfVyiQACxgSgQ/zX0JnI5vfAVfvCWf
A/MKBSxY0fXJp5wCa1AVoI8C7wYW4RqV8R3bE2mJjiYp3ukVW849mkPBKU8F6ESw8LWv9f0IXzsBnwnF
GgErt4eC0kCBgFmi4JoS4YygDyvmlHiiMsKukJcFGIjgJwte4zjwK3wdBvyTaioUMH9V+/EWcx8OHU7D
rFGYEgEBjHsMwLknpqIXwbXgDGfF6le1+580bun+Fr4GQJ1eAN98y1AoZy0dJ+9buj5+YsYJyIeShMl8
JzDWAMDpyMe0HWmwIwIa0Mfbj1PCK67qnaS6rjPIfc+DDc3t/HNyGTjBEqBJAd8Bi8BG8AH4xr5p6wPb
5jZav6UL7KB1W3fzXqYXWw9iSx0BR7Gq4wJ+5z7+xmN4zsZNLQQ7jwD/lt0EQ6AT8DbE9dw07z9PJ4J8
UU8t9wAAAABJRU5ErkJggg==
</value>
</data>
<data name="appearance33.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAdVJREFUOE99UzGS
ozAQ9A/gBxBehn8A4WXoBzizM5SZDDKcmQxnkJlMyvYyEW4mhZeJH8AP+gajut2ttberuiRBd2tGKu2e
wWoRdscdJ0pirweezXb03O+fQeaITCMRnymKoHKSn0Fi0Z92kGcPfb6Z11FfwtlIzpzsNQSJTRNhEQmm
IYam+dTHAK1V4XdO9hzqxkLa6SGGYsCYbeMf4luKsQ6Mkz4HBQT2tgdkupm+B2gnfY3xEtpV/D9gJc0X
mUAW/tXJXkNwL58GauFzAFVh2oguiMdO9hz67xyEJ6XyM4cdUswixUQ0A0PKm8U/qNJJv2M17wst2NWA
XTWElLAth+EM47tGetGg/0vzZkNn+Qr/ODZRaRGeDZJKI+8MZjViLkqUd4uk1mCthX9UvbN8gFK9gJtl
X02Ia4vDzSBrDPRdwrBsW7cG+TBTkDHifYqcdUPW6Dg8W0QUsK8s9iVVQTt2tYD8lSCtRrDGPgKyfoKX
qcxZN1BAGqwBJQXUVMVlDaKzKBSa35z6NzjcZ3C5PMbgpL6+CwqI/JNeHlXQOTxCrhMSYtpOYDfauVu5
tmgm76C4s36A321KpeV0VRUd6JXYBaexd1zn9F3l1H9MdE97t/sHILyId0zmGNYAAAAASUVORK5CYII=
</value>
</data>
<data name="appearance34.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABSRJREFUWEell1to
XEUYx0+bmOa2OSdJ3dx7TpqYS5t6zkMQReo5xFCpqe4qwdKbZ6VpvYXuooggyOaltkKh+lDaB2XzIokP
tsGXRLAkCLJ5qYkgpsWHFm9J9SEtWlsvMP6/szubs7Ozm40GfiQ7mfn+//lmdmY+hTFWFP39/ZtACSgD
FU0HmtrqX6h3a4/VxhsPNe5FWwuoA9WgHNwHqP8mWTyOtJGggekAJFgJkV11R+tO1Lxck6iIVVxT4grz
UxmtvBN4NfC1dkybDD4fjLU812JiXANQaTzYAkrBZr+OX3BzugN15ILRwCuBT8pfK/9JFCS0syozJzSm
n1eZMpb7/6oTVTe149oMMnWm6WBTGHFbAc9SBdhCwiRaHjwSfBTpfBuCFyH4sxiM0N5TmXVJZ+F5k0WX
bRa/5bDYLZvFVlO4V03mzOnMnNS8vuJ4GLqD+IuY2AfIUhS63UrtSO2LpW+W3hY7EzqC2FMGcxcsFltx
IBjyRP34DcRWLRb1EVkxWXjJYPaszowJFRnLjm+EjHcV9SX1DG+glNrTEFzE7FZDbOxuOA3+9sQ3ZiAK
A0Rk2WChBZ1ZU8jM+TUDvQO93yhYo/d5A2EkkOKk9b8MRK5jKZJ8KdZii+wY2MEUrPs5r0GyiYyEtmYm
nwEIe2s/azBjXGPq6dw4BKXfTCjMmVKYmtbKMmBNYOazpveblsI/mMyRmVAytfncRctbKv2CJjVOkBHj
gsLsSYWFZhTEVjOop1J9uvd0Zxtwsbs5ec3kA0Z0rK81AcFpEswW9VOUAU5k3sIguRkvreOptIY8wcLC
4bkU3EDXni6m4Dt52jMwmWuAxEW4CZrtmqAfQdQnLBroGOrIb0AmTtDZIDeQFisgzBENnBINyIQ5uQYQ
tEhhjmjgHW5AJijinfsZAwi4QXFCasAu0oBBXz2ZAYmQlCQMpM8KHMUbNIA7IceATEQGhMNJjbngvxmA
OGHiQMoYkAmJ+ITd+RQZA+FiDaTFo7ikzHG9OAMSYRcXEiE3gHt+PfHoku0dSOsayCPsLkJj0fAOMIrR
Nty2jgFBPHbVKWyAzzqPsAfeB+sbSAuL4oQ9ibSJBooU9sDNyU9TuYEC4rHrMIAXkmcA93yO8Hxh4ShI
GUhloPlAs2fgJH2g3Z0xgOtWJh674TBn2sxkIEfYLy4IuwsGDjt8A9KHUMbA1sjW49Wj1X9QA/3TwQxl
4vEbeIwshwQDEmEunp6tM6OjbyrlHD2s38Nz7Ec8Sq/Qq7hx27PbRlBofMc70BqFcAWL4gS1e0EQNF+6
abb0HPPPtuStErZ93/bf+x7ruwbNz8E5ECUDAdAJhnA2J1r2t/zCB9HF42JZuHh8BQbmrIwBUVg229bh
1r9x7//at7vvK2hMgZNgP3gE9PK6oApQaUU/h+H0YuPBxt94EDp+I0sOG1sNY9P5DEA0PJ+7tkT70+13
kebvEe8LMA5eB0PAAlSg1IByf1VEJRg16oDcjbQ/1X654XDDPR6UTkFnJrUEdJqJsy17o4x1Ptl5e6e9
81uM/wycBUeBDXpAENBkqW70SrRMaeYzQqWZBjrAbjCqP6Nf8RsRwR76q3uwexl9k+BjEAfD4CFggFpA
BStlO6tYzTLAQScqSskI1XFdYKBzb+cYhJYajjT8Q6K0qZChPzFb2s1fgg/BKBgEu0AzoP1Fmc0qSP1I
GwkM4tUxOb8fPAgO9Qz2fNT1RNdN62GL4fMP4FNA6/s4eADUAyo8M2nOD1P+BWCvh5fSd1ebAAAAAElF
TkSuQmCC
</value>
</data>
<data name="appearance35.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAb9JREFUOE+Nk72R
wjAQhdWB1IHUgdyB1IHdgd0B7gAyyCCDDDLITMZlOIMMZ5CZ8DLoYO+tEP8wczvzAtv7vV1rV+I1qqZS
UFKuykx0RQ8aQQXeOcjEtOfIFpmGCj3QnFwDa81UkVtp8rWhZKlJj+VR9MUOORVye5CHlAAwhchMFPm1
pU7rqHtKqXv2QeXJBXV+EyqOlvxGk5lLQhEC12ODSvYFaRi4paHiAINzNDh5KtqE0o0hu1DIkaRGyB0L
UsO7wcwDTH/Q6hytjjhJBkM5EEH4MbIzQX4pKFtLympJdhoMhjeDfGsvqm0w464MkhhKfyIY4a8GxRb/
GcWVk8W94qu4I7Cjm8EjzFIDeTH4AGcbNsBBfjXYwWD4wQBgvlHoVpHlSfAE3wwAdxoXDvPJIIL5TlPR
aHxTbDB7NmB4j7kfPEalkPQOFnucV4Oxzu4GQ66W4fS5MsNl68NiuQotX0FALN5Og33AlBqw+XWVU6xE
Deico5PymKKCxmJxdU3pGhAODVCLVZ7yGgfwMXBRtJu4XA5ka7FQ3AFvHnfHIKqVuGBJTP8e9bGWqJAD
WEN8cd6r/SfitZbx8UsI8QfgQZh8gvTvFgAAAABJRU5ErkJggg==
</value>
</data>
<data name="appearance36.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAACPhJREFUWEetl39Q
k/cdx1N/gCAm4YdJIIQEIwHRGjzdj6t4id20iNYEFFBUEoq/zZqAP4ZsQiaoTDehthWusw2dq6BzI111
0LpdHlfviOxauGkPt/6RZ5tWr3drnp22Vef22fuDxkvEW73ecve65/k+z/f5ft6fz/fz/Xy/kRHR12be
vHnjWlepTW+4MhperUrxHKpUrdpfoVnSuDIjD++mgmSgAHIwBSSCeDABjOMxHjvwk4JBxv+8Rt5K4S6i
237iqyS2kzTipXDQQx90r7r1+9fLb7z7ctHHZw8Wfni6IeedhlLtXHynApNYxGMHflIwwISd1WnVJw8V
fnri0OLbYsABw24KDzeRFPKSdAVCRmmi8EgT0ZdeOvKC6jy++wZI/X8IiFduUrar16nfxH0HOFW6cEbv
2kWmc+uLjBdrS/Qf76nQfrpvjeZm6zr17bZuM1UV5ZxBPyfQgK8vAB8/BRIn1U0ayV6eXYP7raAELAWl
oAq4QCM4MhuGZ5ZmfYT7n4HlQA2eXAA6jwdx6XXprJyTKSllfYoreUPyUdyzR98GOsCh5QTUgungaTDf
VJP6m1k2w07crwezASflVwtAJ/Z04v7jU4sXvJUwIOuTkfyn8ve127TPy7fIz+jKdB68t4MZgLOdszwu
ioQZq9MNRnfiIO5t4JuAvY/j8R9rNAI6jQPx6e2Kg72ijCRJRr1XZKTolxELmdI85YvpZdO9uiW7ak0b
X++evPZXg9rihjn4JgNMBrzcJpo2JG9BBH6Me54iE+AIfvUyRKcJRp/6hGFISQpBRtYhGYUgQMTVySJ8
FrJ0COQNhMnaESJzh0imypbrjfaMXXtL00v32EfrQbrxxcm/y1+h45x4DujBqPfMGKPRcEfzCeN7DslK
1pCZlAPwHkKagM9nJUeXiIgQWdpDZOgUyeqHEDxr60Yt4OUoOEnss1OhJ/FzjPUiWAC4BkyI2BhjNBp0
TJjelR6wX7eQI2wh73ABFYwYSNFtJbtPhOcSFbSGSN8ukqUnTPa+MLkFCVEJkdBuJRqwU6BTQcur0+5i
rHZQCLgyPhWxMcZoBHTirFcWvqb6iw3e28QCFBknhfptpPAIpKgPkfIAPG8TR6/svQOCPEGJ7D0iCX0e
om4ledtlVGrLuomxuFawgKRoOzFGGXTgxIs7VKZ65nyTeSQQtJFlQElWeC4K8OqKgzzdTpJ5OexhsnSH
ydwWIgtCz947+8Pk7fAS9RmIevVkbZWR/bum6xjzJcAVMDHa3qPGxzeXatSn6ow94YCdKFBA5FeS1G+g
toCeCiDEJ+Be0JO+o4kMSDorBNj9EpkRBTZua+3Fd2aifjOFWcABGS1bMPNPGHs7yAXx0TYfFRA3dNgs
EWo3iQjhiINoyIa5tBAJBST2W8jZo6SCoJIswzLSN/nJ4uPEA0hCPaZG7EeUWAAQevTkRgQwbgBUAi5O
46NtPiog4eKetH9SEN4PMRAQdCCjwbAbmws2GWwqQ4iO0GMhoc1Cvf42tJHx6ENDnHj3xbIAX5eSqtel
/wfj9gEu0VwlHyYg86iAxJMu9YfEcz0AzyMihsGI8z5X3Gg7SRpicI+coBC/R99hfBN8IALT5+lU0qY1
Gfcw7q/BYqCItsfENNBh8tHKlGPUDw8EDDKAwZCEo0KiRUSEhDBN13EV0Y6I4CkL3o+CrU1B25brv8C4
bwErmBJtj4lpoEMCst8t9SCDWUSAB2KPWAgP/ogQFsECIiI4GhyFB1NhwfxvLcoOY9wj4FsgZgUwMQ10
mNiyQrNUQujIDxF9nM3RQtg7FsKGHggRYfwGIhEVBQnJ2rc3heZUZNwrLpwVxLj1gMtyzApgYhrowMVH
dXy9/PIbmzLvhjuwBLv194XwkuRpYSHR08LeswBcJby72JxNq5/N/Yf5OzPE/JW6GxjvGCgGvEE9LMER
YhrowFsv79O8X++uWJj7zguLjX9urtTcEQ4oSGxX4tjHkYGYyLTAeBiRaVyTf6/MmscGL4LTM0v0p/PW
qi/gvg7wj7fq0R0wmpgGg068h/OhY7a+JGeFZq3+7Pyt2jtDARuJvVYK9ZgJhj7fujT7y/3Oaf/6YUX+
HbslnyvdH0GP0WZsVG9Ud2ldysG8Ss1JPKsGfChhAbw9P34Z4sVoCQa8jyen1GTWTnarBtMrDS0vOdWX
upCYzk49eXwKMpQZbmU4M66DG1mrsq4ZVho+0lfof6lZrzkh3yW/pN6gbof3Z+o35g6daZ1/tWNL3qsY
k6sgH9MnjhGAhxz6+Mt74y75O2RkrJv6SVq17mU8s2eWGTt0Tl3Q60q9ecytuudckvs3PH8PHM5ZlvMT
Y4mxS1OjCcp3yD9T7FD8XVGnuKqsVYbnu5RhSUCuDKCIIZG33z+OcSKyg7G7IR6M/8WG5K3UryR7p5n8
3QWUuyy3V1WlP48INOM9HyYaAJ98XwObwXMZ1Rlu9jjVlXphWsm0QxB0GFG5oFurExzLswYpgDy5ggTF
qqhdaeLVwAeSNDBGwAShPukUJ5ajVU9OJNosW/Zf8fz7gOeQP5wP+EDBZ7oZKe6UZpyIP9Gt0dWivTtz
Xeap1O+lvm8oN/Cms91VPG2f1IuE5RWDPaF0Yf67eM6HVz6wjhXQ6Zi6iZcbh03A1bQy+yrm9HKyJ/lc
2ra0NsyrU1ul5WTiBE2zVmqfPrjHfMu/f5Fkr9VewzvebteB1YBFzt1bmfkjn2vqZ85i0wdodwGuhilg
rACgO7kp5Q89Daa7O8tzr6F9FuwA5fBus2qzap98p/ztpN1J5zDXbx6szzlLAhcl7AlYlujHAtg4JxuH
mQ3xnK8A/N+AT858TE8AY3MAKIEZcEhfAXyG4xMMH7cj53sup4uyVmfV+BrnjPBOOVoN/WZaYc3/Ld5x
weEz30TAx3NeevxfwQAyAdeYmGIUEcCrgJcgzw97wEJYPYc76QHsEVezbJB/sDq7hQ1zhTzqMvwbz/gv
1zLAS23UQ1zZMY5uhJizAPPwBi+5DrByFhKBP+LnLHD0nxHgf7VsZO4PynXHW6p00rPPmK+i/TYo4nfR
Bv43JPsvLxctwMXHr8MAAAAASUVORK5CYII=
</value>
</data>
<data name="appearance37.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAgdJREFUOE+VkzGW
ozAMhn0DuIF9A7iBuQG+AdwAboC7SQdd0tkddKJLOugmHXRJZ7qU9g20mizv7WRndvft954x2NKPLMns
X6wHnm+jslsvG2fSajuXCv2Sh22Od5O/Uxzicuql2SAb3SBXZ1O/ggwbqGw3+R54AP+YeSvK58InlJFq
f/3K7OeoXnijZjaznhne5qowTrYXH33sjzcQXLM//z2+RFWyxKivDKsxRdWvmHQbqoNdl0PSmrdITzeQ
u/lX0jGqi1uC9TlH0Y5PZ3EiAdhwggrtMXbrCulu/ovt0gh3FHq5pKhnjmaSmJw6TI1HSiHqwaIfEtSa
jX6B53FecC3X4V1heM+pSgotCTR9itUJsCVnd6G9s0Bjpd1dXnE6qnDKEJcC8VYiuhrxXmNY6fuuaD3H
5ZzQMYpud3nFT00eIEGcSeSaI64kcq8w3EjA0SABY3lY+j/U/6OztqGobBdPay8wXCQGiihcVfBnOS82
K7OGNbv595RDkaQ6qg1lujWxU8fIqlNs8gNTcpCleGOtn2qFj+U1iR5UApaj0JGmzstGKMpwbdP5MXPW
soJ19OyY7gyfcaGjPabXTvSjylYKWR5jK05cFWf1rHMDRV6fBPCOKbgDX4dMUp4mdJA8HT8TQFFoP28Y
CXAaagI54kwJpev4NPpf/FikwcSAdxD70m8w9gOeKVLhO4Vx6QAAAABJRU5ErkJggg==
</value>
</data>
<data name="appearance38.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABJdJREFUWEftVyt0
nFoUHffkjEvdjKxjZB24SnCvDtzDgUscuBkHLuMYlzhwiQOXuHtd67jyuYus228fIOlnvTS/tqpnrbNm
IHA+++yz72Txxx61WLn0zXz1my1Wq9Wptm5pwO8tPZj/8pssVlVwOcCtBoQNEFxYSEG8n9PX81O/yAi9
s+/hFAbRRY9Nzu+lhV+DxQxwdr2gUtP9+Y2fbInSPrtPmx4DLOxni+rGwC1YzI6fR6JyBfiVxTJRPQtJ
6av57VdarDL/aLE9TJ3m1z3MYFnIANCVGZBcGhbSY3tuEczjGRF5tZHx6zMN6T4oWoyFkAPSdVj1aD9Z
FjHZ8Bnwyh7uBVB0gxTQzFFeYQwihJPE6VmOJEnhXQyE2sAj7E7BgsiNsjXoPrGwvUHSToXw3XSO8kLj
mrnnZkzml2pKfOjhkXgRC8n3xf21jGdNYnrsvrwZuzf05RzpBcaXl6k2Mk9/36IsSwRpMSYTF0T8XTN+
bjIP0TFjcoOsYzE7LQVEc6QXWqwK2XnpMCi78XPsligkpxnSsoZ3ORWzPTRYnXlwDy3yduxeS4ju/TYz
h9TapoBtcpgyMu12/QTxitVW2C477hcdCkL9Tfe7FkGcj6MJdzWCc46H9/MbYEPC8v2gPwt6fORNfQRu
S+CmALocuE6hw+0j2xErJcRL8g5ZWk8cENKx42j/JaF4eFogPU0RHDQ1Ylw9VZ8svTHpXeI2A65SegLU
IXD0wQoe4EesQhETCV67IWyWoXkXTAlZgCRMkmQaiaylFEceFOx+lY7de82bRT4mvEvcRMBlAFzQj97o
LMCZM35nFB3pROAUDhRRQS+RVB3UIUJ1KOFTZKQY4UJ2llF0KM/H+YCi1atFqpPVlHRM7AOVO3ntwx5G
BB44O9gB3YjEyjoVtyyE4wiZROVbmJ2DrKgQcDPG7s/12D3lVwrYSghBoPOWsLsNBnY7XBH2WyJhKzAI
OeD8AAEx2d9YJfTeyTWl14IyMJ6A0ZGqyHlneY40TRFech3P54NotuZkkQsCkkhHDvrcQ1+G/AzQx9s7
BJ74m4KcoGuRYxlNJYXIoSM6IBsySa74fcBmvci6918h0HAMN0TgXyKg7xF45o8aOWZj1a1SxePYjIUI
T1zKMO9X81OjkQOuSpfQHzbQ/xCBvQ9zTgR2dCKgEyKyT7Q5ZL0+DdvmZOnOrz7BJo60MnPhCb8P9HtC
1X8tnNZx0tbdWB2uYUuXCJADKoO9yTFcczV7HhYfOU/RCEVUuKp94qk5xBNNCDf9AMnlkpAu+zzsobmv
XwdvCXnsQp/5gz1QB+7+9p04iUZQOV8u34RV/Si4+uBntpJteECcqBE6cp+Jwlcmc/5RcLOPjPp7Od37
P3EiUTt3Xc7hnm+dz+DNA8EvPI4h0M3bRaPjJQYRJNmMls8pPm9KmGME4c8c7vnG4LWS4AcGvyQa4tdC
vpTES9C+XSfjc5vFUchpCpcnZARbJ+RHYJo3K28M9BpjEV2frjEw+SDKN3bG5O82364pCUuXI9F7vh48
YhKwWS2j1lnn9XIR8voX/7/wx36qLRb/AZXGt/x0BEUxAAAAAElFTkSuQmCC
</value>
</data>
<data name="appearance39.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAixJREFUOE+tkjFo
E1EYxx8kGGiUVOKUFFJwUKiY4QoZFDLcEOTAKIde5YYMtdyQIZYiQQVD7BDlqqEcMYSjHCGUEKSE0KFC
KEE7BDkkww03ZMhwww033JAhQ4a/r/HAUlNE6G/8v+//ve/9v0culwjjD780FLIqsZ7yfwSfavmUZiNZ
cxEvW8PgE22LNg17x/8gwsQYxR5vdy2YjgP52AZXd5CoOJMbeVP2qi4m9nZ4KCh9cJUB2JqFUtfFwBqD
1Vww74d9r2w+vkdqmlNHED8egW1NkCk16TNOcK+qI3PggjxUea90DhHmKrNrW5lyF5xiIF3RwZdPkKrp
YOs93C6a/eYGVx1/lafjzptJ43G84Dl/ExYbcq7Uh7pZBduktxc1pOo2RPkQgmZBSGa38G0b6OaBdgZo
cBAICXl2QpZem02p46LwiTap7kCpKOB3+8hqOqJ5oysskPuj/E1MWmngeB3uHn/a4MxmIoyP7p1feWfq
mZaLbNvGOs0gTYOkOrN2jSQNKQprJwm3nYMtzyZY9NznoB9o6ZXRE/cdhF4YX06l0vVgQn8WnVpyCs4B
baDm4HbKzuiD1EtEF5mZ7y9WpQSdbNnc5NsYNIAfCsb7EkZFcYifKmaZHOVgFTndc8zHVoQ/4TU56GLc
dPc4oLNG83gOY4Npe6Xzke/6VPdzEtPvWVhV0Y4vBKJyLJDV07dU9UG8cOeK/4IsziD4fctiKJBYISTg
SZcJIb8AEbItTQ2cjf4AAAAASUVORK5CYII=
</value>
</data>
</root>

View File

@@ -0,0 +1,431 @@
using System;
using System.Xml;
using System.IO;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Case 299
/// PTIDataEx replaces original PTIData which was not
/// designed for expansion
/// </summary>
[Serializable]
public class PTIDataEx
{
#region fields
private Guid _PreWOStatus=Guid.Empty;
private Guid _PostWOStatus=Guid.Empty;
private string _OutsideServiceChargeAs="";
private string _WorkorderItemLoanChargeAs="";
private string _MiscExpenseChargeAs="";
//private string _PTInvoiceTemplate="";
private bool _SetMemoField=true;
//private string _TransactionClass="";
//private bool _ToBePrinted=true;
private string _InvoiceHeaderTemplate="";
private string _InvoiceFooterTemplate="";
private string _InvoiceUnitTemplate="";
private string _InvoiceServiceTemplate="";
private string _InvoiceTravelTemplate="";
private string _InvoiceOutsideServiceTemplate="";
private string _InvoiceMiscExpenseTemplate="";
private string _InvoiceLoanItemTemplate="";
//Case 7
private bool _AutoClose = true;
public bool IsDirty=false;
#endregion
#region Properties
public Guid PreWOStatus
{
get { return _PreWOStatus; }
set
{
if(_PreWOStatus!=value)
{
_PreWOStatus = value;
IsDirty=true;
}
}
}
public Guid PostWOStatus
{
get { return _PostWOStatus; }
set
{
if(_PostWOStatus!=value)
{
_PostWOStatus = value;
IsDirty=true;
}
}
}
public string OutsideServiceChargeAs
{
get { return _OutsideServiceChargeAs; }
set
{
if(_OutsideServiceChargeAs!=value)
{
_OutsideServiceChargeAs = value;
IsDirty=true;
}
}
}
public string MiscExpenseChargeAs
{
get { return _MiscExpenseChargeAs; }
set
{
if(_MiscExpenseChargeAs!=value)
{
_MiscExpenseChargeAs = value;
IsDirty=true;
}
}
}
public string WorkorderItemLoanChargeAs
{
get { return _WorkorderItemLoanChargeAs; }
set
{
if(_WorkorderItemLoanChargeAs!=value)
{
_WorkorderItemLoanChargeAs = value;
IsDirty=true;
}
}
}
//public string PTInvoiceTemplate
//{
// get { return _PTInvoiceTemplate; }
// set
// {
// if(_PTInvoiceTemplate!=value)
// {
// _PTInvoiceTemplate = value;
// IsDirty=true;
// }
// }
//}
public bool SetMemoField
{
get { return _SetMemoField; }
set
{
if(_SetMemoField!=value)
{
_SetMemoField = value;
IsDirty=true;
}
}
}
//public string TransactionClass
//{
// get { return _TransactionClass; }
// set
// {
// if(_TransactionClass!=value)
// {
// _TransactionClass = value;
// IsDirty=true;
// }
// }
//}
//public bool ToBePrinted
//{
// get { return _ToBePrinted; }
// set
// {
// if(_ToBePrinted!=value)
// {
// _ToBePrinted = value;
// IsDirty=true;
// }
// }
//}
public string InvoiceHeaderTemplate
{
get { return _InvoiceHeaderTemplate; }
set
{
if(_InvoiceHeaderTemplate!=value)
{
_InvoiceHeaderTemplate = value;
IsDirty=true;
}
}
}
public string InvoiceFooterTemplate
{
get { return _InvoiceFooterTemplate; }
set
{
if(_InvoiceFooterTemplate!=value)
{
_InvoiceFooterTemplate = value;
IsDirty=true;
}
}
}
public string InvoiceUnitTemplate
{
get { return _InvoiceUnitTemplate; }
set
{
if(_InvoiceUnitTemplate!=value)
{
_InvoiceUnitTemplate = value;
IsDirty=true;
}
}
}
public string InvoiceServiceTemplate
{
get { return _InvoiceServiceTemplate; }
set
{
if(_InvoiceServiceTemplate!=value)
{
_InvoiceServiceTemplate = value;
IsDirty=true;
}
}
}
public string InvoiceTravelTemplate
{
get { return _InvoiceTravelTemplate; }
set
{
if(_InvoiceTravelTemplate!=value)
{
_InvoiceTravelTemplate = value;
IsDirty=true;
}
}
}
public string InvoiceOutsideServiceTemplate
{
get { return _InvoiceOutsideServiceTemplate; }
set
{
if(_InvoiceOutsideServiceTemplate!=value)
{
_InvoiceOutsideServiceTemplate = value;
IsDirty=true;
}
}
}
public string InvoiceMiscExpenseTemplate
{
get { return _InvoiceMiscExpenseTemplate; }
set
{
if(_InvoiceMiscExpenseTemplate!=value)
{
_InvoiceMiscExpenseTemplate = value;
IsDirty=true;
}
}
}
public string InvoiceLoanItemTemplate
{
get { return _InvoiceLoanItemTemplate; }
set
{
if(_InvoiceLoanItemTemplate!=value)
{
_InvoiceLoanItemTemplate = value;
IsDirty=true;
}
}
}
public bool HasInvoiceHeaderTemplate
{
get
{
return _InvoiceHeaderTemplate!="";
}
}
public bool HasAnyInvoiceFooterTemplateFields
{
get
{
if(this._InvoiceFooterTemplate!="" ||
this._InvoiceUnitTemplate!="" ||
this._InvoiceServiceTemplate!="" ||
this._InvoiceTravelTemplate!="" ||
this._InvoiceLoanItemTemplate!="" ||
this._InvoiceMiscExpenseTemplate!="" ||
this._InvoiceOutsideServiceTemplate!=""
)
return true;
else
return false;
}
}
//Case 7
public bool AutoClose
{
get { return _AutoClose; }
set
{
if (_AutoClose != value)
{
_AutoClose = value;
IsDirty = true;
}
}
}
/// <summary>
/// Flag indicating whether user has configured
/// PTI at all yet, this is used to present a description
/// of the configuration that is about to take place to the user
///
/// If this is false then any missing option is considered a one-off
/// and no general initial description is given to the user about setting
/// up PTI
/// </summary>
public bool NothingSet
{
get
{
if(_PreWOStatus==Guid.Empty &&
_PostWOStatus==Guid.Empty &&
_OutsideServiceChargeAs=="" &&
_WorkorderItemLoanChargeAs=="" &&
_MiscExpenseChargeAs=="" ) return true;
return false;
}
}
#endregion props
public PTIDataEx()
{
//
// TODO: Add constructor logic here
//
}
#region XML in/out
/// <summary>
/// Set - Sets the fields in this object based on the contents of the xml string
/// Get - Get's the fields of this object in the format of an xml string
/// </summary>
public string XMLData
{
get
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
System.Xml.XmlTextWriter w = new System.Xml.XmlTextWriter(new StringWriter(sb));
w.Formatting = System.Xml.Formatting.Indented;
w.WriteStartDocument(true);
w.WriteStartElement("PTISettings");
w.WriteElementString("PreWOStatus", XmlConvert.ToString(_PreWOStatus));
w.WriteElementString("PostWOStatus", XmlConvert.ToString(_PostWOStatus));
w.WriteElementString("OutsideServiceChargeAs", _OutsideServiceChargeAs);
w.WriteElementString("WorkorderItemLoanChargeAs", _WorkorderItemLoanChargeAs);
w.WriteElementString("MiscExpenseChargeAs", _MiscExpenseChargeAs);
//w.WriteElementString("PTInvoiceTemplate", _PTInvoiceTemplate);
w.WriteElementString("SetMemoField", XmlConvert.ToString(_SetMemoField));
// w.WriteElementString("TransactionClass", _TransactionClass);
// w.WriteElementString("ToBePrinted", XmlConvert.ToString(_ToBePrinted));
w.WriteElementString("InvoiceHeaderTemplate", _InvoiceHeaderTemplate);
w.WriteElementString("InvoiceFooterTemplate", _InvoiceFooterTemplate);
w.WriteElementString("InvoiceUnitTemplate", _InvoiceUnitTemplate);
w.WriteElementString("InvoiceServiceTemplate", _InvoiceServiceTemplate);
w.WriteElementString("InvoiceTravelTemplate", _InvoiceTravelTemplate);
w.WriteElementString("InvoiceOutsideServiceTemplate", _InvoiceOutsideServiceTemplate);
w.WriteElementString("InvoiceMiscExpenseTemplate", _InvoiceMiscExpenseTemplate);
w.WriteElementString("InvoiceLoanItemTemplate", _InvoiceLoanItemTemplate);
//Case 7
w.WriteElementString("AutoClose", XmlConvert.ToString(_AutoClose));
w.WriteEndElement();
w.WriteEndDocument();
w.Flush();
w.Close();
return sb.ToString();
}
set
{
// Load the signed XML license file.
XmlDocument xmldoc = new XmlDocument();
try
{
xmldoc.LoadXml(value);
}
catch (Exception ex)
{
throw new ApplicationException("Error: exception in PTIDataEx::XMLData.set()->LoadXml:\r\n." + ex.Message, ex.InnerException);
}
_PreWOStatus = XmlConvert.ToGuid(xmldoc.SelectSingleNode("/PTISettings/PreWOStatus").InnerText);
_PostWOStatus = XmlConvert.ToGuid(xmldoc.SelectSingleNode("/PTISettings/PostWOStatus").InnerText);
_OutsideServiceChargeAs = xmldoc.SelectSingleNode("/PTISettings/OutsideServiceChargeAs").InnerText;
_WorkorderItemLoanChargeAs = xmldoc.SelectSingleNode("/PTISettings/WorkorderItemLoanChargeAs").InnerText;
_MiscExpenseChargeAs = xmldoc.SelectSingleNode("/PTISettings/MiscExpenseChargeAs").InnerText;
//_PTInvoiceTemplate = xmldoc.SelectSingleNode("/PTISettings/PTInvoiceTemplate").InnerText;
_SetMemoField = XmlConvert.ToBoolean(xmldoc.SelectSingleNode("/PTISettings/SetMemoField").InnerText);
//_TransactionClass = xmldoc.SelectSingleNode("/PTISettings/TransactionClass").InnerText;
//_ToBePrinted = XmlConvert.ToBoolean(xmldoc.SelectSingleNode("/PTISettings/ToBePrinted").InnerText);
_InvoiceHeaderTemplate = xmldoc.SelectSingleNode("/PTISettings/InvoiceHeaderTemplate").InnerText;
_InvoiceFooterTemplate = xmldoc.SelectSingleNode("/PTISettings/InvoiceFooterTemplate").InnerText;
_InvoiceUnitTemplate = xmldoc.SelectSingleNode("/PTISettings/InvoiceUnitTemplate").InnerText;
_InvoiceServiceTemplate = xmldoc.SelectSingleNode("/PTISettings/InvoiceServiceTemplate").InnerText;
_InvoiceTravelTemplate = xmldoc.SelectSingleNode("/PTISettings/InvoiceTravelTemplate").InnerText;
_InvoiceOutsideServiceTemplate = xmldoc.SelectSingleNode("/PTISettings/InvoiceOutsideServiceTemplate").InnerText;
_InvoiceMiscExpenseTemplate = xmldoc.SelectSingleNode("/PTISettings/InvoiceMiscExpenseTemplate").InnerText;
_InvoiceLoanItemTemplate = xmldoc.SelectSingleNode("/PTISettings/InvoiceLoanItemTemplate").InnerText;
//Case 7
_AutoClose = XmlConvert.ToBoolean(xmldoc.SelectSingleNode("/PTISettings/AutoClose").InnerText);
//FUTURE: items are going to have to check for presence of nodes before attempting to retrieve them
}
}
#endregion
}
}

View File

@@ -0,0 +1,282 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AyaNova.PlugIn;
using System.Windows.Forms;
using GZTW.AyaNova.BLL;
using System.Threading;
namespace AyaNova.PlugIn.PTI
{
class PTIPlugin : IAyaNovaPlugin
{
private static bool bLicensed = false;
private static bool bPFCDone = false;
private static List<RootObjectTypes> ObjectsWeCanDealWith = null;
#region IAyaNovaPlugin Members
#region Interface Properties
public string PluginName
{
get { return "AyaNova PTI"; }
}
public Guid PluginID
{
get { return new Guid("{0B937F64-7BC4-4b7d-A1CF-46BD14F49918}"); }
}
public System.Drawing.Image PluginSmallIcon
{
get
{
return Resource.PTI16;
}
}
public System.Drawing.Image PluginLargeIcon
{
get
{
return Resource.PTI32;
}
}
public string PluginVersion
{
get { return "7.5"; }
}
public string About
{
get
{
return
"AyaNova PTI plugin\r\n" +
"Built " + AyaNova.PlugIn.PTI.Timestamp.BuildAt.ToString() + "\r\n" +
"Copyright 2007-2018 Ground Zero Tech-Works Inc.";
}
}
public System.Resources.ResourceManager AyaNovaResourceManager
{
set
{
Util.AyaResource = value;
}
}
#endregion interface props
#region Initialization and close
public bool Initialize(Version AyaNovaVersion, LocalizedTextTable localizedText)
{
Util.LocaleText = localizedText;
//case 1841
//if (AyaBizUtils.Trial)
//{
// //case 1031
// //MessageBox.Show("AyaNova PTI can not be used with a trial AyaNova database");
// return false;
//}
//case 1590
// bLicensed = (!string.IsNullOrEmpty(AyaBizUtils.PluginLicensedVersion("PTI - Peachtree interface")));
//case 2094
//First, handle fuckery related to having two different licensed plugin names for this one plugin
//Old style name by default
string sPluginKeyName = "PTI - Peachtree interface";
//if the old name doesn't exist then assume new name,
//if it doesn't either then no worries it's not licensed either way
if (!AyaBizUtils.PluginSubscriptionExists(sPluginKeyName))
sPluginKeyName = "PTI - US Sage 50/Peachtree interface";
bLicensed = AyaBizUtils.PluginAllowed(sPluginKeyName, AyaNova.PlugIn.PTI.Timestamp.BuildAt);
if (!bLicensed && AyaBizUtils.PluginTooNew(sPluginKeyName, AyaNova.PlugIn.PTI.Timestamp.BuildAt))
{
MessageBox.Show(
"NOT LICENSED!\r\n\r\nThis PTI plugin was built " +
AyaNova.PlugIn.PTI.Timestamp.BuildAt.ToString() + "\r\n" +
"but your license subscription for it ended " +
AyaBizUtils.PluginSubscriptionDate(sPluginKeyName).ToString() + "\r\n" +
"\r\nDowngrade back to your previous version or purchase a subscription to use this plugin.");
return false;
}
if (AyaNovaVersion.Major != 7)
{
MessageBox.Show("This AyaNovaPTI plugin requires AyaNova version 7");
return false;
}
Util.GlobalSettings = AyaBizUtils.GlobalSettings;
ObjectsWeCanDealWith = new List<RootObjectTypes>();
ObjectsWeCanDealWith.Add(RootObjectTypes.Nothing);
// ObjectsWeCanDealWith.Add(RootObjectTypes.Client);
return true;
}
public void Close()
{
;
}
#endregion init and close
#region Show menu?
public bool SingleObjectMenuShow(RootObjectTypes objectType)
{
return (ObjectsWeCanDealWith.Contains(objectType));
}
public bool MultipleObjectsMenuShow(RootObjectTypes objectType)
{
return (ObjectsWeCanDealWith.Contains(objectType));
}
#endregion Show menu
#region menu options
public List<AyaNovaPluginMenuItem> SingleObjectMenuOptions(RootObjectTypes objectType, object ayaNovaObject)
{
if (!ObjectsWeCanDealWith.Contains(objectType)) return null;
if (!bLicensed)
{
MessageBox.Show("An AyaNova PTI license is required to use this Peachtree integration plugin\r\n");
return null;
}
if (!DoPFC()) return null;
List<AyaNovaPluginMenuItem> list = new List<AyaNovaPluginMenuItem>();
switch (objectType)
{
case RootObjectTypes.Nothing:
list.Add(new AyaNovaPluginMenuItem("MAIN", "PTI Main", Resource.PTI32, Resource.PTI16));
if(bPFCDone)
list.Add(new AyaNovaPluginMenuItem("RESCANQB", "Refresh Peachtree connection", null,null));
break;
//case RootObjectTypes.Client:
// list.Add(new AyaNovaPluginMenuItem("CLIENTLINKREFRESH", "Link / Refresh", null, null));
// break;
}
return list;
//if (objectType == RootObjectTypes.Client)
//{
//List<AyaNovaPluginMenuItem> list = new List<AyaNovaPluginMenuItem>();
//list.Add(new AyaNovaPluginMenuItem("KEY1", "Command1 for " + ayaNovaObject.ToString(), Resource.UnLink32, Resource.OK16));
//list.Add(new AyaNovaPluginMenuItem("KEY2", "My command 2 no icon", null, null));
//return list;
////}
//else
// return null;
}
public List<AyaNovaPluginMenuItem> MultipleObjectsMenuOptions(RootObjectTypes objectType)
{
return null;
//if (!ObjectsWeCanDealWith.Contains(objectType)) return null;
//if (!bLicensed)
//{
// MessageBox.Show("An AyaNova PTI license is required to use this Peachtree integration plugin\r\n");
// return null;
//}
//if (!DoPFC()) return null;
//List<AyaNovaPluginMenuItem> list = new List<AyaNovaPluginMenuItem>();
//list.Add(new AyaNovaPluginMenuItem("KEY1", "List Command1 for " + objectType.ToString(), null,null));
//list.Add(new AyaNovaPluginMenuItem("KEY2", "Multiple command 2 no icon", null, null));
//return list;
}
#endregion menu options
#region Commands
public bool CommandSelectedForList(string commandKey, RootObjectTypes objectType, List<Guid> objectIDList, object listObject)
{
return false;
//if (!ObjectsWeCanDealWith.Contains(objectType)) return false;
//MessageBox.Show("Command for list:" + commandKey + " ObjectType:" + objectType.ToString() + " Count selected: " + objectIDList.Count.ToString());
//return true;
}
public void CommandSelectedForSingleObject(string commandKey, RootObjectTypes objectType, object ayaNovaObject)
{
if (!ObjectsWeCanDealWith.Contains(objectType)) return;
switch (commandKey)
{
case "MAIN":
MainForm mf = new MainForm();
mf.Show();
break;
case "RESCANQB":
Util.PopulatePTListCache();
Util.PopulateAyaListCache();
break;
}
//string sObject = "NULL";
//if (ayaNovaObject != null)
// sObject = ayaNovaObject.ToString();
//MessageBox.Show("Command:" + commandKey + " ObjectType:" + objectType.ToString() + " Object: " + sObject);
}
#endregion commands
#endregion
#region Pre flight check
private bool DoPFC()
{
if (bPFCDone) return true;
if (Util.PreFlightCheck() != Util.pfstat.OK)
{
IntegrationLog.Log(Util.PTID, "PTI Preflight check failed, shutting down");
bPFCDone = false;
return false;
}
bPFCDone = true;
return true;
}
#endregion
}
}

View File

@@ -0,0 +1,36 @@
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("AyaNova Peachtree interface")]
[assembly: AssemblyDescription("AyaNova Peachtree interface")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ground Zero Tech-Works Inc.")]
[assembly: AssemblyProduct("AyaNova Peachtree interface")]
[assembly: AssemblyCopyright("Copyright © 2007-2018")]
[assembly: AssemblyTrademark("AyaNova is a registered trademark of Ground Zero Tech-Works Inc.")]
[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("1b11d788-c035-4c77-a521-b9f8da5434e7")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("7.5.0.0")]
[assembly: AssemblyFileVersion("7.5.1.0")]

View File

@@ -0,0 +1,7 @@
Infragistics.Win.UltraWinToolbars.UltraToolbarsManager, Infragistics4.Win.UltraWinToolbars.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
Infragistics.Win.Misc.UltraLabel, Infragistics4.Win.Misc.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
Infragistics.Win.UltraWinEditors.UltraOptionSet, Infragistics4.Win.UltraWinEditors.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
Infragistics.Win.UltraWinStatusBar.UltraStatusBar, Infragistics4.Win.UltraWinStatusBar.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
Infragistics.Win.UltraWinEditors.UltraTextEditor, Infragistics4.Win.UltraWinEditors.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
Infragistics.Win.UltraWinGrid.UltraGrid, Infragistics4.Win.UltraWinGrid.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
Infragistics.Win.UltraWinEditors.UltraComboEditor, Infragistics4.Win.UltraWinEditors.v11.2, Version=11.2.20112.2135, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb

View File

@@ -0,0 +1,243 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for QBMapDetails.
/// </summary>
public class QBMapDetails : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnOK;
private System.Windows.Forms.Button btnCancel;
private Infragistics.Win.UltraWinGrid.UltraGrid grid;
private Infragistics.Win.Misc.UltraLabel lblTO;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public QBMapDetails()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.btnCancel.Image = Util.AyaImage("Cancel24");
this.btnOK.Image = Util.AyaImage("OK24");
}
/// <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()
{
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
this.grid = new Infragistics.Win.UltraWinGrid.UltraGrid();
this.btnOK = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.lblTO = new Infragistics.Win.Misc.UltraLabel();
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
this.SuspendLayout();
//
// grid
//
appearance1.BackColor = System.Drawing.SystemColors.Window;
appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
this.grid.DisplayLayout.Appearance = appearance1;
this.grid.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;
this.grid.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
this.grid.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
appearance2.BorderColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.GroupByBox.Appearance = appearance2;
appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
this.grid.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
this.grid.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
appearance4.BackColor2 = System.Drawing.SystemColors.Control;
appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
this.grid.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
this.grid.DisplayLayout.MaxColScrollRegions = 1;
this.grid.DisplayLayout.MaxRowScrollRegions = 1;
appearance5.BackColor = System.Drawing.SystemColors.Window;
appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
this.grid.DisplayLayout.Override.ActiveCellAppearance = appearance5;
appearance6.BackColor = System.Drawing.SystemColors.Highlight;
appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
this.grid.DisplayLayout.Override.ActiveRowAppearance = appearance6;
this.grid.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.No;
this.grid.DisplayLayout.Override.AllowColMoving = Infragistics.Win.UltraWinGrid.AllowColMoving.NotAllowed;
this.grid.DisplayLayout.Override.AllowColSizing = Infragistics.Win.UltraWinGrid.AllowColSizing.None;
this.grid.DisplayLayout.Override.AllowColSwapping = Infragistics.Win.UltraWinGrid.AllowColSwapping.NotAllowed;
this.grid.DisplayLayout.Override.AllowDelete = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.True;
this.grid.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
this.grid.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
appearance7.BackColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.Override.CardAreaAppearance = appearance7;
appearance8.BorderColor = System.Drawing.Color.Silver;
appearance8.FontData.BoldAsString = "True";
appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
this.grid.DisplayLayout.Override.CellAppearance = appearance8;
this.grid.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
this.grid.DisplayLayout.Override.CellPadding = 0;
appearance9.BackColor = System.Drawing.SystemColors.Control;
appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
appearance9.BorderColor = System.Drawing.SystemColors.Window;
this.grid.DisplayLayout.Override.GroupByRowAppearance = appearance9;
appearance10.TextHAlignAsString = "Left";
this.grid.DisplayLayout.Override.HeaderAppearance = appearance10;
this.grid.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
appearance11.BackColor = System.Drawing.SystemColors.Window;
appearance11.BorderColor = System.Drawing.Color.Silver;
this.grid.DisplayLayout.Override.RowAppearance = appearance11;
this.grid.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
this.grid.DisplayLayout.Override.RowSizing = Infragistics.Win.UltraWinGrid.RowSizing.Fixed;
this.grid.DisplayLayout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.None;
this.grid.DisplayLayout.Override.SelectTypeCol = Infragistics.Win.UltraWinGrid.SelectType.None;
this.grid.DisplayLayout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.None;
appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
this.grid.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
this.grid.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
this.grid.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
this.grid.Dock = System.Windows.Forms.DockStyle.Top;
this.grid.Location = new System.Drawing.Point(0, 0);
this.grid.Name = "grid";
this.grid.Size = new System.Drawing.Size(481, 222);
this.grid.TabIndex = 0;
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnOK.Location = new System.Drawing.Point(368, 298);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(102, 40);
this.btnOK.TabIndex = 30;
this.btnOK.UseVisualStyleBackColor = false;
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(11, 298);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(102, 40);
this.btnCancel.TabIndex = 29;
this.btnCancel.UseVisualStyleBackColor = false;
//
// lblTO
//
this.lblTO.BackColorInternal = System.Drawing.SystemColors.Window;
this.lblTO.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTO.Location = new System.Drawing.Point(0, 241);
this.lblTO.Name = "lblTO";
this.lblTO.Size = new System.Drawing.Size(577, 41);
this.lblTO.TabIndex = 31;
this.lblTO.Text = "ultraLabel1";
//
// QBMapDetails
//
this.AcceptButton = this.btnOK;
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(481, 344);
this.ControlBox = false;
this.Controls.Add(this.lblTO);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.grid);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "QBMapDetails";
this.Text = "Peachtree object links";
this.Load += new System.EventHandler(this.QBMapDetails_Load);
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DataTable dt=null;
private string _toObject="";
private void QBMapDetails_Load(object sender, System.EventArgs e)
{
grid.DataSource=dt;
this.lblTO.Text=_toObject;
//grid.DisplayLayout.CaptionVisible=DefaultableBoolean.True;
//grid.DisplayLayout.CaptionAppearance.TextHAlign=HAlign.Left;
grid.DisplayLayout.Bands[0].Columns["ID"].Hidden=true;
grid.DisplayLayout.Bands[0].Columns["Linked"].Hidden=false;
grid.DisplayLayout.Bands[0].Columns["Linked"].Style=Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
grid.DisplayLayout.Bands[0].Columns["Linked"].Header.Caption="";
grid.DisplayLayout.Bands[0].Columns["Linked"].Width=32;
grid.DisplayLayout.Bands[0].Columns["Linked"].MinWidth=32;
grid.DisplayLayout.Bands[0].Columns["Linked"].MaxWidth=32;
grid.DisplayLayout.Bands[0].Columns["Linked"].Header.Appearance.Image = Resource.Link24;
grid.DisplayLayout.Bands[0].Columns["Linked"].Header.Appearance.ImageHAlign=HAlign.Center;
}
public DataTable DTRows
{
set
{
dt=value;
}
}
public string ToLabel
{
set
{
_toObject=value;
}
}
//-----------------------
}
}

View File

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

View File

@@ -0,0 +1,112 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace AyaNova.PlugIn.PTI {
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 Resource {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resource() {
}
/// <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("AyaNova.PlugIn.PTI.Resource", typeof(Resource).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;
}
}
internal static System.Drawing.Bitmap Link24 {
get {
object obj = ResourceManager.GetObject("Link24", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap PTI16 {
get {
object obj = ResourceManager.GetObject("PTI16", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Icon PTI16icon {
get {
object obj = ResourceManager.GetObject("PTI16icon", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
internal static System.Drawing.Bitmap PTI24 {
get {
object obj = ResourceManager.GetObject("PTI24", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap PTI32 {
get {
object obj = ResourceManager.GetObject("PTI32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap UnLink24 {
get {
object obj = ResourceManager.GetObject("UnLink24", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap UnLink32 {
get {
object obj = ResourceManager.GetObject("UnLink32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@@ -0,0 +1,142 @@
<?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>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Link24" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\Link24.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PTI16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\PTI16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PTI16icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\PTI16icon.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PTI24" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\PTI24.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PTI32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\PTI32.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="UnLink24" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UnLink24.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="UnLink32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UnLink32.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

View File

@@ -0,0 +1,95 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
public class SetAutoClose : AyaNova.PlugIn.PTI.SetBase
{
private System.Windows.Forms.CheckBox ckAutoClose;
private System.ComponentModel.IContainer components = null;
public SetAutoClose()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
// TODO: Add any initialization after the InitializeComponent call
}
/// <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 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.ckAutoClose = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// ckAutoClose
//
this.ckAutoClose.Location = new System.Drawing.Point(16, 302);
this.ckAutoClose.Name = "ckAutoClose";
this.ckAutoClose.Size = new System.Drawing.Size(534, 28);
this.ckAutoClose.TabIndex = 29;
this.ckAutoClose.Text = "Auto close invoiced work orders";
//
// SetAutoClose
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(637, 408);
this.Controls.Add(this.ckAutoClose);
this.Name = "SetAutoClose";
this.Text = "";
this.Load += new System.EventHandler(this.SetAutoClose_Load);
this.Controls.SetChildIndex(this.ckAutoClose, 0);
this.ResumeLayout(false);
}
#endregion
private void SetAutoClose_Load(object sender, System.EventArgs e)
{
}
public bool AutoClose
{
get
{
return this.ckAutoClose.Checked;
}
set
{
this.ckAutoClose.Checked=value;
}
}
public override void btnOK_Click(object sender, EventArgs e)
{
base.ClosingHandled=true;
this.DialogResult=DialogResult.OK;
this.Close();
}
}
}

View File

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

View File

@@ -0,0 +1,213 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for SetPreWOStatus.
/// </summary>
public class SetBase : System.Windows.Forms.Form
{
private Infragistics.Win.Misc.UltraLabel lblDescription;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Button btnOK;
private Infragistics.Win.Misc.UltraLabel lblTitle;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public SetBase()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <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()
{
this.lblTitle = new Infragistics.Win.Misc.UltraLabel();
this.lblDescription = new Infragistics.Win.Misc.UltraLabel();
this.btnOK = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lblTitle
//
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(10, 15);
this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(615, 35);
this.lblTitle.TabIndex = 0;
this.lblTitle.Text = "Billable workorder status";
//
// lblDescription
//
this.lblDescription.BackColorInternal = System.Drawing.SystemColors.Window;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(10, 58);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(615, 190);
this.lblDescription.TabIndex = 1;
this.lblDescription.Text = "Description of option";
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
this.btnOK.Location = new System.Drawing.Point(524, 350);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(90, 40);
this.btnOK.TabIndex = 28;
this.btnOK.UseVisualStyleBackColor = false;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.Location = new System.Drawing.Point(419, 350);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(90, 40);
this.btnCancel.TabIndex = 27;
this.btnCancel.UseVisualStyleBackColor = false;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// SetBase
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(637, 408);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.lblDescription);
this.Controls.Add(this.lblTitle);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "SetBase";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "AyaNova PTI - Setup";
this.Closing += new System.ComponentModel.CancelEventHandler(this.SetBase_Closing);
this.Load += new System.EventHandler(this.SetBase_Load);
this.ResumeLayout(false);
}
#endregion
// __ _ _ ___ ____ __ __ __ __ __ ___ ___
// / _)( )( )/ __)(_ _)/ \( \/ ) / _)/ \( \( _)
// ( (_ )()( \__ \ )( ( () )) ( ( (_( () )) ) )) _)
// \__) \__/ (___/ (__) \__/(_/\/\_) \__)\__/(___/(___)
//************************************************************
private string _DialogTitle="";
private string _OptionTitle="";
private string _OptionDescription="";
public string DialogTitle
{
set{_DialogTitle=value;}
}
public string OptionTitle
{
set{_OptionTitle=value;}
}
public string OptionDescription
{
set{_OptionDescription=value;}
}
private void SetBase_Load(object sender, System.EventArgs e)
{
this.btnCancel.Image = Util.AyaImage("Cancel24");
this.btnOK.Image = Util.AyaImage("OK24");
this.Text=_DialogTitle;
this.lblDescription.Text=_OptionDescription;
this.lblTitle.Text=_OptionTitle;
}
public bool bClosingHandled=false;
public bool ClosingHandled
{
set{ bClosingHandled=value;}
}
private void btnCancel_Click(object sender, System.EventArgs e)
{
HandleBail();
}
private void SetBase_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
if(!bClosingHandled)
{
HandleBail();
e.Cancel=true;
}
}
private void HandleBail()
{
if(MessageBox.Show(
"Are you sure you wish to cancel?",
_DialogTitle,
MessageBoxButtons.RetryCancel,MessageBoxIcon.Information)==DialogResult.Cancel)
{
this.DialogResult=DialogResult.Cancel;
bClosingHandled=true;
this.Close();
}
return;
}
//Virtual OK click to override in derived forms
//to validate entry etc
public virtual void btnOK_Click(object sender, System.EventArgs e)
{
bClosingHandled=true;
this.Close();
}
}
}

View File

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

View File

@@ -0,0 +1,55 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
public class SetConfirmCompanyFile : AyaNova.PlugIn.PTI.SetBase
{
private System.ComponentModel.IContainer components = null;
public SetConfirmCompanyFile()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
// TODO: Add any initialization after the InitializeComponent call
}
/// <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 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()
{
components = new System.ComponentModel.Container();
}
#endregion
public override void btnOK_Click(object sender, EventArgs e)
{
base.ClosingHandled=true;
this.DialogResult=DialogResult.OK;
this.Close();
}
}
}

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8" ?>
<root>
<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" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</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.0.0.0</value>
</resheader>
<resheader name="Reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="Writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,63 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
public class SetInfoOnly : AyaNova.PlugIn.PTI.SetBase
{
private System.ComponentModel.IContainer components = null;
public SetInfoOnly()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
// TODO: Add any initialization after the InitializeComponent call
}
/// <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 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.SuspendLayout();
//
// SetInfoOnly
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(637, 408);
this.Name = "SetInfoOnly";
this.Text = "";
this.Load += new System.EventHandler(this.SetInfoOnly_Load);
this.ResumeLayout(false);
}
#endregion
private void SetInfoOnly_Load(object sender, System.EventArgs e)
{
}
}
}

View File

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

View File

@@ -0,0 +1,95 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
public class SetMemoField : AyaNova.PlugIn.PTI.SetBase
{
private System.Windows.Forms.CheckBox ckSetMemo;
private System.ComponentModel.IContainer components = null;
public SetMemoField()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
// TODO: Add any initialization after the InitializeComponent call
}
/// <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 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.ckSetMemo = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// ckSetMemo
//
this.ckSetMemo.Location = new System.Drawing.Point(16, 302);
this.ckSetMemo.Name = "ckSetMemo";
this.ckSetMemo.Size = new System.Drawing.Size(367, 28);
this.ckSetMemo.TabIndex = 29;
this.ckSetMemo.Text = "Set memo field";
//
// SetMemoField
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(637, 408);
this.Controls.Add(this.ckSetMemo);
this.Name = "SetMemoField";
this.Text = "";
this.Load += new System.EventHandler(this.SetMemoField_Load);
this.Controls.SetChildIndex(this.ckSetMemo, 0);
this.ResumeLayout(false);
}
#endregion
private void SetMemoField_Load(object sender, System.EventArgs e)
{
}
public bool FillMemoField
{
get
{
return this.ckSetMemo.Checked;
}
set
{
this.ckSetMemo.Checked=value;
}
}
public override void btnOK_Click(object sender, EventArgs e)
{
base.ClosingHandled=true;
this.DialogResult=DialogResult.OK;
this.Close();
}
}
}

View File

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

View File

@@ -0,0 +1,153 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Infragistics.Win;
namespace AyaNova.PlugIn.PTI
{
public class SetPTChargeAs : AyaNova.PlugIn.PTI.SetBase
{
private Infragistics.Win.UltraWinEditors.UltraComboEditor cbPTItems;
private Infragistics.Win.Misc.UltraLabel lblItems;
private System.ComponentModel.IContainer components = null;
public SetPTChargeAs()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
// TODO: Add any initialization after the InitializeComponent call
}
/// <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 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.lblItems = new Infragistics.Win.Misc.UltraLabel();
this.cbPTItems = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
((System.ComponentModel.ISupportInitialize)(this.cbPTItems)).BeginInit();
this.SuspendLayout();
//
// lblItems
//
this.lblItems.Location = new System.Drawing.Point(10, 294);
this.lblItems.Name = "lblItems";
this.lblItems.Size = new System.Drawing.Size(613, 19);
this.lblItems.TabIndex = 32;
this.lblItems.Text = "Peachtree item:";
//
// cbPTItems
//
this.cbPTItems.LimitToList = true;
this.cbPTItems.Location = new System.Drawing.Point(10, 313);
this.cbPTItems.MaxDropDownItems = 16;
this.cbPTItems.Name = "cbPTItems";
this.cbPTItems.Size = new System.Drawing.Size(607, 24);
this.cbPTItems.TabIndex = 31;
//
// SetPTChargeAs
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(637, 408);
this.Controls.Add(this.lblItems);
this.Controls.Add(this.cbPTItems);
this.Name = "SetPTChargeAs";
this.Text = "";
this.Load += new System.EventHandler(this.SetQBChargeAs_Load);
this.Controls.SetChildIndex(this.cbPTItems, 0);
this.Controls.SetChildIndex(this.lblItems, 0);
((System.ComponentModel.ISupportInitialize)(this.cbPTItems)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DataTable _PTItems;
private string _SelectedItem="";
private void SetQBChargeAs_Load(object sender, System.EventArgs e)
{
cbPTItems.ValueMember="ID";
cbPTItems.DisplayMember="FullName";
//Case 237
//cbPTItems.SortStyle = Infragistics.Win.ValueListSortStyle.Ascending;
this.cbPTItems.DataSource=_PTItems;
if (_SelectedItem == "")
cbPTItems.SelectedIndex = 0;
else
{
foreach(ValueListItem vi in cbPTItems.Items)
{
if((string)vi.DataValue==_SelectedItem)
{
cbPTItems.SelectedItem=vi;
break;
}
}
}
}
public DataTable PTItems
{
set
{
_PTItems=value;
}
}
public string SelectedPTItem
{
get
{
return cbPTItems.SelectedItem.DataValue.ToString();
}
set
{
_SelectedItem=value;
}
}
public override void btnOK_Click(object sender, EventArgs e)
{
base.ClosingHandled=true;
this.DialogResult=DialogResult.OK;
this.Close();
}
//------------------------------
}
}

View File

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

View File

@@ -0,0 +1,164 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using GZTW.AyaNova.BLL;
namespace AyaNova.PlugIn.PTI
{
public class SetWOStatus : AyaNova.PlugIn.PTI.SetBase
{
private Infragistics.Win.UltraWinEditors.UltraComboEditor cbStatus;
private Infragistics.Win.Misc.UltraLabel lblStatus;
private System.ComponentModel.IContainer components = null;
public SetWOStatus()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
// TODO: Add any initialization after the InitializeComponent call
}
/// <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 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.cbStatus = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
this.lblStatus = new Infragistics.Win.Misc.UltraLabel();
((System.ComponentModel.ISupportInitialize)(this.cbStatus)).BeginInit();
this.SuspendLayout();
//
// cbStatus
//
this.cbStatus.LimitToList = true;
this.cbStatus.Location = new System.Drawing.Point(32, 312);
this.cbStatus.Name = "cbStatus";
this.cbStatus.Size = new System.Drawing.Size(557, 24);
this.cbStatus.TabIndex = 29;
//
// lblStatus
//
this.lblStatus.Location = new System.Drawing.Point(32, 293);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(557, 19);
this.lblStatus.TabIndex = 30;
//
// SetWOStatus
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(637, 408);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.cbStatus);
this.Name = "SetWOStatus";
this.Text = "";
this.Closing += new System.ComponentModel.CancelEventHandler(this.SetWOStatus_Closing);
this.Load += new System.EventHandler(this.SetWOStatus_Load);
this.Controls.SetChildIndex(this.cbStatus, 0);
this.Controls.SetChildIndex(this.lblStatus, 0);
((System.ComponentModel.ISupportInitialize)(this.cbStatus)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Guid _SelectedStatus=Guid.Empty;
public Guid SelectedStatus
{
get
{
return (Guid)cbStatus.SelectedItem.DataValue;
}
set
{
_SelectedStatus=value;
}
}
private bool _Pre=true;
/// <summary>
/// Used to indicate if dialog should display for post or pre
/// status
/// </summary>
public bool PreStatus
{
set
{
_Pre=value;
}
}
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void SetWOStatus_Load(object sender, System.EventArgs e)
{
this.lblStatus.Text=Util.LocaleText.GetLocalizedText("O.WorkorderStatus");
//NVCHANGED
GenericNVList ls=GenericNVList.GetList("aWorkorderStatus","aID","aName",true,false,false);
if(_Pre)
this.cbStatus.SelectedItem=this.cbStatus.Items.Add(Guid.Empty,"< Any status >");
else
this.cbStatus.SelectedItem=this.cbStatus.Items.Add(Guid.Empty,"< Do not change status >");
foreach(DictionaryEntry d in ls.BindableList)
{
Guid gItem=new Guid(d.Key.ToString());
Infragistics.Win.ValueListItem v=this.cbStatus.Items.Add(gItem,d.Value.ToString());
if(_SelectedStatus==gItem)
{
this.cbStatus.SelectedItem=v;
}
}
}
private void SetWOStatus_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
//MessageBox.Show("Closing");
}
public override void btnOK_Click(object sender, EventArgs e)
{
base.ClosingHandled=true;
this.DialogResult=DialogResult.OK;
this.Close();
}
//---------------------------------------------
}
}

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,126 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace AyaNova.PlugIn.PTI
{
/// <summary>
/// Summary description for Waiting.
/// </summary>
public class Waiting : System.Windows.Forms.Form
{
private Infragistics.Win.Misc.UltraLabel lblStep;
private Infragistics.Win.Misc.UltraLabel lblOps;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public Waiting()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <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()
{
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
this.lblOps = new Infragistics.Win.Misc.UltraLabel();
this.lblStep = new Infragistics.Win.Misc.UltraLabel();
this.SuspendLayout();
//
// lblOps
//
appearance1.TextHAlignAsString = "Center";
appearance1.TextVAlignAsString = "Middle";
this.lblOps.Appearance = appearance1;
this.lblOps.BorderStyleInner = Infragistics.Win.UIElementBorderStyle.None;
this.lblOps.Cursor = System.Windows.Forms.Cursors.AppStarting;
this.lblOps.Dock = System.Windows.Forms.DockStyle.Top;
this.lblOps.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblOps.Location = new System.Drawing.Point(0, 0);
this.lblOps.Name = "lblOps";
this.lblOps.Size = new System.Drawing.Size(308, 32);
this.lblOps.TabIndex = 0;
//
// lblStep
//
appearance2.TextHAlignAsString = "Center";
appearance2.TextVAlignAsString = "Middle";
this.lblStep.Appearance = appearance2;
this.lblStep.BorderStyleInner = Infragistics.Win.UIElementBorderStyle.None;
this.lblStep.Cursor = System.Windows.Forms.Cursors.AppStarting;
this.lblStep.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStep.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblStep.Location = new System.Drawing.Point(0, 32);
this.lblStep.Name = "lblStep";
this.lblStep.Size = new System.Drawing.Size(308, 33);
this.lblStep.TabIndex = 1;
//
// Waiting
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.BackColor = System.Drawing.SystemColors.Window;
this.ClientSize = new System.Drawing.Size(308, 56);
this.ControlBox = false;
this.Controls.Add(this.lblStep);
this.Controls.Add(this.lblOps);
this.Cursor = System.Windows.Forms.Cursors.AppStarting;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "Waiting";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Processing";
this.TopMost = true;
this.ResumeLayout(false);
}
#endregion
public string Ops
{
set
{
lblOps.Text=value;
this.Refresh();
}
}
public string Step
{
set
{
lblStep.Text=value;
this.Refresh();
}
}
}
}

View File

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