Commit for development environment setup
100
PROMS/ReferencedObjects/Exe/RefObj/CmpRpt/AssemblyInfo.cs
Normal file
@@ -0,0 +1,100 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly: AssemblyTitle("CmpRpt")]
|
||||
[assembly: AssemblyDescription("Get RO info for Complete RO Report")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Volian Enterprises Inc")]
|
||||
[assembly: AssemblyProduct("PROMS")]
|
||||
[assembly: AssemblyCopyright("2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("1.1.*")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
// Microsoft .NET Framework documentation for more information on assembly signing.
|
||||
//
|
||||
// Use the attributes below to control which key is used for signing.
|
||||
//
|
||||
// Notes:
|
||||
// (*) If no key is specified, the assembly is not signed.
|
||||
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
||||
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
||||
// a key.
|
||||
// (*) If the KeyFile and the KeyName values are both specified, the
|
||||
// following processing occurs:
|
||||
// (1) If the KeyName can be found in the CSP, that key is used.
|
||||
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
||||
// in the KeyFile is installed into the CSP and used.
|
||||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
||||
// When specifying the KeyFile, the location of the KeyFile should be
|
||||
// relative to the project output directory which is
|
||||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
||||
// located in the project directory, you would specify the AssemblyKeyFile
|
||||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
||||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
||||
// documentation for more information on this.
|
||||
//
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
@@ -28,6 +29,9 @@
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<OutputPath>..\..\..\..\VEPROMS User Interface\bin\Debug\</OutputPath>
|
||||
@@ -52,6 +56,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\..\..\..\Ve-proms.net\BIN\</OutputPath>
|
||||
@@ -75,6 +80,7 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@@ -84,6 +90,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
@@ -94,6 +101,7 @@
|
||||
</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DBEncapsulation">
|
||||
@@ -142,12 +150,6 @@
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\LibSource\ROField\ROFields.csproj">
|
||||
<Project>{0C782592-AA05-11D6-84D1-00A0CC271352}</Project>
|
||||
<Name>ROFields</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>cmd /c "$(ProjectDir)FixRev.bat"</PreBuildEvent>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
</startup><runtime>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup><runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705">
|
||||
</assemblyBinding></runtime></configuration>
|
||||
|
168
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/About.cs
Normal file
@@ -0,0 +1,168 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ROEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for About.
|
||||
/// </summary>
|
||||
public class AboutDlg : System.Windows.Forms.Form
|
||||
{
|
||||
private System.Windows.Forms.Button btnHlpAbtOK;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label CopyrightMessage;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.LinkLabel VolianWebLink;
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.Container components = null;
|
||||
|
||||
public AboutDlg()
|
||||
{
|
||||
//
|
||||
// Required for Windows Form Designer support
|
||||
//
|
||||
InitializeComponent();
|
||||
CopyrightMessage.Text = "Copyright \x00A9 1993 - 2013. All Rights Reserved.";
|
||||
|
||||
//
|
||||
// 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()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutDlg));
|
||||
this.btnHlpAbtOK = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.CopyrightMessage = new System.Windows.Forms.Label();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.VolianWebLink = new System.Windows.Forms.LinkLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnHlpAbtOK
|
||||
//
|
||||
this.btnHlpAbtOK.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.btnHlpAbtOK.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnHlpAbtOK.Location = new System.Drawing.Point(144, 136);
|
||||
this.btnHlpAbtOK.Name = "btnHlpAbtOK";
|
||||
this.btnHlpAbtOK.Size = new System.Drawing.Size(90, 32);
|
||||
this.btnHlpAbtOK.TabIndex = 0;
|
||||
this.btnHlpAbtOK.Text = "OK";
|
||||
this.btnHlpAbtOK.UseVisualStyleBackColor = false;
|
||||
this.btnHlpAbtOK.Click += new System.EventHandler(this.btnHlpAbtOK_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(88, 32);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(259, 28);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "Referenced Object Editor";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label2.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label2.Location = new System.Drawing.Point(72, 80);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(259, 26);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "Version 4 Release 0";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// CopyrightMessage
|
||||
//
|
||||
this.CopyrightMessage.BackColor = System.Drawing.Color.Transparent;
|
||||
this.CopyrightMessage.Font = new System.Drawing.Font("Arial", 6F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.CopyrightMessage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.CopyrightMessage.Location = new System.Drawing.Point(0, 183);
|
||||
this.CopyrightMessage.Name = "CopyrightMessage";
|
||||
this.CopyrightMessage.Size = new System.Drawing.Size(248, 17);
|
||||
this.CopyrightMessage.TabIndex = 4;
|
||||
this.CopyrightMessage.Text = "Copyright C 1993 - 2007. All Rights Reserved.";
|
||||
this.CopyrightMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(29, 28);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(32, 32);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.pictureBox1.TabIndex = 5;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// VolianWebLink
|
||||
//
|
||||
this.VolianWebLink.BackColor = System.Drawing.SystemColors.GrayText;
|
||||
this.VolianWebLink.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.VolianWebLink.Location = new System.Drawing.Point(248, 183);
|
||||
this.VolianWebLink.Name = "VolianWebLink";
|
||||
this.VolianWebLink.Size = new System.Drawing.Size(112, 17);
|
||||
this.VolianWebLink.TabIndex = 10;
|
||||
this.VolianWebLink.TabStop = true;
|
||||
this.VolianWebLink.Text = "Volian Enterprises Inc.";
|
||||
this.VolianWebLink.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// AboutDlg
|
||||
//
|
||||
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
||||
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
|
||||
this.ClientSize = new System.Drawing.Size(363, 204);
|
||||
this.Controls.Add(this.VolianWebLink);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.CopyrightMessage);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.btnHlpAbtOK);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "AboutDlg";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "About";
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void btnHlpAbtOK_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
4034
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/About.resx
Normal file
After Width: | Height: | Size: 227 KiB |
BIN
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/AboutBckgnd_80.bmp
Normal file
After Width: | Height: | Size: 163 KiB |
@@ -0,0 +1,190 @@
|
||||
namespace ROEditor
|
||||
{
|
||||
partial class AboutROEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutROEditor));
|
||||
this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.logoPictureBox = new System.Windows.Forms.PictureBox();
|
||||
this.labelProductName = new System.Windows.Forms.Label();
|
||||
this.labelVersion = new System.Windows.Forms.Label();
|
||||
this.labelCopyright = new System.Windows.Forms.Label();
|
||||
this.labelCompanyName = new System.Windows.Forms.Label();
|
||||
this.textBoxDescription = new System.Windows.Forms.TextBox();
|
||||
this.okButton = new System.Windows.Forms.Button();
|
||||
this.tableLayoutPanel.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tableLayoutPanel
|
||||
//
|
||||
this.tableLayoutPanel.ColumnCount = 2;
|
||||
this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F));
|
||||
this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67F));
|
||||
this.tableLayoutPanel.Controls.Add(this.logoPictureBox, 0, 0);
|
||||
this.tableLayoutPanel.Controls.Add(this.labelProductName, 1, 0);
|
||||
this.tableLayoutPanel.Controls.Add(this.labelVersion, 1, 1);
|
||||
this.tableLayoutPanel.Controls.Add(this.labelCopyright, 1, 2);
|
||||
this.tableLayoutPanel.Controls.Add(this.labelCompanyName, 1, 3);
|
||||
this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 1, 4);
|
||||
this.tableLayoutPanel.Controls.Add(this.okButton, 1, 5);
|
||||
this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel.Location = new System.Drawing.Point(12, 11);
|
||||
this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tableLayoutPanel.Name = "tableLayoutPanel";
|
||||
this.tableLayoutPanel.RowCount = 6;
|
||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel.Size = new System.Drawing.Size(556, 326);
|
||||
this.tableLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// logoPictureBox
|
||||
//
|
||||
this.logoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.logoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("logoPictureBox.Image")));
|
||||
this.logoPictureBox.Location = new System.Drawing.Point(4, 4);
|
||||
this.logoPictureBox.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.logoPictureBox.Name = "logoPictureBox";
|
||||
this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 6);
|
||||
this.logoPictureBox.Size = new System.Drawing.Size(175, 318);
|
||||
this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.logoPictureBox.TabIndex = 12;
|
||||
this.logoPictureBox.TabStop = false;
|
||||
//
|
||||
// labelProductName
|
||||
//
|
||||
this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.labelProductName.Location = new System.Drawing.Point(191, 0);
|
||||
this.labelProductName.Margin = new System.Windows.Forms.Padding(8, 0, 4, 0);
|
||||
this.labelProductName.MaximumSize = new System.Drawing.Size(0, 21);
|
||||
this.labelProductName.Name = "labelProductName";
|
||||
this.labelProductName.Size = new System.Drawing.Size(361, 21);
|
||||
this.labelProductName.TabIndex = 19;
|
||||
this.labelProductName.Text = "Product Name";
|
||||
this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelVersion
|
||||
//
|
||||
this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.labelVersion.Location = new System.Drawing.Point(191, 32);
|
||||
this.labelVersion.Margin = new System.Windows.Forms.Padding(8, 0, 4, 0);
|
||||
this.labelVersion.MaximumSize = new System.Drawing.Size(0, 21);
|
||||
this.labelVersion.Name = "labelVersion";
|
||||
this.labelVersion.Size = new System.Drawing.Size(361, 21);
|
||||
this.labelVersion.TabIndex = 0;
|
||||
this.labelVersion.Text = "Version";
|
||||
this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelCopyright
|
||||
//
|
||||
this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.labelCopyright.Location = new System.Drawing.Point(191, 64);
|
||||
this.labelCopyright.Margin = new System.Windows.Forms.Padding(8, 0, 4, 0);
|
||||
this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 21);
|
||||
this.labelCopyright.Name = "labelCopyright";
|
||||
this.labelCopyright.Size = new System.Drawing.Size(361, 21);
|
||||
this.labelCopyright.TabIndex = 21;
|
||||
this.labelCopyright.Text = "Copyright";
|
||||
this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelCompanyName
|
||||
//
|
||||
this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.labelCompanyName.Location = new System.Drawing.Point(191, 96);
|
||||
this.labelCompanyName.Margin = new System.Windows.Forms.Padding(8, 0, 4, 0);
|
||||
this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 21);
|
||||
this.labelCompanyName.Name = "labelCompanyName";
|
||||
this.labelCompanyName.Size = new System.Drawing.Size(361, 21);
|
||||
this.labelCompanyName.TabIndex = 22;
|
||||
this.labelCompanyName.Text = "Company Name";
|
||||
this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// textBoxDescription
|
||||
//
|
||||
this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.textBoxDescription.Location = new System.Drawing.Point(191, 132);
|
||||
this.textBoxDescription.Margin = new System.Windows.Forms.Padding(8, 4, 4, 4);
|
||||
this.textBoxDescription.Multiline = true;
|
||||
this.textBoxDescription.Name = "textBoxDescription";
|
||||
this.textBoxDescription.ReadOnly = true;
|
||||
this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.textBoxDescription.Size = new System.Drawing.Size(361, 155);
|
||||
this.textBoxDescription.TabIndex = 23;
|
||||
this.textBoxDescription.TabStop = false;
|
||||
this.textBoxDescription.Text = "Description";
|
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.okButton.Location = new System.Drawing.Point(452, 295);
|
||||
this.okButton.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.okButton.Name = "okButton";
|
||||
this.okButton.Size = new System.Drawing.Size(100, 27);
|
||||
this.okButton.TabIndex = 24;
|
||||
this.okButton.Text = "&OK";
|
||||
//
|
||||
// AboutROEditor
|
||||
//
|
||||
this.AcceptButton = this.okButton;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(580, 348);
|
||||
this.Controls.Add(this.tableLayoutPanel);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AboutROEditor";
|
||||
this.Padding = new System.Windows.Forms.Padding(12, 11, 12, 11);
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "AboutROEditor";
|
||||
this.tableLayoutPanel.ResumeLayout(false);
|
||||
this.tableLayoutPanel.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
|
||||
private System.Windows.Forms.PictureBox logoPictureBox;
|
||||
private System.Windows.Forms.Label labelProductName;
|
||||
private System.Windows.Forms.Label labelVersion;
|
||||
private System.Windows.Forms.Label labelCopyright;
|
||||
private System.Windows.Forms.Label labelCompanyName;
|
||||
private System.Windows.Forms.TextBox textBoxDescription;
|
||||
private System.Windows.Forms.Button okButton;
|
||||
}
|
||||
}
|
115
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/AboutROEditor.cs.bak
Normal file
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using System.Reflection;
|
||||
|
||||
namespace ROEditor
|
||||
{
|
||||
partial class AboutROEditor : Form
|
||||
{
|
||||
public AboutROEditor()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// Initialize the AboutBox to display the product information from the assembly information.
|
||||
// Change assembly information settings for your application through either:
|
||||
// - Project->Properties->Application->Assembly Information
|
||||
// - AssemblyInfo.cs
|
||||
this.Text = String.Format("About {0}", AssemblyTitle);
|
||||
this.labelProductName.Text = AssemblyProduct;
|
||||
this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
|
||||
this.labelCopyright.Text = AssemblyCopyright;
|
||||
this.labelCompanyName.Text = AssemblyCompany;
|
||||
this.textBoxDescription.Text = AssemblyDescription;
|
||||
}
|
||||
|
||||
#region Assembly Attribute Accessors
|
||||
|
||||
public string AssemblyTitle
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Title attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
|
||||
// If there is at least one Title attribute
|
||||
if (attributes.Length > 0)
|
||||
{
|
||||
// Select the first one
|
||||
AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
|
||||
// If it is not an empty string, return it
|
||||
if (titleAttribute.Title != "")
|
||||
return titleAttribute.Title;
|
||||
}
|
||||
// If there was no Title attribute, or if the Title attribute was the empty string, return the .exe name
|
||||
return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
return Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyDescription
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Description attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false);
|
||||
// If there aren't any Description attributes, return an empty string
|
||||
if (attributes.Length == 0)
|
||||
return "";
|
||||
// If there is a Description attribute, return its value
|
||||
return ((AssemblyDescriptionAttribute)attributes[0]).Description;
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyProduct
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Product attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false);
|
||||
// If there aren't any Product attributes, return an empty string
|
||||
if (attributes.Length == 0)
|
||||
return "";
|
||||
// If there is a Product attribute, return its value
|
||||
return ((AssemblyProductAttribute)attributes[0]).Product;
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyCopyright
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Copyright attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
|
||||
// If there aren't any Copyright attributes, return an empty string
|
||||
if (attributes.Length == 0)
|
||||
return "";
|
||||
// If there is a Copyright attribute, return its value
|
||||
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyCompany
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Company attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false);
|
||||
// If there aren't any Company attributes, return an empty string
|
||||
if (attributes.Length == 0)
|
||||
return "";
|
||||
// If there is a Company attribute, return its value
|
||||
return ((AssemblyCompanyAttribute)attributes[0]).Company;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
342
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/AboutROEditor_OLD.Designer.cs
generated
Normal file
@@ -0,0 +1,342 @@
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class AboutROEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.logoPictureBox = new System.Windows.Forms.PictureBox();
|
||||
this.labelProductName = new System.Windows.Forms.Label();
|
||||
this.labelVersion = new System.Windows.Forms.Label();
|
||||
this.labelCopyright = new System.Windows.Forms.Label();
|
||||
this.labelCompanyName = new System.Windows.Forms.LinkLabel();
|
||||
this.textBoxDescription = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.labelVersionDateTime = new System.Windows.Forms.Label();
|
||||
this.labelServer = new System.Windows.Forms.Label();
|
||||
this.labelDatabase = new System.Windows.Forms.Label();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.btnEULA = new System.Windows.Forms.Button();
|
||||
this.btnOK = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.panel5.SuspendLayout();
|
||||
this.panel6.SuspendLayout();
|
||||
this.panel7.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// logoPictureBox
|
||||
//
|
||||
this.logoPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.logoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.logoPictureBox.Image = global::VEPROMS.Properties.Resources.Red_V_txt_NB_bur_1984;
|
||||
this.logoPictureBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.logoPictureBox.Name = "logoPictureBox";
|
||||
this.logoPictureBox.Size = new System.Drawing.Size(433, 141);
|
||||
this.logoPictureBox.TabIndex = 25;
|
||||
this.logoPictureBox.TabStop = false;
|
||||
this.logoPictureBox.Click += new System.EventHandler(this.logoPictureBox_Click);
|
||||
//
|
||||
// labelProductName
|
||||
//
|
||||
this.labelProductName.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelProductName.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelProductName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||
this.labelProductName.MaximumSize = new System.Drawing.Size(0, 17);
|
||||
this.labelProductName.Name = "labelProductName";
|
||||
this.labelProductName.Size = new System.Drawing.Size(433, 17);
|
||||
this.labelProductName.TabIndex = 19;
|
||||
this.labelProductName.Text = "Proms 2010";
|
||||
this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelVersion
|
||||
//
|
||||
this.labelVersion.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.labelVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelVersion.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||
this.labelVersion.MaximumSize = new System.Drawing.Size(0, 17);
|
||||
this.labelVersion.Name = "labelVersion";
|
||||
this.labelVersion.Size = new System.Drawing.Size(433, 17);
|
||||
this.labelVersion.TabIndex = 0;
|
||||
this.labelVersion.Text = "Version 1 Beta Release";
|
||||
this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelCopyright
|
||||
//
|
||||
this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.labelCopyright.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelCopyright.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||
this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 17);
|
||||
this.labelCopyright.Name = "labelCopyright";
|
||||
this.labelCopyright.Size = new System.Drawing.Size(433, 17);
|
||||
this.labelCopyright.TabIndex = 21;
|
||||
this.labelCopyright.Text = "Copyright 2008";
|
||||
this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelCompanyName
|
||||
//
|
||||
this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.labelCompanyName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelCompanyName.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelCompanyName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||
this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 17);
|
||||
this.labelCompanyName.Name = "labelCompanyName";
|
||||
this.labelCompanyName.Size = new System.Drawing.Size(433, 17);
|
||||
this.labelCompanyName.TabIndex = 22;
|
||||
this.labelCompanyName.TabStop = true;
|
||||
this.labelCompanyName.Text = "Volian Enterprises Inc.";
|
||||
this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.labelCompanyName.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.labelCompanyName_LinkClicked);
|
||||
//
|
||||
// textBoxDescription
|
||||
//
|
||||
this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.textBoxDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxDescription.Location = new System.Drawing.Point(0, 0);
|
||||
this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.textBoxDescription.Multiline = true;
|
||||
this.textBoxDescription.Name = "textBoxDescription";
|
||||
this.textBoxDescription.ReadOnly = true;
|
||||
this.textBoxDescription.Size = new System.Drawing.Size(433, 97);
|
||||
this.textBoxDescription.TabIndex = 23;
|
||||
this.textBoxDescription.TabStop = false;
|
||||
this.textBoxDescription.Text = "Thank you for choosing PROMS for your procedure maintenance solution.\r\n\r\nPROMS is" +
|
||||
" protected under the copyright laws.\r\n\r\nPlease refer the the End User Licence Ag" +
|
||||
"reement (EULA) for the terms of use.\r\n";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.logoPictureBox);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(9, 9);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(433, 141);
|
||||
this.panel1.TabIndex = 26;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.labelProductName);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(9, 150);
|
||||
this.panel2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(433, 25);
|
||||
this.panel2.TabIndex = 27;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.labelVersionDateTime);
|
||||
this.panel3.Controls.Add(this.labelServer);
|
||||
this.panel3.Controls.Add(this.labelDatabase);
|
||||
this.panel3.Controls.Add(this.labelVersion);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(9, 175);
|
||||
this.panel3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(433, 67);
|
||||
this.panel3.TabIndex = 28;
|
||||
//
|
||||
// labelVersionDateTime
|
||||
//
|
||||
this.labelVersionDateTime.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.labelVersionDateTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelVersionDateTime.Location = new System.Drawing.Point(0, 16);
|
||||
this.labelVersionDateTime.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||
this.labelVersionDateTime.MaximumSize = new System.Drawing.Size(0, 17);
|
||||
this.labelVersionDateTime.Name = "labelVersionDateTime";
|
||||
this.labelVersionDateTime.Size = new System.Drawing.Size(433, 17);
|
||||
this.labelVersionDateTime.TabIndex = 1;
|
||||
this.labelVersionDateTime.Text = "Version Date/Time";
|
||||
this.labelVersionDateTime.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelServer
|
||||
//
|
||||
this.labelServer.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.labelServer.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelServer.Location = new System.Drawing.Point(0, 33);
|
||||
this.labelServer.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||
this.labelServer.MaximumSize = new System.Drawing.Size(0, 17);
|
||||
this.labelServer.Name = "labelServer";
|
||||
this.labelServer.Size = new System.Drawing.Size(433, 17);
|
||||
this.labelServer.TabIndex = 3;
|
||||
this.labelServer.Text = "SQL Server Name";
|
||||
this.labelServer.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelDatabase
|
||||
//
|
||||
this.labelDatabase.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.labelDatabase.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelDatabase.Location = new System.Drawing.Point(0, 50);
|
||||
this.labelDatabase.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||
this.labelDatabase.MaximumSize = new System.Drawing.Size(0, 17);
|
||||
this.labelDatabase.Name = "labelDatabase";
|
||||
this.labelDatabase.Size = new System.Drawing.Size(433, 17);
|
||||
this.labelDatabase.TabIndex = 2;
|
||||
this.labelDatabase.Text = "Database Name";
|
||||
this.labelDatabase.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.labelCopyright);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel4.Location = new System.Drawing.Point(9, 242);
|
||||
this.panel4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(433, 23);
|
||||
this.panel4.TabIndex = 29;
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.labelCompanyName);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel5.Location = new System.Drawing.Point(9, 265);
|
||||
this.panel5.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(433, 23);
|
||||
this.panel5.TabIndex = 30;
|
||||
//
|
||||
// panel6
|
||||
//
|
||||
this.panel6.Controls.Add(this.textBoxDescription);
|
||||
this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel6.Location = new System.Drawing.Point(9, 288);
|
||||
this.panel6.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panel6.Name = "panel6";
|
||||
this.panel6.Size = new System.Drawing.Size(433, 97);
|
||||
this.panel6.TabIndex = 31;
|
||||
//
|
||||
// panel7
|
||||
//
|
||||
this.panel7.Controls.Add(this.btnEULA);
|
||||
this.panel7.Controls.Add(this.btnOK);
|
||||
this.panel7.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel7.Location = new System.Drawing.Point(9, 385);
|
||||
this.panel7.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panel7.Name = "panel7";
|
||||
this.panel7.Size = new System.Drawing.Size(433, 38);
|
||||
this.panel7.TabIndex = 32;
|
||||
//
|
||||
// btnEULA
|
||||
//
|
||||
this.btnEULA.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnEULA.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnEULA.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnEULA.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnEULA.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnEULA.Location = new System.Drawing.Point(232, 11);
|
||||
this.btnEULA.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnEULA.Name = "btnEULA";
|
||||
this.btnEULA.Size = new System.Drawing.Size(68, 24);
|
||||
this.btnEULA.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEULA.TabIndex = 27;
|
||||
this.btnEULA.Text = "&View EULA";
|
||||
this.btnEULA.Click += new System.EventHandler(this.btnViewEULA_Click);
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnOK.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnOK.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnOK.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnOK.Location = new System.Drawing.Point(374, 11);
|
||||
this.btnOK.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(56, 24);
|
||||
this.btnOK.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnOK.TabIndex = 26;
|
||||
this.btnOK.Text = "&OK";
|
||||
//
|
||||
// AboutVEPROMS
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.ClientSize = new System.Drawing.Size(451, 430);
|
||||
this.Controls.Add(this.panel7);
|
||||
this.Controls.Add(this.panel6);
|
||||
this.Controls.Add(this.panel5);
|
||||
this.Controls.Add(this.panel4);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.DoubleBuffered = true;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AboutVEPROMS";
|
||||
this.Padding = new System.Windows.Forms.Padding(9, 9, 9, 9);
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "About Proms 2010";
|
||||
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel5.ResumeLayout(false);
|
||||
this.panel6.ResumeLayout(false);
|
||||
this.panel6.PerformLayout();
|
||||
this.panel7.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label labelProductName;
|
||||
private System.Windows.Forms.Label labelVersion;
|
||||
private System.Windows.Forms.Label labelCopyright;
|
||||
private System.Windows.Forms.LinkLabel labelCompanyName;
|
||||
private System.Windows.Forms.TextBox textBoxDescription;
|
||||
private System.Windows.Forms.PictureBox logoPictureBox;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.Panel panel6;
|
||||
private System.Windows.Forms.Panel panel7;
|
||||
private System.Windows.Forms.Button btnOK;
|
||||
private System.Windows.Forms.Button btnEULA;
|
||||
private System.Windows.Forms.Label labelVersionDateTime;
|
||||
private System.Windows.Forms.Label labelServer;
|
||||
private System.Windows.Forms.Label labelDatabase;
|
||||
}
|
||||
}
|
145
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/AboutROEditor_OLD.cs
Normal file
@@ -0,0 +1,145 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using System.Reflection;
|
||||
//using Volian.Controls.Library;
|
||||
//using VEPROMS.CSLA.Library;
|
||||
using System.Text.RegularExpressions;
|
||||
//using Volian.Base.Library;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class AboutROEditor : System.Windows.Forms.Form
|
||||
{
|
||||
public AboutROEditor()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// Initialize the AboutBox to display the product information from the assembly information.
|
||||
// Change assembly information settings for your application through either:
|
||||
// - Project->Properties->Application->Assembly Information
|
||||
// - AssemblyInfo.cs
|
||||
DateTime buildDateTime = new System.IO.FileInfo(Assembly.GetExecutingAssembly().Location).LastWriteTime;
|
||||
// If the AssemblyConfiguration is "DEMO" then we are running a Demo version
|
||||
string demoTxt = VlnSettings.ReleaseMode.Equals("DEMO")?"(Demo)": "";
|
||||
//string connectionString = Database.VEPROMS_Connection;
|
||||
//Match mServer = Regex.Match(connectionString,".*Data Source=([^;]*).*");
|
||||
//string server = (mServer.Success)?mServer.Groups[1].Value:"unknown";
|
||||
//if (server.StartsWith(@".\")) server = @"Local \ " + server.Substring(2);
|
||||
//string databaseName = Database.SelectedDatabase;
|
||||
this.Text = String.Format("About {0}", AssemblyTitle + " " + demoTxt);
|
||||
this.labelProductName.Text = AssemblyProduct;
|
||||
this.labelVersion.Text = String.Format("Version {0}", (demoTxt.Equals(""))? AssemblyVersion : demoTxt);
|
||||
this.labelVersionDateTime.Text = String.Format("Build Date: {0}", buildDateTime.ToString());
|
||||
this.labelCopyright.Text = String.Format("Copyright <20> {0}. All Rights Reserved.", buildDateTime.Year.ToString());
|
||||
this.labelCompanyName.Text = AssemblyCompany;
|
||||
// this.textBoxDescription.Text = AssemblyDescription;
|
||||
this.labelCompanyName.Links[0].LinkData = "Volian Enterprises Inc.";
|
||||
this.labelCompanyName.Links.Add(0,23,"www.volian.com");
|
||||
//this.labelServer.Text = string.Format("SQL Server: {0}", server);
|
||||
//this.labelDatabase.Text = string.Format("Database: {0}", databaseName);
|
||||
}
|
||||
|
||||
#region Assembly Attribute Accessors
|
||||
|
||||
public string AssemblyTitle
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Title attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
|
||||
// If there is at least one Title attribute
|
||||
if (attributes.Length > 0)
|
||||
{
|
||||
// Select the first one
|
||||
AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
|
||||
// If it is not an empty string, return it
|
||||
if (titleAttribute.Title != "")
|
||||
return titleAttribute.Title;
|
||||
}
|
||||
// If there was no Title attribute, or if the Title attribute was the empty string, return the .exe name
|
||||
return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
return Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyDescription
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Description attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false);
|
||||
// If there aren't any Description attributes, return an empty string
|
||||
if (attributes.Length == 0)
|
||||
return "";
|
||||
// If there is a Description attribute, return its value
|
||||
return ((AssemblyDescriptionAttribute)attributes[0]).Description;
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyProduct
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Product attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false);
|
||||
// If there aren't any Product attributes, return an empty string
|
||||
if (attributes.Length == 0)
|
||||
return "";
|
||||
// If there is a Product attribute, return its value
|
||||
return ((AssemblyProductAttribute)attributes[0]).Product;
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyCompany
|
||||
{
|
||||
get
|
||||
{
|
||||
// Get all Company attributes on this assembly
|
||||
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false);
|
||||
// If there aren't any Company attributes, return an empty string
|
||||
if (attributes.Length == 0)
|
||||
return "";
|
||||
// If there is a Company attribute, return its value
|
||||
return ((AssemblyCompanyAttribute)attributes[0]).Company;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void labelCompanyName_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
// Determine which link was clicked within the LinkLabel.
|
||||
this.labelCompanyName.Links[0].Visited = true;
|
||||
|
||||
// Display the appropriate link based on the value of the
|
||||
// LinkData property of the Link object.
|
||||
string target = e.Link.LinkData as string;
|
||||
|
||||
System.Diagnostics.Process.Start(target); // this should start the default web browser
|
||||
}
|
||||
|
||||
private void logoPictureBox_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start(labelCompanyName.Links[0].LinkData as string); // this should start the default web browser
|
||||
}
|
||||
|
||||
private void btnViewEULA_Click(object sender, EventArgs e)
|
||||
{
|
||||
string EulaFile = string.Format(@"\{0}", VlnSettings.EULAfile);
|
||||
string strEULA = System.Environment.CurrentDirectory + EulaFile;
|
||||
frmViewTextFile ViewFile = new frmViewTextFile(strEULA,RichTextBoxStreamType.PlainText);
|
||||
ViewFile.Text = "End-User License Agreement";
|
||||
ViewFile.ShowDialog();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@@ -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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
91
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/AssemblyInfo.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly: AssemblyTitle("RO Editor")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Volian Enterprises Inc.")]
|
||||
[assembly: AssemblyProduct("Referenced Objects Editor")]
|
||||
[assembly: AssemblyCopyright("2013")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build YYMM (two digit year, two digit month)
|
||||
// Revision DHH (day - no leading zero, two digit hour - military time
|
||||
//
|
||||
[assembly: AssemblyVersion("2.1.2210.2615")]
|
||||
[assembly: AssemblyFileVersion("2.1.2210.2615")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
// Microsoft .NET Framework documentation for more information on assembly signing.
|
||||
//
|
||||
// Use the attributes below to control which key is used for signing.
|
||||
//
|
||||
// Notes:
|
||||
// (*) If no key is specified, the assembly is not signed.
|
||||
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
||||
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
||||
// a key.
|
||||
// (*) If the KeyFile and the KeyName values are both specified, the
|
||||
// following processing occurs:
|
||||
// (1) If the KeyName can be found in the CSP, that key is used.
|
||||
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
||||
// in the KeyFile is installed into the CSP and used.
|
||||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
||||
// When specifying the KeyFile, the location of the KeyFile should be
|
||||
// relative to the project output directory which is
|
||||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
||||
// located in the project directory, you would specify the AssemblyKeyFile
|
||||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
||||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
||||
// documentation for more information on this.
|
||||
//
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -0,0 +1,58 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly: AssemblyTitle("")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("1.1.*")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
// Microsoft .NET Framework documentation for more information on assembly signing.
|
||||
//
|
||||
// Use the attributes below to control which key is used for signing.
|
||||
//
|
||||
// Notes:
|
||||
// (*) If no key is specified, the assembly is not signed.
|
||||
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
||||
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
||||
// a key.
|
||||
// (*) If the KeyFile and the KeyName values are both specified, the
|
||||
// following processing occurs:
|
||||
// (1) If the KeyName can be found in the CSP, that key is used.
|
||||
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
||||
// in the KeyFile is installed into the CSP and used.
|
||||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
||||
// When specifying the KeyFile, the location of the KeyFile should be
|
||||
// relative to the project output directory which is
|
||||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
||||
// located in the project directory, you would specify the AssemblyKeyFile
|
||||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
||||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
||||
// documentation for more information on this.
|
||||
//
|
||||
[assembly: AssemblyDelaySign(false)]
|
||||
[assembly: AssemblyKeyFile("E:\\proms.net\\Public Key\\vlnkey.snk")]
|
||||
[assembly: AssemblyKeyName("")]
|
BIN
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/Cancel.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/Copy.ico
Normal file
After Width: | Height: | Size: 318 B |
@@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;Upgrade2005;</DefineConstants>
|
||||
@@ -8,6 +9,7 @@
|
||||
</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
@@ -38,6 +40,9 @@
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
@@ -61,6 +66,7 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
@@ -84,6 +90,7 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@@ -93,6 +100,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
@@ -196,6 +204,10 @@
|
||||
<None Include="FixRev.Bat" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\Volian.Base.Library\Volian.Base.Library.csproj">
|
||||
<Project>{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}</Project>
|
||||
<Name>Volian.Base.Library</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\LibSource\ctlXMLEditLib\ctlXMLEditLib.csproj">
|
||||
<Project>{DECA8343-6351-11D6-8487-00A0CC271352}</Project>
|
||||
<Name>ctlXMLEditLib</Name>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
VisualStudioVersion = 12.0.30723.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ROEditor", "ROEditor.csproj", "{3A4A3543-2D44-11D6-8452-00A0CC271352}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
|
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"FILE_VERSION" = "9237"
|
||||
"ENLISTMENT_CHOICE" = "NEVER"
|
||||
"PROJECT_FILE_RELATIVE_PATH" = ""
|
||||
"PROJECT_FILE_RELATIVE_PATH" = "relative:Exe\\RefObj\\ROEditor"
|
||||
"NUMBER_OF_EXCLUDED_FILES" = "0"
|
||||
"ORIGINAL_PROJECT_FILE_PATH" = ""
|
||||
"NUMBER_OF_NESTED_PROJECTS" = "0"
|
||||
|
876
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RO_FST.cs.bak
Normal file
@@ -0,0 +1,876 @@
|
||||
/*********************************************************************************************
|
||||
* Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
|
||||
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||
* ------------------------------------------------------------------------------
|
||||
* $Workfile: RO_FST.cs $ $Revision: 15 $
|
||||
* $Author: Jsj $ $Date: 8/23/06 11:33a $
|
||||
*
|
||||
* $History: RO_FST.cs $
|
||||
*
|
||||
* ***************** Version 15 *****************
|
||||
* User: Jsj Date: 8/23/06 Time: 11:33a
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* debug statements commented out
|
||||
*
|
||||
* ***************** Version 14 *****************
|
||||
* User: Jsj Date: 5/03/05 Time: 11:48a
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* 2005 upgrade, move some ROFST logic to ROFST library
|
||||
*
|
||||
* ***************** Version 13 *****************
|
||||
* User: Jsj Date: 5/11/04 Time: 9:29a
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* Bug fix B2004-011, could not create FST file if user opened nodes on
|
||||
* tree.
|
||||
*
|
||||
* ***************** Version 12 *****************
|
||||
* User: Jsj Date: 4/08/04 Time: 9:48a
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* Modified code to speed up the creation of the RO.FST file
|
||||
*
|
||||
* ***************** Version 11 *****************
|
||||
* User: Jsj Date: 6/30/03 Time: 1:20p
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* a NULL Accessory Page ID was giving problems in creating a new RO.FST
|
||||
* file.
|
||||
*
|
||||
* ***************** Version 10 *****************
|
||||
* User: Kathy Date: 6/11/03 Time: 2:01p
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* Fix bug B2003-045
|
||||
*
|
||||
* ***************** Version 9 *****************
|
||||
* User: Kathy Date: 5/30/03 Time: 12:48p
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* B2003-044: sync up xml with UI tree view
|
||||
*
|
||||
* ***************** Version 8 *****************
|
||||
* User: Kathy Date: 5/21/03 Time: 12:51p
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* B2003-034: process data if only one field for RO & also, convert return
|
||||
* value for xml save
|
||||
*
|
||||
* ***************** Version 7 *****************
|
||||
* User: Jsj Date: 4/14/03 Time: 3:02p
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* Speed up the creation of the RO.FST file
|
||||
*
|
||||
* ***************** Version 6 *****************
|
||||
* User: Kathy Date: 4/04/03 Time: 9:41a
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* B2003-030 convert new top group name to user readable for ro.fst
|
||||
*
|
||||
* ***************** Version 5 *****************
|
||||
* User: Jsj Date: 2/21/03 Time: 9:51a
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* added RO FST completed message
|
||||
*
|
||||
* ***************** Version 4 *****************
|
||||
* User: Jsj Date: 1/02/03 Time: 9:31a
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* Save Graphics file date in RO.FST file
|
||||
*
|
||||
* ***************** Version 3 *****************
|
||||
* User: Jsj Date: 12/17/02 Time: 4:54p
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* save real date for graphic files
|
||||
*
|
||||
* ***************** Version 2 *****************
|
||||
* User: Jsj Date: 12/06/02 Time: 3:26p
|
||||
* Updated in $/EXE/RefObj/ROEditor
|
||||
* parameter display data fix (ingoring this data for now)
|
||||
*
|
||||
* ***************** Version 1 *****************
|
||||
* User: Jsj Date: 11/27/02 Time: 12:53p
|
||||
* Created in $/EXE/RefObj/ROEditor
|
||||
* Modification to create the RO.FST file
|
||||
*********************************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Data;
|
||||
using System.Xml;
|
||||
using System.Xml.Schema;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using RODBInterface;
|
||||
using System.Runtime.InteropServices;
|
||||
using VlnStatus;
|
||||
using System.Collections.Specialized;
|
||||
using ROFST_FILE;
|
||||
|
||||
//using VlnProfiler; //don't forget to add VlnProfiler to the reference list
|
||||
|
||||
namespace ROEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// This creates an RO.FST file
|
||||
/// </summary>
|
||||
|
||||
class FstTmpSTRC
|
||||
{
|
||||
public ushort thistype;
|
||||
public uint thisoff;
|
||||
public string title;
|
||||
|
||||
public FstTmpSTRC(ushort type, uint offset, string tl)
|
||||
{
|
||||
thistype = type;
|
||||
thisoff = offset;
|
||||
title = tl;
|
||||
}
|
||||
|
||||
void WriteString(BinaryWriter bw, string str)
|
||||
{
|
||||
int n=str.Length;
|
||||
byte [] b = new byte[n+1];
|
||||
for(int i =0; i < n; i++)
|
||||
{
|
||||
b[i] = (byte)str[i];
|
||||
}
|
||||
bw.Write(b,0,n+1); // +1 to include null
|
||||
/**
|
||||
byte nullbyte = 0;
|
||||
int i;
|
||||
for(i =0; i < str.Length; i++)
|
||||
{
|
||||
byte WrByte;
|
||||
WrByte = (byte)str[i];
|
||||
bw.Write(WrByte);
|
||||
}
|
||||
bw.Write(nullbyte);
|
||||
***/
|
||||
}
|
||||
|
||||
public void Write(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(thisoff);
|
||||
bw.Write(thistype);
|
||||
WriteString(bw,title);
|
||||
}
|
||||
}
|
||||
|
||||
// The Sorted Array was not sorting via the ASCII value of each character in a given string.
|
||||
// This sorting function compares two strings by doing a character by character comparison.
|
||||
public class MyComparer : IComparer
|
||||
{
|
||||
public int Compare (object x, object y)
|
||||
{
|
||||
int rtnval = 0;
|
||||
int xcnt=0,ycnt=0;
|
||||
int xlen,ylen;
|
||||
byte xbyte, ybyte;
|
||||
string xbuff = x.ToString();
|
||||
string ybuff = y.ToString();
|
||||
xlen = xbuff.Length;
|
||||
ylen = ybuff.Length;
|
||||
if (xbuff[0] == '<')
|
||||
rtnval = 0;
|
||||
if (ybuff[0] == '<')
|
||||
rtnval = 0;
|
||||
while ((rtnval==0) && ((xcnt < xlen) || (ycnt < ylen)))
|
||||
{
|
||||
xbyte = (xcnt == xlen)? (byte)0 : (byte)xbuff[xcnt++];
|
||||
ybyte = (ycnt == ylen)? (byte)0 : (byte)ybuff[ycnt++];
|
||||
rtnval = xbyte - ybyte;
|
||||
}
|
||||
|
||||
return rtnval;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class RO_FST
|
||||
{
|
||||
private FST_FileHeader FstHeader;
|
||||
private string FstDir; // path to the RO directory
|
||||
private string FstPath; // RO directory Path and RO.FST file name
|
||||
private string FstOld; // ROFST.Old file name (backup of previous fst file)
|
||||
private string FstNew; // ROFST.New hold the RO.FST info during creation
|
||||
|
||||
private BinaryWriter fhFST; // write handle to FST file being created
|
||||
|
||||
private VlnStatusBar StatusWin;
|
||||
|
||||
private RODB ROdatabase;
|
||||
|
||||
private XmlDocument FSTroXmlDoc;
|
||||
// private HybridDictionary dicTiming;
|
||||
// private HybridDictionary dicDuration;
|
||||
|
||||
ushort widestAcPgId;
|
||||
SortedList IdsAndAccPgIds;
|
||||
SortedList IdsAndOffsets;
|
||||
|
||||
ushort AllTypesUsed;
|
||||
|
||||
private Stack InUseListStack;
|
||||
private Stack RtnValTmplateStack;
|
||||
// private DateTime dtLast=DateTime.Now;
|
||||
|
||||
public RO_FST(RODB TheROdb, XmlDocument TheXmlDoc)
|
||||
{
|
||||
ROdatabase = TheROdb; // point to the RO database
|
||||
FSTroXmlDoc = TheXmlDoc;
|
||||
}
|
||||
public bool Create()
|
||||
{
|
||||
bool RtnStat = true;
|
||||
// dicDuration=new HybridDictionary();
|
||||
// dicTiming=new HybridDictionary();
|
||||
// Profiler.Reset();
|
||||
// position to the top of the tree
|
||||
// CurrentNode = roTree.TopNode;
|
||||
|
||||
// Setup the paths to the FST files
|
||||
FstDir = Directory.GetCurrentDirectory();
|
||||
FstPath = FstDir + "\\RO.FST";
|
||||
FstOld = FstDir + "\\ROFST.Old";
|
||||
FstNew = FstDir + "\\ROFST.New";
|
||||
|
||||
// open a temporary file for building the RO.FST
|
||||
try
|
||||
{
|
||||
fhFST = new BinaryWriter(File.Open(FstNew,System.IO.FileMode.Create,System.IO.FileAccess.ReadWrite));
|
||||
}
|
||||
catch (Exception fhExc)
|
||||
{
|
||||
string errmsg = fhExc.Message;
|
||||
MessageBox.Show(errmsg,"Error Creating RO.FST file",System.Windows.Forms.MessageBoxButtons.OK);
|
||||
RtnStat = false;
|
||||
}
|
||||
|
||||
// If we were able to open a new ROFST.NEW file then go ahead and put the
|
||||
// new FST information into it.
|
||||
if (RtnStat)
|
||||
RtnStat = BuildNewRoFST();
|
||||
|
||||
if (RtnStat) // successful in creating new RO FST file?
|
||||
{
|
||||
//If an RO.FST file already exists,
|
||||
// rename the existing file for safe keeping
|
||||
if (File.Exists(FstPath))
|
||||
{
|
||||
// copy the existing RO.FST to ROFST.OLD
|
||||
// - overrite ROFST.OLD if it already exists
|
||||
File.Copy(FstPath,FstOld,true); // save RO.FST as ROFST.OLD
|
||||
File.Delete(FstPath); // remove RO.FST
|
||||
}
|
||||
File.Copy(FstNew,FstPath,true); // save ROFST.NEW as RO.fST
|
||||
File.Delete(FstNew); // remove ROFST.NEW
|
||||
MessageBox.Show("New RO.FST file created successfully.","Create RO.FST file",System.Windows.Forms.MessageBoxButtons.OK);
|
||||
}
|
||||
// MessageBox.Show(Profiler.ToString("000.00%"),"Timings");
|
||||
// dicDuration=null;
|
||||
// dicTiming=null;
|
||||
return RtnStat;
|
||||
}
|
||||
|
||||
|
||||
private bool BuildNewRoFST()
|
||||
{
|
||||
bool RtnVal = true;
|
||||
int i;
|
||||
int numDatabases;
|
||||
// write the empty header - save space for the header info
|
||||
FstHeader = new FST_FileHeader();
|
||||
FstHeader.Write(fhFST);
|
||||
|
||||
// point to the ROMASTER and get the number of databases it has
|
||||
VlnXmlElement ROdbtables = (VlnXmlElement) FSTroXmlDoc.FirstChild;
|
||||
numDatabases = ROdbtables.ChildNodes.Count;
|
||||
|
||||
// Allocate a list of database info structures
|
||||
ROFST_DbInfo[] dbinfo = new ROFST_DbInfo[numDatabases];
|
||||
//For each RO database, process each group
|
||||
XmlNode ROtableNode = ROdbtables;
|
||||
ROtableNode = ROtableNode.FirstChild;
|
||||
StatusWin = new VlnStatusBar("Creating RO.FST file");
|
||||
for (i=0; i < numDatabases && RtnVal; i++)
|
||||
{
|
||||
dbinfo[i] = new ROFST_DbInfo();
|
||||
RtnVal = SaveToFSTFile(ROtableNode,dbinfo[i]);
|
||||
dbinfo[i].dbiType = AllTypesUsed;
|
||||
ROtableNode = ROtableNode.NextSibling;
|
||||
}
|
||||
|
||||
if (RtnVal)
|
||||
{
|
||||
VlnXmlElement tblnode = (VlnXmlElement) ROdbtables.FirstChild;
|
||||
StatusWin.BarMax = numDatabases * 2;
|
||||
StatusWin.BarStepValue = 1;
|
||||
StatusWin.BarValue = 0;
|
||||
// All of the RO database, group, and return value information
|
||||
// was saved to the FST file. Now save the information needed
|
||||
// to read the FST file.
|
||||
|
||||
// Save DB list
|
||||
uint lngbuf = 0;
|
||||
uint dblength = (uint)fhFST.BaseStream.Position;
|
||||
|
||||
fhFST.Write(lngbuf);
|
||||
|
||||
ushort intbuf = Convert.ToUInt16(numDatabases);
|
||||
fhFST.Write(intbuf);
|
||||
|
||||
// The old code did a sizeof() on a structure containing the ROFSTDatabaseInfo (dbi)
|
||||
// You cannot read/write a Struct type in C# like you can with C++. The C# books suggest
|
||||
// creating a Class to replace the Struct, then create methods that perform the binary
|
||||
// read/write. So I created a method that calculates the "struct" size to simulate the
|
||||
// sizeof(struct dbi)
|
||||
uint lngval = (dbinfo[0].GetStructSize()) * (uint)numDatabases;
|
||||
|
||||
for (i=0; i<numDatabases; i++)
|
||||
{
|
||||
StatusWin.PerformStep();
|
||||
dbinfo[i].WriteUntAndShort(fhFST);
|
||||
fhFST.Write(lngval);
|
||||
lngval += (uint)dbinfo[i].dbiTitle.Length+1;
|
||||
fhFST.Write(lngval);
|
||||
lngval += (uint)dbinfo[i].dbiAP.Length+1;
|
||||
}
|
||||
|
||||
// write the titles and accessory page ids
|
||||
for (i=0; i<numDatabases;i++)
|
||||
{
|
||||
tblnode.SetAttribute("TreeNotData","True");
|
||||
StatusWin.PerformStep();
|
||||
dbinfo[i].WriteStrings(fhFST);
|
||||
tblnode = (VlnXmlElement) tblnode.NextSibling;
|
||||
}
|
||||
|
||||
int dbend = (int)fhFST.BaseStream.Position;
|
||||
fhFST.Seek((int)dblength,System.IO.SeekOrigin.Begin);
|
||||
lngbuf = (uint)(dbend-dblength-4);//sizeof(dblength);
|
||||
fhFST.Write(lngbuf);
|
||||
fhFST.Seek(0,System.IO.SeekOrigin.Begin);
|
||||
|
||||
// save the header information
|
||||
FstHeader.SetHeader(dblength);
|
||||
FstHeader.Write(fhFST);
|
||||
|
||||
// Close the status window
|
||||
StatusWin.Dispose();
|
||||
|
||||
// close tmporary FST file
|
||||
fhFST.Close();
|
||||
}
|
||||
|
||||
return RtnVal;
|
||||
}
|
||||
|
||||
private string CvtFldToUserFld(string fldname)
|
||||
{
|
||||
string tmpstr0;
|
||||
if (fldname.Length < 2) return fldname;
|
||||
// an xml element name cannot begin with a digit. we had prepended a "__"
|
||||
if (fldname.Substring(0,2) == "__" && char.IsDigit(fldname,2))
|
||||
tmpstr0 = fldname.Substring(2,fldname.Length-2);
|
||||
else
|
||||
tmpstr0 = fldname;
|
||||
// an xml element name cannot have a space, we converted to a "__"
|
||||
string tmpstr = tmpstr0.Replace("__"," ");
|
||||
int len = tmpstr.Length;
|
||||
int cur = 0;
|
||||
|
||||
// this is also our sequence that tells us the follow 3 digits is the ascii number (base 10)
|
||||
// of the character we replaced.
|
||||
string OKpunch = "-._";
|
||||
|
||||
string outstr = "";
|
||||
int decval, indx;
|
||||
if (tmpstr.Length <6)
|
||||
indx = -1;
|
||||
else
|
||||
indx=tmpstr.IndexOf(OKpunch,cur);
|
||||
string asc_spchar;
|
||||
while (indx>=0)
|
||||
{
|
||||
outstr += tmpstr.Substring(cur,indx-cur);
|
||||
asc_spchar = tmpstr.Substring(indx+3,3);
|
||||
decval = System.Convert.ToInt16(asc_spchar,10);
|
||||
outstr += System.Convert.ToChar(decval).ToString();
|
||||
cur = indx+6;
|
||||
if (cur+6 > len)
|
||||
indx = -1;
|
||||
else
|
||||
indx = tmpstr.IndexOf(OKpunch,cur);
|
||||
}
|
||||
if (cur<len) outstr += tmpstr.Substring(cur,len-cur);
|
||||
|
||||
return outstr;
|
||||
}
|
||||
|
||||
// If any of the nodes on the user interface tree were open,
|
||||
// the group info for those nodes were aleady read.
|
||||
// To speed up the RO.FST file creation, remove these read in
|
||||
// child nodes so the the code can do one big database read
|
||||
// to get all of the child info for a high level group, instead
|
||||
// of many database reads (one for each lower level group).
|
||||
private void RemoveGroupChildNodes(XmlNode TheROtableNode)
|
||||
{
|
||||
VlnXmlElement elem = (VlnXmlElement) TheROtableNode;
|
||||
string strHasChild = elem.GetAttribute("HasChild");
|
||||
string strChildLoaded = elem.GetAttribute("ChildLoaded");
|
||||
|
||||
if (strHasChild.Equals("True") && strChildLoaded.Equals("True"))
|
||||
{
|
||||
VlnXmlElement kid, delkid;
|
||||
XmlNode chldNode = TheROtableNode.FirstChild;
|
||||
while (chldNode != null)
|
||||
{
|
||||
delkid = null;
|
||||
if (chldNode is VlnXmlElement)
|
||||
{
|
||||
kid = (VlnXmlElement) chldNode;
|
||||
if (kid.HasAttribute("RecID"))delkid = kid;
|
||||
}
|
||||
chldNode = chldNode.NextSibling;
|
||||
if (delkid != null) elem.RemoveChild(delkid);
|
||||
}
|
||||
elem.SetAttribute("ChildLoaded","False");
|
||||
}
|
||||
}
|
||||
|
||||
private bool SaveToFSTFile(XmlNode TheROtableNode,ROFST_DbInfo Thedbinfo)
|
||||
{
|
||||
// Profiler.Start("Startup");
|
||||
bool RtnVal = false;
|
||||
IComparer StrCompare = new MyComparer();
|
||||
IdsAndAccPgIds = new SortedList(StrCompare);
|
||||
IdsAndOffsets = new SortedList();
|
||||
VlnXmlElement elem = (VlnXmlElement) TheROtableNode;
|
||||
|
||||
// Save The Database Filename NUMBER (EX 02 FOR RO000002)
|
||||
// note that the number part of the filename is in base 10, NOT base 16!
|
||||
string tablename = elem.GetAttribute("Table");
|
||||
ushort shorttmp = System.Convert.ToUInt16(tablename.Substring(2),10);
|
||||
Thedbinfo.dbiID = shorttmp;
|
||||
|
||||
// Save the database title
|
||||
Thedbinfo.dbiTitle = CvtFldToUserFld(elem.FirstChild.InnerText);
|
||||
StatusWin.StatusBoxTitle = "Processing " + Thedbinfo.dbiTitle;
|
||||
|
||||
// Save the Accessory Page ID Prefix
|
||||
Thedbinfo.dbiAP = elem.GetAttribute("AccPageIDPrefix");
|
||||
|
||||
// Get the Accessory Page ID Template
|
||||
string AccPageIDTplate = elem.GetAccPageIDTemplate();
|
||||
|
||||
// Get the list of available fields
|
||||
ArrayList AvailList;
|
||||
AvailList = ROdatabase.RODB_GetFields(elem, (uint) RecordType.Schema);
|
||||
|
||||
// Initialize a stack for the FieldsInUse lists
|
||||
InUseListStack = new Stack();
|
||||
|
||||
//Initialize a stack for the return value template
|
||||
RtnValTmplateStack = new Stack();
|
||||
|
||||
widestAcPgId = 0;
|
||||
AllTypesUsed = 0;
|
||||
|
||||
// for each group..
|
||||
// ... save to the FST file and get widestAcPgId
|
||||
// .... also save a RECID/ACCPGID to a sorted list
|
||||
// ... also save a RECID/FSToffset to a sorted list
|
||||
// XmlNode GroupNode = TheROtableNode;
|
||||
StatusWin.BarMax = ROdatabase.RODB_GetNumberOfROValueRecords(tablename)+1;
|
||||
StatusWin.BarStepValue = 1;
|
||||
StatusWin.BarValue = 0;
|
||||
StatusWin.StatMsg = "Saving To RO.FST File";
|
||||
// Profiler.End("Startup");
|
||||
RemoveGroupChildNodes(TheROtableNode);
|
||||
Thedbinfo.dbiGL = SaveFstGroup(TheROtableNode,0,ref AllTypesUsed,AvailList,AccPageIDTplate);
|
||||
// Profiler.Start("Finish");
|
||||
|
||||
Thedbinfo.dbiIL = (uint)fhFST.BaseStream.Position;
|
||||
|
||||
StatusWin.StatMsg = "Saving RO References";
|
||||
StatusWin.BarMax = IdsAndOffsets.Count + IdsAndAccPgIds.Count;
|
||||
StatusWin.BarStepValue = 1;
|
||||
StatusWin.BarValue = 0;
|
||||
// save the IdsAndOffsets list
|
||||
for (int i=0; i<IdsAndOffsets.Count; i++)
|
||||
{
|
||||
uint buf1;
|
||||
uint buf2;
|
||||
// IDsAndOffsetMemBlock tbuf = new IDsAndOffsetMemBlock();
|
||||
StatusWin.PerformStep();
|
||||
|
||||
buf1 = System.Convert.ToUInt32(IdsAndOffsets.GetKey(i));
|
||||
// buf1 = SwapBytes(buf1);
|
||||
buf2 = System.Convert.ToUInt32(IdsAndOffsets.GetByIndex(i));
|
||||
fhFST.Write(buf1);
|
||||
fhFST.Write(buf2);
|
||||
RtnVal = true;
|
||||
}
|
||||
IdsAndOffsets.Clear();
|
||||
|
||||
// write ACCPageIDs and offsets
|
||||
Thedbinfo.dbiAL = (uint)fhFST.BaseStream.Position;
|
||||
Thedbinfo.dbiAW = widestAcPgId;
|
||||
// spin through the children nodes and look for AccPageIds
|
||||
for (int i=0; i<IdsAndAccPgIds.Count; i++)
|
||||
{
|
||||
string ACCPageIDstr;
|
||||
uint RecIDint;
|
||||
StatusWin.PerformStep();
|
||||
ACCPageIDstr = Convert.ToString(IdsAndAccPgIds.GetKey(i));
|
||||
ACCPageIDstr = ACCPageIDstr.PadRight(widestAcPgId,(char)0);
|
||||
RecIDint = Convert.ToUInt32(IdsAndAccPgIds.GetByIndex(i));
|
||||
fhFST.Write(RecIDint);
|
||||
WriteString(ACCPageIDstr,false);
|
||||
}
|
||||
IdsAndAccPgIds.Clear();
|
||||
// Save the end offset for this database (table)
|
||||
Thedbinfo.dbiEND = (uint)fhFST.BaseStream.Position;
|
||||
// Profiler.End("Finish");
|
||||
return RtnVal;
|
||||
}
|
||||
|
||||
private uint SaveFstGroup(XmlNode GroupNode, uint parentID,ref ushort typ,ArrayList AvailList,string AccPageIDTplate)
|
||||
{
|
||||
uint RtnVal;
|
||||
uint curRecID;
|
||||
ushort curType = 0;
|
||||
ushort numgroups;
|
||||
uint elemParentID;
|
||||
ArrayList FstTmp;
|
||||
FstTmpSTRC tmpfststrc;
|
||||
bool PopInUseStack = false;
|
||||
bool PopRtnValStack = false;
|
||||
|
||||
// FstTmp is an array that stores record type, menu title,
|
||||
// and offset into the FST file for each RO (non group) record
|
||||
FstTmp = new ArrayList();
|
||||
|
||||
VlnXmlElement elem;
|
||||
elem = (VlnXmlElement) GroupNode;
|
||||
|
||||
// Get the current node's record id
|
||||
string RecIdStr = elem.GetAttribute("RecID");
|
||||
curRecID = System.Convert.ToUInt32(RecIdStr,16);
|
||||
|
||||
// Get the current node's parent id
|
||||
string ParIdStr = elem.GetAttribute("ParentID");
|
||||
elemParentID = Convert.ToUInt32(ParIdStr,16);
|
||||
|
||||
string HasKids = elem.GetAttribute("HasChild");
|
||||
string KidsLoaded = elem.GetAttribute("ChildLoaded");
|
||||
|
||||
numgroups = 0;
|
||||
|
||||
if (KidsLoaded != "True" && HasKids.Equals("True"))
|
||||
{
|
||||
// Profiler.Start("GetChildData");
|
||||
// ROdatabase.RODB_GetChildData(elem,true);
|
||||
ROdatabase.RODB_GetGroupAndSubgroups(elem);
|
||||
// Profiler.End("GetChildData");
|
||||
}
|
||||
|
||||
XmlNode tmpnode = GroupNode;
|
||||
XmlNode chldnode;
|
||||
VlnXmlElement ChildElem;
|
||||
|
||||
// Process the children. If the child is a subgroup,
|
||||
// call this function (SaveFstGroup) again. If the
|
||||
// child is a RO record, save the RO information to
|
||||
// the FST file.
|
||||
chldnode = tmpnode.FirstChild;
|
||||
|
||||
if (chldnode != null)
|
||||
{
|
||||
|
||||
string dummy = ""; // need for RODB_GetFIeldsInUse call, won't be used.
|
||||
// ArrayList AvailList, InUseList;
|
||||
ArrayList InUseList;
|
||||
// ArrayList tmpAvailList;
|
||||
string RtnValTmplate;
|
||||
|
||||
// if the current group has a "FieldInUse" list, go get it.
|
||||
if (elem.HasAttribute("FieldsInUse") == true)
|
||||
{
|
||||
// Profiler.Start("GetFieldsInUse");
|
||||
InUseList = ROdatabase.RODB_GetFieldsInUse(elem, AvailList,"FieldsInUse", ref dummy, false);
|
||||
// save the InUseList on a stack for children to use if they don't have one of their own
|
||||
InUseListStack.Push(InUseList);
|
||||
// Profiler.End("GetFieldsInUse");
|
||||
PopInUseStack = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Use the InUseList from this group's parent
|
||||
InUseList = (ArrayList)InUseListStack.Peek();
|
||||
PopInUseStack = false;
|
||||
}
|
||||
|
||||
// if the current group has a "RetVal", go get it
|
||||
if (elem.HasAttribute("RetVal") == true)
|
||||
{
|
||||
RtnValTmplate = elem.GetReturnValueTemplate();
|
||||
// save the RtnValTmplate on a stack for children to use if they don't have one
|
||||
RtnValTmplateStack.Push(RtnValTmplate);
|
||||
PopRtnValStack = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// use the parent's RtnValTmplate
|
||||
RtnValTmplate = (string) RtnValTmplateStack.Peek();
|
||||
PopRtnValStack = false;
|
||||
}
|
||||
while (chldnode != null)
|
||||
{
|
||||
uint curOffset =0;
|
||||
bool SkipThisOne;
|
||||
|
||||
if (chldnode is VlnXmlElement)
|
||||
{
|
||||
SkipThisOne = false;
|
||||
ChildElem = (VlnXmlElement) chldnode;
|
||||
if (ChildElem.Name == "vlnGroup") // is a subgroup?
|
||||
{
|
||||
curType=0;
|
||||
curOffset = SaveFstGroup(chldnode,curRecID,ref curType,AvailList,AccPageIDTplate); // process subgroup
|
||||
}
|
||||
else // save RO info.
|
||||
{
|
||||
int levelCnt = chldnode.ChildNodes.Count;
|
||||
string TheMenuTitle = ChildElem.GetAttribute("MenuTitle");
|
||||
if ((levelCnt >= 1) && !TheMenuTitle.Equals(""))
|
||||
{
|
||||
curOffset = (uint)fhFST.BaseStream.Position;
|
||||
curType = SaveROToFST(chldnode,InUseList,RtnValTmplate,AccPageIDTplate);
|
||||
}
|
||||
else
|
||||
{
|
||||
SkipThisOne = true;
|
||||
}
|
||||
}
|
||||
if (!SkipThisOne)
|
||||
{
|
||||
string tmpstr = ChildElem.GetAttribute("MenuTitle");
|
||||
tmpfststrc = new FstTmpSTRC(curType,curOffset,tmpstr);
|
||||
FstTmp.Add(tmpfststrc);
|
||||
typ |= curType;
|
||||
numgroups++;
|
||||
}
|
||||
} // end if VlnXmlElement
|
||||
|
||||
// Get next child
|
||||
chldnode = chldnode.NextSibling;
|
||||
}// end while
|
||||
} // if child is not null
|
||||
|
||||
// pop the InUseList stack
|
||||
if (PopInUseStack)
|
||||
InUseListStack.Pop();
|
||||
|
||||
// pop the return valuse template stack
|
||||
if (PopRtnValStack)
|
||||
RtnValTmplateStack.Pop();
|
||||
|
||||
|
||||
// save the current position of the FST file for the return value
|
||||
RtnVal = (uint)fhFST.BaseStream.Position;
|
||||
|
||||
// Save the ID and offset entry for the current ID
|
||||
IdsAndOffsets.Add(curRecID,RtnVal);
|
||||
|
||||
fhFST.Write(curRecID);
|
||||
fhFST.Write(elemParentID);
|
||||
fhFST.Write(numgroups);
|
||||
|
||||
// write the FstTmp
|
||||
for (int i=0; i < FstTmp.Count; i++)
|
||||
{
|
||||
tmpfststrc = (FstTmpSTRC)FstTmp[i];
|
||||
tmpfststrc.Write(fhFST);
|
||||
}
|
||||
FstTmp.Clear();
|
||||
|
||||
return RtnVal;
|
||||
}
|
||||
|
||||
|
||||
public void WriteGraphicsReturnValue(string OrigStr)
|
||||
{
|
||||
string text, tmptext, hgttxt, widtxt, imgdateStr;
|
||||
int idx;
|
||||
int hgt, wid;
|
||||
int imgdateInt;
|
||||
byte newline = 10;
|
||||
|
||||
char[] tmpbuf = OrigStr.ToCharArray();
|
||||
|
||||
// remove the trailing "\r\n"
|
||||
tmptext = OrigStr.Substring(0,OrigStr.Length-2);
|
||||
|
||||
// parse out the image width
|
||||
idx = tmptext.LastIndexOf("\r\n");
|
||||
widtxt = tmptext.Substring(idx+2,tmptext.Length-(idx+2));
|
||||
wid = Convert.ToInt32(widtxt,10);
|
||||
widtxt = wid.ToString("x4");
|
||||
tmptext = tmptext.Substring(0,idx);
|
||||
|
||||
// parse out the image height
|
||||
idx = tmptext.LastIndexOf("\r\n");
|
||||
hgttxt = tmptext.Substring(idx+2,tmptext.Length-(idx+2));
|
||||
hgt = Convert.ToInt32(hgttxt,10);
|
||||
hgttxt = hgt.ToString("x4");
|
||||
tmptext = tmptext.Substring(0,idx);
|
||||
|
||||
// parse out the image file name and image date
|
||||
idx = tmptext.IndexOf(" ");
|
||||
text = tmptext.Substring(idx+1);
|
||||
if (tmptext.StartsWith("\r\n"))
|
||||
imgdateStr = tmptext.Substring(2,idx-2); // first 2 chars are "\r\n"
|
||||
else
|
||||
{
|
||||
if(idx < 1)
|
||||
imgdateStr=null;
|
||||
else
|
||||
imgdateStr = tmptext.Substring(0,idx);
|
||||
}
|
||||
if (imgdateStr == null|| imgdateStr=="")
|
||||
imgdateInt = 0;
|
||||
else
|
||||
imgdateInt = Convert.ToInt32(imgdateStr,10);
|
||||
|
||||
// write graphics file name
|
||||
WriteString(text,false);
|
||||
fhFST.Write(newline);
|
||||
|
||||
// write dummy date (old FST file had only zeros!
|
||||
// WriteString("00000000",false);
|
||||
WriteString(imgdateInt.ToString("x8"),false);
|
||||
fhFST.Write(newline);
|
||||
|
||||
// write the image height
|
||||
WriteString(hgttxt,false);
|
||||
fhFST.Write(newline);
|
||||
|
||||
//write the image width
|
||||
WriteString(widtxt,true);
|
||||
}
|
||||
|
||||
|
||||
private ushort SaveROToFST(XmlNode RONode,ArrayList InUseList,string RtnValTmplate, string AccPageIDTplate)
|
||||
{
|
||||
ushort RtnVal;
|
||||
uint startFST = (uint)fhFST.BaseStream.Position;
|
||||
uint RORecID;
|
||||
uint ParID;
|
||||
byte nullbyte=0;
|
||||
|
||||
VlnXmlElement elem;
|
||||
elem = (VlnXmlElement) RONode;
|
||||
|
||||
// string dummy = ""; // need for RODB_GetFIeldsInUse call, won't be used.
|
||||
// ArrayList AvailList, InUseList;
|
||||
// //Get the "In Use" field list
|
||||
// AvailList = ROdatabase.RODB_GetFields(elem, (uint) RecordType.Schema);
|
||||
// InUseList = ROdatabase.RODB_GetFieldsInUse(elem, AvailList,"FieldsInUse", ref dummy);
|
||||
|
||||
//Write the RO's record ID
|
||||
string RecIdStr = elem.GetAttribute("RecID");
|
||||
RORecID = System.Convert.ToUInt32(RecIdStr,16);
|
||||
|
||||
fhFST.Write(RORecID);
|
||||
|
||||
// **** Debug
|
||||
// if (RecIdStr.Equals("000000a6"))
|
||||
// nullbyte=0;
|
||||
// ***
|
||||
// Get the Accessory Page ID
|
||||
// string AccPageIDTplate = elem.GetAccPageIDTemplate();
|
||||
string AccPageID = elem.GetAccPageIDString(AccPageIDTplate);
|
||||
|
||||
// **** Debug
|
||||
// if (AccPageID.Equals("S:1"))
|
||||
// nullbyte=0;
|
||||
// *****
|
||||
|
||||
//Write the parent ID
|
||||
string ParIDstr = elem.GetAttribute("ParentID");
|
||||
ParID = System.Convert.ToUInt32(ParIDstr,16);
|
||||
fhFST.Write(ParID);
|
||||
|
||||
// not sure why, was in old FST code but no comment!
|
||||
// I assume that it's some sort of separater
|
||||
short none = -1;
|
||||
fhFST.Write(none);
|
||||
|
||||
//Get the RO Return value and return type
|
||||
// string RtnValTmplate = elem.GetReturnValueTemplate();
|
||||
RtnVal = 0;
|
||||
string tablename = elem.GetAttribute("Table");
|
||||
// if (RtnValTmplate.Equals("<Setpoint__Value>"))
|
||||
// {
|
||||
// int i;
|
||||
// i =0;
|
||||
// }
|
||||
string cvttmp= CvtFldToUserFld(RtnValTmplate);
|
||||
string RORtnVal = elem.GetReturnValue(ROdatabase,tablename,cvttmp,InUseList,ref RtnVal);
|
||||
|
||||
// Write the field type to the FST
|
||||
fhFST.Write(RtnVal);
|
||||
|
||||
if (RtnVal == 8) // is this an Image (graphics) record?
|
||||
WriteGraphicsReturnValue(RORtnVal);
|
||||
else
|
||||
WriteString(RORtnVal);
|
||||
|
||||
// Write the Accessory Page ID
|
||||
// Fix for Bug B2003-039. Added check for a NULL AccPageID
|
||||
// If is null, then assign a blank string
|
||||
|
||||
if (AccPageID != null)
|
||||
AccPageID = AccPageID.Trim();
|
||||
else
|
||||
AccPageID = " ";
|
||||
WriteString(AccPageID);
|
||||
|
||||
// Save the ID and offset entry for the current ID
|
||||
IdsAndOffsets.Add(RORecID,startFST);
|
||||
|
||||
// Save the RecID and Accessory Page id
|
||||
IdsAndAccPgIds[AccPageID] = RORecID;
|
||||
|
||||
|
||||
// Save the widest AccPageID width
|
||||
int acclen = AccPageID.Length;
|
||||
if (acclen > widestAcPgId)
|
||||
widestAcPgId = (ushort)acclen;
|
||||
// if(dtLast.AddSeconds(.3) < DateTime.Now)
|
||||
// {
|
||||
StatusWin.StatMsg = AccPageID;
|
||||
StatusWin.PerformStep();
|
||||
// dtLast=DateTime.Now;
|
||||
// }
|
||||
return RtnVal;
|
||||
}
|
||||
|
||||
public void WriteString(string str)
|
||||
{
|
||||
WriteString(str,true);
|
||||
}
|
||||
|
||||
public void WriteString(string str,bool AddNull)
|
||||
{
|
||||
int n=str.Length;
|
||||
if (AddNull)
|
||||
n++;
|
||||
byte [] b = new byte[n];
|
||||
for(int i =0; i < str.Length; i++)
|
||||
{
|
||||
b[i] = (byte)str[i];
|
||||
}
|
||||
fhFST.Write(b,0,n);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@@ -1,83 +1,50 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ROEditor", "ROEditor.csproj", "{3A4A3543-2D44-11D6-8452-00A0CC271352}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{6D44F537-879E-11D6-84B8-00A0CC271352} = {6D44F537-879E-11D6-84B8-00A0CC271352}
|
||||
{DECA8343-6351-11D6-8487-00A0CC271352} = {DECA8343-6351-11D6-8487-00A0CC271352}
|
||||
{0C782592-AA05-11D6-84D1-00A0CC271352} = {0C782592-AA05-11D6-84D1-00A0CC271352}
|
||||
{551CB7B3-00B1-11D7-8590-482B59000000} = {551CB7B3-00B1-11D7-8590-482B59000000}
|
||||
{0C7825FD-AA05-11D6-84D1-00A0CC271352} = {0C7825FD-AA05-11D6-84D1-00A0CC271352}
|
||||
{551CB7B3-00B1-11D7-8590-482B59000000} = {551CB7B3-00B1-11D7-8590-482B59000000}
|
||||
{0C782592-AA05-11D6-84D1-00A0CC271352} = {0C782592-AA05-11D6-84D1-00A0CC271352}
|
||||
{DECA8343-6351-11D6-8487-00A0CC271352} = {DECA8343-6351-11D6-8487-00A0CC271352}
|
||||
{6D44F537-879E-11D6-84B8-00A0CC271352} = {6D44F537-879E-11D6-84B8-00A0CC271352}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VlnStatus", "..\..\..\LibSource\VlnStatus\VlnStatus.csproj", "{551CB7B3-00B1-11D7-8590-482B59000000}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ROFields", "..\..\..\LibSource\ROField\ROFields.csproj", "{0C782592-AA05-11D6-84D1-00A0CC271352}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DBEncapsulation", "..\..\..\LibSource\DBEncapsulation\DBEncapsulation.csproj", "{6D44F537-879E-11D6-84B8-00A0CC271352}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RODBInterface", "..\..\..\LibSource\RODBInterface\RODBInterface.csproj", "{0C7825FD-AA05-11D6-84D1-00A0CC271352}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{6D44F537-879E-11D6-84B8-00A0CC271352} = {6D44F537-879E-11D6-84B8-00A0CC271352}
|
||||
{0C782592-AA05-11D6-84D1-00A0CC271352} = {0C782592-AA05-11D6-84D1-00A0CC271352}
|
||||
{551CB7B3-00B1-11D7-8590-482B59000000} = {551CB7B3-00B1-11D7-8590-482B59000000}
|
||||
{0C782592-AA05-11D6-84D1-00A0CC271352} = {0C782592-AA05-11D6-84D1-00A0CC271352}
|
||||
{6D44F537-879E-11D6-84B8-00A0CC271352} = {6D44F537-879E-11D6-84B8-00A0CC271352}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ctlXMLEditLib", "..\..\..\LibSource\ctlXMLEditLib\ctlXMLEditLib.csproj", "{DECA8343-6351-11D6-8487-00A0CC271352}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{0C7825FD-AA05-11D6-84D1-00A0CC271352} = {0C7825FD-AA05-11D6-84D1-00A0CC271352}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VlnProfiler", "..\..\..\LibSource\VlnProfiler\VlnProfiler.csproj", "{38044313-1E5E-4F20-A9E7-3CBDDDCADCDC}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ROFST", "..\..\..\LibSource\ROFST\ROFST.csproj", "{134D8938-9CDC-4712-9444-D5DCC6638AB6}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.Mentalis.Files", "..\..\..\LibSource\Org.Mentalis.Files\Org.Mentalis.Files.csproj", "{A46428FC-1E35-4B8D-8B06-A1DF8BAC7A04}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Utils", "..\..\..\LibSource\Utils\Utils.csproj", "{680054D3-49C4-40E7-92A5-67B97DCE6308}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CmpRpt", "..\CmpRpt\CmpRpt.csproj", "{C4293263-EA9C-11D6-8515-00A0CC271352}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{3A4A3543-2D44-11D6-8452-00A0CC271352} = {3A4A3543-2D44-11D6-8452-00A0CC271352}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SourceCodeControl) = preSolution
|
||||
SccNumberOfProjects = 11
|
||||
SccNumberOfProjects = 12
|
||||
SccProjectName0 = \u0022$/PROMS/ReferencedObjects\u0022,\u0020XCFAAAAA
|
||||
SccLocalPath0 = ..\\..\\..
|
||||
SccProvider0 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
|
||||
@@ -112,6 +79,9 @@ Global
|
||||
SccProjectUniqueName10 = ..\\..\\..\\LibSource\\VlnStatus\\VlnStatus.csproj
|
||||
SccLocalPath10 = ..\\..\\..
|
||||
SccProjectFilePathRelativizedFromConnection10 = LibSource\\VlnStatus\\
|
||||
SccProjectUniqueName11 = ..\\CmpRpt\\CmpRpt.csproj
|
||||
SccLocalPath11 = ..\\..\\..
|
||||
SccProjectFilePathRelativizedFromConnection11 = Exe\\RefObj\\CmpRpt\\
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@@ -258,6 +228,19 @@ Global
|
||||
{680054D3-49C4-40E7-92A5-67B97DCE6308}.Release|Win32.ActiveCfg = Release|Any CPU
|
||||
{680054D3-49C4-40E7-92A5-67B97DCE6308}.Release|x86.ActiveCfg = Release|x86
|
||||
{680054D3-49C4-40E7-92A5-67B97DCE6308}.Release|x86.Build.0 = Release|x86
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Debug|Win32.ActiveCfg = Debug|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Debug|x86.Build.0 = Debug|x86
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Release|Win32.ActiveCfg = Release|Any CPU
|
||||
{C4293263-EA9C-11D6-8515-00A0CC271352}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
BIN
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/Restore.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/Save.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
PROMS/ReferencedObjects/Exe/RefObj/ROEditor/Zoom.ico
Normal file
After Width: | Height: | Size: 318 B |
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
</startup><runtime>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup><runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705">
|
||||
</assemblyBinding></runtime>
|
||||
<appSettings>
|
||||
|