This commit is contained in:
parent
0826e27cac
commit
706ae56787
189
PROMS/VEPROMS_UI/AboutVEPROMS.Designer.cs
generated
Normal file
189
PROMS/VEPROMS_UI/AboutVEPROMS.Designer.cs
generated
Normal file
@ -0,0 +1,189 @@
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class AboutVEPROMS
|
||||
{
|
||||
/// <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(AboutVEPROMS));
|
||||
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.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 = "VE-PROMS";
|
||||
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 1 Beta Release";
|
||||
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 = "2007";
|
||||
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 = "Volian Enterprises Inc.";
|
||||
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 = "Created, Edit, Maintain Procedure Documents.\r\n";
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// AboutVEPROMS
|
||||
//
|
||||
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 = "AboutVEPROMS";
|
||||
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 = "About VE-PROMS";
|
||||
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/VEPROMS_UI/AboutVEPROMS.cs
Normal file
115
PROMS/VEPROMS_UI/AboutVEPROMS.cs
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 VEPROMS
|
||||
{
|
||||
partial class AboutVEPROMS : Form
|
||||
{
|
||||
public AboutVEPROMS()
|
||||
{
|
||||
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
|
||||
}
|
||||
}
|
597
PROMS/VEPROMS_UI/AboutVEPROMS.resx
Normal file
597
PROMS/VEPROMS_UI/AboutVEPROMS.resx
Normal file
@ -0,0 +1,597 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="logoPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAK8AAAE+CAYAAAD730AnAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUA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Xv73
|
||||
f6/f33LhhaPj45h333STjj8+rnnrFVdIIjznO79z9NqnP133wOd3xL+v/Ld/G73gh39Yx65z3HbbbaMz
|
||||
zzxzdO21167zsmu5Fu/gpK/92tH73vUuvc/zAgeMU77jOzT/jBf/8i+Pzv/d39Xvl/zDP4xOjXdw9wc/
|
||||
KGw84xu+YfSmF794dPfdd49O+bZvG1157LH63nO/+7tHl/37v+v3sx7xiNFL/uRP9Pttr3mN3vk7Xv/6
|
||||
0Xve9rbRCV/+5aO3nH++/vb8hz1s9Mp//Vf9flFg7IW/8Av6/fbXvnb09C/90tHtV1+t+7wPH157yimj
|
||||
p0WW0Pvf/e7R2wKwx33BFwhEuvh3fdfoor/4C/3+sr/+69FzHvpQ/f7GeImciJPc9rrXjZ76uZ87uj1y
|
||||
aRln/+qvjs74qZ/S7xf/7d/qARiv+o//GD37W79Vv18TIPbx8cSjk7/92zswv/Dnf350Ti6gVz3hCVoA
|
||||
jBf86I+OXvLHfyyQc70bL7pIn69rAFwc+o/Jhb6u667jOqf/5E+OLvi93xu9Nxbosfe//+iWV7969Ibw
|
||||
nSMwwMU7r79+9NTP+zwJtPfdccfouC/6otE1J598z3t94hO7d3T9i14kLAHoG845Z3TsAx4wek+c8+3X
|
||||
XDN66ud8zuhtcV7GebEIzvrZn9Xvr/iXf5FgY7CIjonrvOstb9G9HPeFX6hFwbjgD/5gdOoP/dA91wws
|
||||
CbwfeO97tepec8wx+sOpP/ADowsDJIzrnv983cB73/52nZAT3/zyl+tvz/rGbxxdFifRMXHS8yOSwuAG
|
||||
udF3vvGNo/fceqtu4K3hiL/rHe/QxPBQH3z/+0cnfMVXjC7/r//SMdc885maKCT0La985eiYAOe73vzm
|
||||
e46J67/phS+UNGcCuRd2CCZ8nWNfwXtrSMGnfPZnj95x3XWjV/zzP0vaMtj1vCO/9M/+rAPO5U96knZh
|
||||
3iE/J37lV46u+J//0THPD+wg5Bin/diPjc5/1KP0+9m//uuj02O3ZfBej/n8zx/ddMklow/G7npi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d7QsoDZj4HyNNUhnHg5XOOHXceJDHg5u+tD3iaVG9f56GVvExE7T0MCR5bP4BB
|
||||
73WOLzkFrhWT24sauNK7QtXIqRag80o/Dd2UY6Qrh8vMXg2CFm4hZbB29P0BZPEJ08knJDuBEKS7KaOe
|
||||
EGVFTwimdUDGriHdO9xuyt+NY5Duh20cavC6vFy9h7Pu6/Ef8zGy8il+hNKJcU4YU6YNFa9turo4Dr0T
|
||||
sDLIt3XTaqQ0tWNaJLGduwSdTpdOaHcLLdP341uG6l+SMHRtV1rAE4H6gpRWaJuGKqFnM9QoZQc7+Sxj
|
||||
oR1q8DKB6j2cfF+kRgIsBrVnBB9IXUSa4h/GzYaP12oBWWDnZBtYVQ9n/q3r0wCdAxSkWKqNbClB5zOn
|
||||
ajp/l8w1MtwAq5nSMRitspD8Q5RQgQx6D0dyj9MolwGIXTrHoQevGq8kPT7uKSQryTnuYawUyCR1Rhqz
|
||||
RatTZri4/jeCBRwv6RwJ6+7Eg05r0jy4EqgkRmISVRPw4niFdUPlcC4xi8iuMjLSVPiZXTy5DouDmjak
|
||||
uZNuakfMXQLdsu71/wFx/ki7Vuw9yQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
102
PROMS/VEPROMS_UI/App.config
Normal file
102
PROMS/VEPROMS_UI/App.config
Normal file
@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||
<section name="UISampleNetBar1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<log4net>
|
||||
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
||||
<param name="File" value="LogTest2.txt" />
|
||||
<param name="AppendToFile" value="false" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<!--<param name="Header" value="[Header]\r\n" />-->
|
||||
<!--<param name="Footer" value="[Footer]\r\n" />-->
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="--> %date [%thread] %-5level %logger (%property{log4net:HostName}) [%ndc] - %message%newline"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender">
|
||||
<threshold value="WARN" />
|
||||
<mapping>
|
||||
<level value="DEBUG" />
|
||||
<eventLogEntryType value="Information" />
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="INFO" />
|
||||
<eventLogEntryType value="Information" />
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="WARN" />
|
||||
<eventLogEntryType value="Warning" />
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="ERROR" />
|
||||
<eventLogEntryType value="Error" />
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="FATAL" />
|
||||
<eventLogEntryType value="Error" />
|
||||
</mapping>
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<param name="ConversionPattern" value="---> %d [%t] %-5p %c - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
<appender-ref ref="LogFileAppender" />
|
||||
<appender-ref ref="EventLogAppender" />
|
||||
</root>
|
||||
<logger name="VEPROMS.CSLA.Library">
|
||||
<level value="INFO" />
|
||||
</logger>
|
||||
<logger name="Volian.Controls.Library">
|
||||
<level value="INFO" />
|
||||
</logger>
|
||||
</log4net>
|
||||
<appSettings>
|
||||
<add key="CslaAuthentication" value="Windows" />
|
||||
<!--
|
||||
<add key="CslaDataPortalProxy"
|
||||
value="Csla.DataPortalClient.RemotingProxy, Csla"/>
|
||||
<add key="CslaDataPortalUrl"
|
||||
value="http://192.168.1.128/VEPROMS_RemotingHost/RemotingPortal.rem"/>
|
||||
<add key="CslaDataPortalProxy"
|
||||
value="Csla.DataPortalClient.WebServicesProxy, Csla"/>
|
||||
<add key="CslaDataPortalUrl"
|
||||
value="http://localhost/VEPROMS_WebService/WebServicePortal.asmx"/>
|
||||
<add key="CslaDataPortalProxy"
|
||||
value="EnterpriseServicesHost.EnterpriseServicesProxy,
|
||||
EnterpriseServicesHost"/>
|
||||
-->
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<!--<add name="VEPROMS"
|
||||
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename="C:\VS2005Projects\VEPROMS_Database\VEPROMS_Data.mdf";Integrated Security=True;User Instance=True"
|
||||
providerName="System.Data.SqlClient" />-->
|
||||
<add name="VEPROMS"
|
||||
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VEPROMS;Integrated Security=True"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<!-- connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VEPROMS_HLPDOC_20071109;Integrated Security=True"
|
||||
providerName="System.Data.SqlClient" />-->
|
||||
<!--<add name="VEPROMS"
|
||||
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename="C:\VS2005Projects\VEPROMS_Data\VEPROMS.mdf";Integrated Security=True;User Instance=True"
|
||||
providerName="System.Data.SqlClient" />-->
|
||||
</connectionStrings>
|
||||
<userSettings>
|
||||
<UISampleNetBar1.Properties.Settings>
|
||||
<setting name="ShowDefaultFolderProp" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="PropPageStyle" serializeAs="String">
|
||||
<value>1</value>
|
||||
</setting>
|
||||
</UISampleNetBar1.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
34
PROMS/VEPROMS_UI/BookMarks.cs
Normal file
34
PROMS/VEPROMS_UI/BookMarks.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using VEPROMS.CSLA.Library;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public class BookMarks
|
||||
{
|
||||
public string Name;
|
||||
public VETreeNode Node;
|
||||
|
||||
public BookMarks()
|
||||
{
|
||||
}
|
||||
|
||||
public BookMarks(string n, VETreeNode o)
|
||||
{
|
||||
Name = n;
|
||||
Node = o;
|
||||
}
|
||||
|
||||
public BookMarks(VETreeNode o)
|
||||
{
|
||||
Name = o.Text;
|
||||
Node = o;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
}
|
||||
}
|
381
PROMS/VEPROMS_UI/FindReplace.Designer.cs
generated
Normal file
381
PROMS/VEPROMS_UI/FindReplace.Designer.cs
generated
Normal file
@ -0,0 +1,381 @@
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class FindReplace
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FindReplace));
|
||||
this.btnFind = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnReplace = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnFndRplDone = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnFindNext = new DevComponents.DotNetBar.ButtonX();
|
||||
this.cmboReplaceText = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.labelX2 = new DevComponents.DotNetBar.LabelX();
|
||||
this.cmboFindText = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.labelX3 = new DevComponents.DotNetBar.LabelX();
|
||||
this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.cbFndInAllProcs = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbFndInProc = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbFndInSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.groupPanel2 = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.cbRplNoPrmpt = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbPrmptRpl = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbDontReplace = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.btnRplFndNxt = new DevComponents.DotNetBar.ButtonX();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.groupPanel1.SuspendLayout();
|
||||
this.groupPanel2.SuspendLayout();
|
||||
this.panelEx1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnFind
|
||||
//
|
||||
this.btnFind.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnFind.Location = new System.Drawing.Point(11, 223);
|
||||
this.btnFind.Name = "btnFind";
|
||||
this.btnFind.Size = new System.Drawing.Size(83, 34);
|
||||
this.btnFind.TabIndex = 0;
|
||||
this.btnFind.Text = "Find";
|
||||
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
|
||||
//
|
||||
// btnReplace
|
||||
//
|
||||
this.btnReplace.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnReplace.Enabled = false;
|
||||
this.btnReplace.Location = new System.Drawing.Point(251, 223);
|
||||
this.btnReplace.Name = "btnReplace";
|
||||
this.btnReplace.Size = new System.Drawing.Size(75, 34);
|
||||
this.btnReplace.TabIndex = 1;
|
||||
this.btnReplace.Text = "Replace";
|
||||
this.btnReplace.Click += new System.EventHandler(this.btnReplace_Click);
|
||||
//
|
||||
// btnFndRplDone
|
||||
//
|
||||
this.btnFndRplDone.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnFndRplDone.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnFndRplDone.Location = new System.Drawing.Point(497, 222);
|
||||
this.btnFndRplDone.Name = "btnFndRplDone";
|
||||
this.btnFndRplDone.Size = new System.Drawing.Size(75, 33);
|
||||
this.btnFndRplDone.TabIndex = 2;
|
||||
this.btnFndRplDone.Text = "Done";
|
||||
this.btnFndRplDone.Click += new System.EventHandler(this.btnFndRplDone_Click);
|
||||
//
|
||||
// btnFindNext
|
||||
//
|
||||
this.btnFindNext.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnFindNext.Location = new System.Drawing.Point(115, 223);
|
||||
this.btnFindNext.Name = "btnFindNext";
|
||||
this.btnFindNext.Size = new System.Drawing.Size(75, 33);
|
||||
this.btnFindNext.TabIndex = 3;
|
||||
this.btnFindNext.Text = "Find Next";
|
||||
//
|
||||
// cmboReplaceText
|
||||
//
|
||||
this.cmboReplaceText.DisplayMember = "Text";
|
||||
this.cmboReplaceText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmboReplaceText.Enabled = false;
|
||||
this.cmboReplaceText.FormattingEnabled = true;
|
||||
this.cmboReplaceText.Location = new System.Drawing.Point(113, 58);
|
||||
this.cmboReplaceText.Name = "cmboReplaceText";
|
||||
this.cmboReplaceText.Size = new System.Drawing.Size(445, 23);
|
||||
this.cmboReplaceText.TabIndex = 7;
|
||||
this.cmboReplaceText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cmboReplaceText.WatermarkText = "Enter text to replace here";
|
||||
this.cmboReplaceText.SelectedIndexChanged += new System.EventHandler(this.cmboReplaceText_SelectedIndexChanged);
|
||||
//
|
||||
// labelX2
|
||||
//
|
||||
this.labelX2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX2.Location = new System.Drawing.Point(11, 53);
|
||||
this.labelX2.Name = "labelX2";
|
||||
this.labelX2.Size = new System.Drawing.Size(105, 28);
|
||||
this.labelX2.TabIndex = 6;
|
||||
this.labelX2.Text = "Replace Text:";
|
||||
//
|
||||
// cmboFindText
|
||||
//
|
||||
this.cmboFindText.DisplayMember = "Text";
|
||||
this.cmboFindText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmboFindText.FormattingEnabled = true;
|
||||
this.cmboFindText.Location = new System.Drawing.Point(113, 18);
|
||||
this.cmboFindText.Name = "cmboFindText";
|
||||
this.cmboFindText.Size = new System.Drawing.Size(445, 23);
|
||||
this.cmboFindText.TabIndex = 9;
|
||||
this.cmboFindText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cmboFindText.WatermarkText = "Enter text to find here";
|
||||
this.cmboFindText.SelectedIndexChanged += new System.EventHandler(this.cmboFindText_SelectedIndexChanged);
|
||||
//
|
||||
// labelX3
|
||||
//
|
||||
this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX3.Location = new System.Drawing.Point(33, 15);
|
||||
this.labelX3.Name = "labelX3";
|
||||
this.labelX3.Size = new System.Drawing.Size(74, 28);
|
||||
this.labelX3.TabIndex = 8;
|
||||
this.labelX3.Text = "Find Text: ";
|
||||
//
|
||||
// groupPanel1
|
||||
//
|
||||
this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.groupPanel1.Controls.Add(this.cbFndInAllProcs);
|
||||
this.groupPanel1.Controls.Add(this.cbFndInProc);
|
||||
this.groupPanel1.Controls.Add(this.cbFndInSect);
|
||||
this.groupPanel1.Location = new System.Drawing.Point(53, 100);
|
||||
this.groupPanel1.Name = "groupPanel1";
|
||||
this.groupPanel1.Size = new System.Drawing.Size(185, 102);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.groupPanel1.Style.BackColor2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.groupPanel1.Style.BackColorGradientAngle = 90;
|
||||
this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel1.Style.BorderBottomWidth = 1;
|
||||
this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel1.Style.BorderLeftWidth = 1;
|
||||
this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel1.Style.BorderRightWidth = 1;
|
||||
this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel1.Style.BorderTopWidth = 1;
|
||||
this.groupPanel1.Style.CornerDiameter = 4;
|
||||
this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
this.groupPanel1.TabIndex = 10;
|
||||
this.groupPanel1.Text = "Find Scope";
|
||||
//
|
||||
// cbFndInAllProcs
|
||||
//
|
||||
this.cbFndInAllProcs.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbFndInAllProcs.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbFndInAllProcs.Location = new System.Drawing.Point(7, 49);
|
||||
this.cbFndInAllProcs.Name = "cbFndInAllProcs";
|
||||
this.cbFndInAllProcs.Size = new System.Drawing.Size(169, 23);
|
||||
this.cbFndInAllProcs.TabIndex = 2;
|
||||
this.cbFndInAllProcs.Text = "All Procedures in This Set";
|
||||
//
|
||||
// cbFndInProc
|
||||
//
|
||||
this.cbFndInProc.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbFndInProc.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbFndInProc.Location = new System.Drawing.Point(7, 26);
|
||||
this.cbFndInProc.Name = "cbFndInProc";
|
||||
this.cbFndInProc.Size = new System.Drawing.Size(144, 23);
|
||||
this.cbFndInProc.TabIndex = 1;
|
||||
this.cbFndInProc.Text = "Only This Procedure";
|
||||
//
|
||||
// cbFndInSect
|
||||
//
|
||||
this.cbFndInSect.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbFndInSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbFndInSect.Checked = true;
|
||||
this.cbFndInSect.Location = new System.Drawing.Point(7, 3);
|
||||
this.cbFndInSect.Name = "cbFndInSect";
|
||||
this.cbFndInSect.Size = new System.Drawing.Size(127, 23);
|
||||
this.cbFndInSect.TabIndex = 0;
|
||||
this.cbFndInSect.Text = "Only This Section";
|
||||
//
|
||||
// groupPanel2
|
||||
//
|
||||
this.groupPanel2.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.groupPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.groupPanel2.Controls.Add(this.cbRplNoPrmpt);
|
||||
this.groupPanel2.Controls.Add(this.cbPrmptRpl);
|
||||
this.groupPanel2.Controls.Add(this.cbDontReplace);
|
||||
this.groupPanel2.Location = new System.Drawing.Point(293, 100);
|
||||
this.groupPanel2.Name = "groupPanel2";
|
||||
this.groupPanel2.Size = new System.Drawing.Size(200, 102);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.groupPanel2.Style.BackColor2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.groupPanel2.Style.BackColorGradientAngle = 90;
|
||||
this.groupPanel2.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.groupPanel2.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel2.Style.BorderBottomWidth = 1;
|
||||
this.groupPanel2.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.groupPanel2.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel2.Style.BorderLeftWidth = 1;
|
||||
this.groupPanel2.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel2.Style.BorderRightWidth = 1;
|
||||
this.groupPanel2.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel2.Style.BorderTopWidth = 1;
|
||||
this.groupPanel2.Style.CornerDiameter = 4;
|
||||
this.groupPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.groupPanel2.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.groupPanel2.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.groupPanel2.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
this.groupPanel2.TabIndex = 11;
|
||||
this.groupPanel2.Text = "Replace Options";
|
||||
//
|
||||
// cbRplNoPrmpt
|
||||
//
|
||||
this.cbRplNoPrmpt.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbRplNoPrmpt.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbRplNoPrmpt.Location = new System.Drawing.Point(13, 49);
|
||||
this.cbRplNoPrmpt.Name = "cbRplNoPrmpt";
|
||||
this.cbRplNoPrmpt.Size = new System.Drawing.Size(178, 23);
|
||||
this.cbRplNoPrmpt.TabIndex = 2;
|
||||
this.cbRplNoPrmpt.Text = "Replace Without Prompting";
|
||||
//
|
||||
// cbPrmptRpl
|
||||
//
|
||||
this.cbPrmptRpl.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbPrmptRpl.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbPrmptRpl.Location = new System.Drawing.Point(13, 26);
|
||||
this.cbPrmptRpl.Name = "cbPrmptRpl";
|
||||
this.cbPrmptRpl.Size = new System.Drawing.Size(169, 23);
|
||||
this.cbPrmptRpl.TabIndex = 1;
|
||||
this.cbPrmptRpl.Text = "Prompt For Each Replace";
|
||||
//
|
||||
// cbDontReplace
|
||||
//
|
||||
this.cbDontReplace.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbDontReplace.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbDontReplace.Checked = true;
|
||||
this.cbDontReplace.Location = new System.Drawing.Point(13, 3);
|
||||
this.cbDontReplace.Name = "cbDontReplace";
|
||||
this.cbDontReplace.Size = new System.Drawing.Size(126, 23);
|
||||
this.cbDontReplace.TabIndex = 0;
|
||||
this.cbDontReplace.Text = "Don\'t Do Replace";
|
||||
this.cbDontReplace.CheckedChanged += new System.EventHandler(this.cbDontReplace_CheckedChanged);
|
||||
//
|
||||
// btnRplFndNxt
|
||||
//
|
||||
this.btnRplFndNxt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnRplFndNxt.Enabled = false;
|
||||
this.btnRplFndNxt.Location = new System.Drawing.Point(344, 222);
|
||||
this.btnRplFndNxt.Name = "btnRplFndNxt";
|
||||
this.btnRplFndNxt.Size = new System.Drawing.Size(107, 34);
|
||||
this.btnRplFndNxt.TabIndex = 12;
|
||||
this.btnRplFndNxt.Text = "Replace And\r\nFind Next";
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx1.ColorScheme.BarBackground = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213)))));
|
||||
this.panelEx1.ColorScheme.BarBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(146)))), ((int)(((byte)(155)))));
|
||||
this.panelEx1.ColorScheme.BarCaptionBackground = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(128)))), ((int)(((byte)(142)))));
|
||||
this.panelEx1.ColorScheme.BarCaptionBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(83)))), ((int)(((byte)(92)))));
|
||||
this.panelEx1.ColorScheme.BarCaptionInactiveBackground = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(241)))), ((int)(((byte)(242)))));
|
||||
this.panelEx1.ColorScheme.BarCaptionInactiveBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(194)))), ((int)(((byte)(201)))));
|
||||
this.panelEx1.ColorScheme.BarCaptionInactiveText = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(60)))), ((int)(((byte)(67)))));
|
||||
this.panelEx1.ColorScheme.BarDockedBorder = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(83)))), ((int)(((byte)(92)))));
|
||||
this.panelEx1.ColorScheme.BarFloatingBorder = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(60)))), ((int)(((byte)(67)))));
|
||||
this.panelEx1.ColorScheme.BarPopupBorder = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(153)))), ((int)(((byte)(164)))));
|
||||
this.panelEx1.ColorScheme.BarStripeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(60)))), ((int)(((byte)(67)))));
|
||||
this.panelEx1.ColorScheme.CustomizeBackground = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(183)))), ((int)(((byte)(191)))));
|
||||
this.panelEx1.ColorScheme.CustomizeBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(81)))), ((int)(((byte)(88)))), ((int)(((byte)(98)))));
|
||||
this.panelEx1.ColorScheme.DockSiteBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(83)))), ((int)(((byte)(83)))), ((int)(((byte)(83)))));
|
||||
this.panelEx1.ColorScheme.ExplorerBarBackground = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(241)))), ((int)(((byte)(242)))));
|
||||
this.panelEx1.ColorScheme.ExplorerBarBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(194)))), ((int)(((byte)(201)))));
|
||||
this.panelEx1.ColorScheme.ItemCheckedBackground = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(211)))), ((int)(((byte)(106)))));
|
||||
this.panelEx1.ColorScheme.ItemDesignTimeBorder = System.Drawing.Color.Black;
|
||||
this.panelEx1.ColorScheme.ItemExpandedBackground = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(153)))), ((int)(((byte)(164)))));
|
||||
this.panelEx1.ColorScheme.ItemExpandedBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(110)))), ((int)(((byte)(122)))));
|
||||
this.panelEx1.ColorScheme.ItemExpandedBorder = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(153)))), ((int)(((byte)(164)))));
|
||||
this.panelEx1.ColorScheme.ItemSeparator = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(145)))), ((int)(((byte)(153)))), ((int)(((byte)(164)))));
|
||||
this.panelEx1.ColorScheme.ItemSeparatorShade = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.ColorScheme.MenuBarBackground = System.Drawing.Color.FromArgb(((int)(((byte)(83)))), ((int)(((byte)(83)))), ((int)(((byte)(83)))));
|
||||
this.panelEx1.ColorScheme.MenuBorder = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(153)))), ((int)(((byte)(164)))));
|
||||
this.panelEx1.ColorScheme.MenuSide = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
|
||||
this.panelEx1.ColorScheme.MenuUnusedSide = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(233)))), ((int)(((byte)(233)))));
|
||||
this.panelEx1.ColorScheme.PanelBackground = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(241)))), ((int)(((byte)(242)))));
|
||||
this.panelEx1.ColorScheme.PanelBackground2 = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(194)))), ((int)(((byte)(201)))));
|
||||
this.panelEx1.ColorScheme.PanelBorder = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(173)))), ((int)(((byte)(182)))));
|
||||
this.panelEx1.ColorScheme.PanelText = System.Drawing.Color.Black;
|
||||
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.panelEx1.Controls.Add(this.labelX3);
|
||||
this.panelEx1.Controls.Add(this.labelX2);
|
||||
this.panelEx1.Controls.Add(this.groupPanel2);
|
||||
this.panelEx1.Controls.Add(this.cmboReplaceText);
|
||||
this.panelEx1.Controls.Add(this.groupPanel1);
|
||||
this.panelEx1.Controls.Add(this.cmboFindText);
|
||||
this.panelEx1.Location = new System.Drawing.Point(2, 2);
|
||||
this.panelEx1.Name = "panelEx1";
|
||||
this.panelEx1.Size = new System.Drawing.Size(578, 215);
|
||||
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelEx1.Style.GradientAngle = 90;
|
||||
this.panelEx1.TabIndex = 13;
|
||||
//
|
||||
// FindReplace
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.Gray;
|
||||
this.CancelButton = this.btnFndRplDone;
|
||||
this.ClientSize = new System.Drawing.Size(584, 260);
|
||||
this.Controls.Add(this.panelEx1);
|
||||
this.Controls.Add(this.btnRplFndNxt);
|
||||
this.Controls.Add(this.btnFindNext);
|
||||
this.Controls.Add(this.btnFndRplDone);
|
||||
this.Controls.Add(this.btnReplace);
|
||||
this.Controls.Add(this.btnFind);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "FindReplace";
|
||||
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Find and Replace";
|
||||
this.TopMost = true;
|
||||
this.groupPanel1.ResumeLayout(false);
|
||||
this.groupPanel2.ResumeLayout(false);
|
||||
this.panelEx1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevComponents.DotNetBar.ButtonX btnFind;
|
||||
private DevComponents.DotNetBar.ButtonX btnReplace;
|
||||
private DevComponents.DotNetBar.ButtonX btnFndRplDone;
|
||||
private DevComponents.DotNetBar.ButtonX btnFindNext;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmboReplaceText;
|
||||
private DevComponents.DotNetBar.LabelX labelX2;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmboFindText;
|
||||
private DevComponents.DotNetBar.LabelX labelX3;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbFndInSect;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbFndInAllProcs;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbFndInProc;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel groupPanel2;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbRplNoPrmpt;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbPrmptRpl;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbDontReplace;
|
||||
private DevComponents.DotNetBar.ButtonX btnRplFndNxt;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
}
|
||||
}
|
61
PROMS/VEPROMS_UI/FindReplace.cs
Normal file
61
PROMS/VEPROMS_UI/FindReplace.cs
Normal file
@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class FindReplace : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
bool _selectedReplStr = false;
|
||||
bool _selectedFindStr = false;
|
||||
|
||||
public FindReplace()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void cbDontReplace_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
cmboReplaceText.Enabled = !cbDontReplace.Checked;
|
||||
btnReplace.Enabled = !cbDontReplace.Checked;
|
||||
btnRplFndNxt.Enabled = !cbDontReplace.Checked;
|
||||
}
|
||||
|
||||
private void cmboReplaceText_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
_selectedReplStr = true;
|
||||
}
|
||||
|
||||
private void btnReplace_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!_selectedReplStr)
|
||||
cmboReplaceText.Items.Add(cmboReplaceText.Text);
|
||||
else
|
||||
_selectedReplStr = false;
|
||||
}
|
||||
|
||||
private void cmboFindText_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
_selectedFindStr = true;
|
||||
}
|
||||
|
||||
private void btnFind_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!_selectedFindStr)
|
||||
cmboFindText.Items.Add(cmboFindText.Text);
|
||||
else
|
||||
_selectedFindStr = false;
|
||||
}
|
||||
|
||||
private void btnFndRplDone_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
143
PROMS/VEPROMS_UI/FindReplace.resx
Normal file
143
PROMS/VEPROMS_UI/FindReplace.resx
Normal file
@ -0,0 +1,143 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAIAICAQAAAAAADoAgAAJgAAABAQEAAAAAAAKAEAAA4DAAAoAAAAIAAAAEAAAAABAAQAAAAAAIAC
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAAAACAAIAAgIAAAICAgADAwMAAAAD/AAD/
|
||||
AAAA//8A/wAAAP8A/wD//wAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAACHAAAACHAAAIcAAAAIcAAAhwAAAAhwAAAA
|
||||
AAAAAAAAAAiAAACIAAAAAAAAAAAAAAAAcAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//8AAP//
|
||||
AACH4QAAh+EAAIfhAACBgQAAgAEAAIABAACAAQAAgAEAAMGDAADhhwAA4YcAAOGHAAD//wAA//8AAA==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
20
PROMS/VEPROMS_UI/Program.cs
Normal file
20
PROMS/VEPROMS_UI/Program.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new frmVEPROMS());
|
||||
}
|
||||
}
|
||||
}
|
33
PROMS/VEPROMS_UI/Properties/AssemblyInfo.cs
Normal file
33
PROMS/VEPROMS_UI/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,33 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("VE-PROMS")]
|
||||
[assembly: AssemblyDescription("Sample User Interface for VE-PROMS .NET")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Volian Enterprises, Inc.")]
|
||||
[assembly: AssemblyProduct("VE-PROMS .NET Beta Release")]
|
||||
[assembly: AssemblyCopyright("Copyright © Volian Enterprises, Inc. 2007")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("2ffeb031-bf85-4153-baa2-2d4da2fd5556")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="ImageCodecInfo" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>System.Drawing.Imaging.ImageCodecInfo, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeInfo>
|
||||
</GenericObjectDataSource>
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="DocVersionConfig" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>VEPROMS.CSLA.Library.DocVersionConfig, VEPROMS.CSLA.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="FormatInfoList" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>VEPROMS.CSLA.Library.FormatInfoList, VEPROMS.CSLA.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="ItemAnnotations" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>VEPROMS.CSLA.Library.ItemAnnotations, VEPROMS.CSLA.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
84
PROMS/VEPROMS_UI/Properties/Resources.Designer.cs
generated
Normal file
84
PROMS/VEPROMS_UI/Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,84 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.832
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace VEPROMS.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("VEPROMS.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap ProtectFormHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ProtectFormHS", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap Separator {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Separator", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap UnProtectFormHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("UnProtectFormHS", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
130
PROMS/VEPROMS_UI/Properties/Resources.resx
Normal file
130
PROMS/VEPROMS_UI/Properties/Resources.resx
Normal file
@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="Separator" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Separator.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ProtectFormHS" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ProtectFormHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="UnProtectFormHS" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\UnProtectFormHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
116
PROMS/VEPROMS_UI/Properties/Settings.Designer.cs
generated
Normal file
116
PROMS/VEPROMS_UI/Properties/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,116 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.832
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace VEPROMS.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Drawing.Point Location {
|
||||
get {
|
||||
return ((global::System.Drawing.Point)(this["Location"]));
|
||||
}
|
||||
set {
|
||||
this["Location"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Drawing.Size Size {
|
||||
get {
|
||||
return ((global::System.Drawing.Size)(this["Size"]));
|
||||
}
|
||||
set {
|
||||
this["Size"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool ShowDefaultFolderProp {
|
||||
get {
|
||||
return ((bool)(this["ShowDefaultFolderProp"]));
|
||||
}
|
||||
set {
|
||||
this["ShowDefaultFolderProp"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool ShowDefaultProcedureProp {
|
||||
get {
|
||||
return ((bool)(this["ShowDefaultProcedureProp"]));
|
||||
}
|
||||
set {
|
||||
this["ShowDefaultProcedureProp"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool ShowDefaultVersionProp {
|
||||
get {
|
||||
return ((bool)(this["ShowDefaultVersionProp"]));
|
||||
}
|
||||
set {
|
||||
this["ShowDefaultVersionProp"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool ShowDefaultSectionProp {
|
||||
get {
|
||||
return ((bool)(this["ShowDefaultSectionProp"]));
|
||||
}
|
||||
set {
|
||||
this["ShowDefaultSectionProp"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("1")]
|
||||
public int PropPageStyle {
|
||||
get {
|
||||
return ((int)(this["PropPageStyle"]));
|
||||
}
|
||||
set {
|
||||
this["PropPageStyle"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public int SystemColor {
|
||||
get {
|
||||
return ((int)(this["SystemColor"]));
|
||||
}
|
||||
set {
|
||||
this["SystemColor"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
30
PROMS/VEPROMS_UI/Properties/Settings.settings
Normal file
30
PROMS/VEPROMS_UI/Properties/Settings.settings
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="UISampleNetBar1.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="Location" Type="System.Drawing.Point" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="Size" Type="System.Drawing.Size" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="ShowDefaultFolderProp" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="ShowDefaultProcedureProp" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="ShowDefaultVersionProp" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="ShowDefaultSectionProp" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="PropPageStyle" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">1</Value>
|
||||
</Setting>
|
||||
<Setting Name="SystemColor" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
1
PROMS/VEPROMS_UI/Properties/licenses.licx
Normal file
1
PROMS/VEPROMS_UI/Properties/licenses.licx
Normal file
@ -0,0 +1 @@
|
||||
C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid, Version=2.6.20062.255, Culture=neutral, PublicKeyToken=79882d576c6336da
|
256
PROMS/VEPROMS_UI/ROFST.cs
Normal file
256
PROMS/VEPROMS_UI/ROFST.cs
Normal file
@ -0,0 +1,256 @@
|
||||
// ========================================================================
|
||||
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
|
||||
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||
// ------------------------------------------------------------------------
|
||||
// $Workfile: $ $Revision: $
|
||||
// $Author: $ $Date: $
|
||||
//
|
||||
// $History: $
|
||||
// ========================================================================
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Xml.Serialization;
|
||||
using System.Xml;
|
||||
using System.Xml.XPath;
|
||||
|
||||
namespace DataLoader
|
||||
{
|
||||
public class ROFST
|
||||
{
|
||||
#region Log4Net
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
#endregion
|
||||
[Serializable]
|
||||
public struct roHdr
|
||||
{
|
||||
public int hSize;
|
||||
public int hYear;
|
||||
public byte hMonth;
|
||||
public byte hDay;
|
||||
public int hcYear;
|
||||
public byte hcMonth;
|
||||
public byte hcDay;
|
||||
public byte hcHour;
|
||||
public byte hcMin;
|
||||
public byte hcSec;
|
||||
public byte hcHund;
|
||||
public rodbi[] myDbs;
|
||||
};
|
||||
[Serializable]
|
||||
public struct rodbi
|
||||
{
|
||||
public int dbiID;
|
||||
public int dbiType;
|
||||
public int dbiAW;
|
||||
public string dbiTitle;
|
||||
public string dbiAP;
|
||||
public int ID;
|
||||
public int ParentID;
|
||||
public rochild[] children;
|
||||
};
|
||||
public struct rogrp
|
||||
{
|
||||
public int ID;
|
||||
public int ParentID;
|
||||
public rochild[] children;
|
||||
public string value;
|
||||
public string appid;
|
||||
};
|
||||
public struct rochild
|
||||
{
|
||||
public int ID;
|
||||
public int ParentID;
|
||||
public int type;
|
||||
public string title;
|
||||
public string roid;
|
||||
public string appid;
|
||||
public string value;
|
||||
public rochild[] children;
|
||||
};
|
||||
private roHdr myHdr;
|
||||
private int TableID;
|
||||
private string fstPath;
|
||||
private HybridDictionary dicRos;
|
||||
|
||||
public ROFST(string path)
|
||||
{
|
||||
fstPath = path;
|
||||
if (!File.Exists(fstPath))
|
||||
{
|
||||
log.ErrorFormat("RO FST Does not exist: {0}", path);
|
||||
return;
|
||||
}
|
||||
dicRos = new HybridDictionary();
|
||||
ParseIntoDictionary();
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
// remove the dictionary
|
||||
dicRos.Clear();
|
||||
dicRos = null;
|
||||
}
|
||||
|
||||
// this only gets rochild values. Later we may want another
|
||||
// dictionary to get groups.
|
||||
public string GetRoValue(string ROID)
|
||||
{
|
||||
// Use the ROID to get the value from the dictionary
|
||||
if (dicRos.Contains(ROID))
|
||||
{
|
||||
rochild rochld = (rochild)dicRos[ROID];
|
||||
return rochld.value;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public rodbi[] GetRODatabaseList()
|
||||
{
|
||||
return myHdr.myDbs;
|
||||
}
|
||||
|
||||
private int StringLength(byte[] ab, int offset)
|
||||
{
|
||||
int i = 0;
|
||||
while (ab[i + offset] != 0) i++;
|
||||
return i;
|
||||
}
|
||||
private rogrp LoadGroup(byte[] ab, int offset)
|
||||
{
|
||||
rogrp myGrp = new rogrp();
|
||||
myGrp.ID = BitConverter.ToInt32(ab, offset);
|
||||
myGrp.ParentID = BitConverter.ToInt32(ab, offset + 4);
|
||||
int howmany = BitConverter.ToInt16(ab, offset + 8);
|
||||
if (howmany > 0)
|
||||
{
|
||||
myGrp.children = new rochild[howmany];
|
||||
int myOffset = offset + 10;
|
||||
for (int i = 0; i < myGrp.children.Length; i++)
|
||||
{
|
||||
int childOffset = BitConverter.ToInt32(ab, myOffset);
|
||||
rochild tmp = new rochild();
|
||||
//tmp.offset=BitConverter.ToInt32(ab,myOffset);
|
||||
tmp.type = BitConverter.ToInt16(ab, myOffset + 4);
|
||||
int slen = StringLength(ab, myOffset + 6);
|
||||
tmp.title = Encoding.Default.GetString(ab, myOffset + 6, slen);
|
||||
myOffset += (7 + slen);
|
||||
rogrp tmpg = LoadGroup(ab, childOffset);
|
||||
tmp.ID = tmpg.ID;
|
||||
tmp.ParentID = tmpg.ParentID;
|
||||
tmp.children = tmpg.children;
|
||||
tmp.value = tmpg.value;
|
||||
tmp.appid = tmpg.appid;
|
||||
tmp.roid = TableID.ToString("X4") + tmp.ID.ToString("X8");
|
||||
dicRos.Add(tmp.roid, tmp);
|
||||
int j;
|
||||
for (j = i - 1; j >= 0 && tmp.ID < myGrp.children[j].ID; j--)
|
||||
{
|
||||
myGrp.children[j + 1] = myGrp.children[j];
|
||||
}
|
||||
myGrp.children[j + 1] = tmp;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
int slen = StringLength(ab, offset + 12);
|
||||
myGrp.value = Encoding.Default.GetString(ab, offset + 12, slen);
|
||||
int slen2 = StringLength(ab, offset + 13 + slen);
|
||||
myGrp.appid = Encoding.Default.GetString(ab, offset + 13 + slen, slen2);
|
||||
}
|
||||
return myGrp;
|
||||
}
|
||||
|
||||
private void ParseIntoDictionary()
|
||||
{
|
||||
FileStream fsIn = new FileStream(fstPath, FileMode.Open,FileAccess.Read, FileShare.Read);
|
||||
// Create an instance of StreamReader that can read
|
||||
// characters from the FileStream.
|
||||
BinaryReader r = new BinaryReader(fsIn);
|
||||
byte[] ab = r.ReadBytes((int)fsIn.Length);
|
||||
r.Close();
|
||||
|
||||
myHdr.hSize = BitConverter.ToInt32(ab, 0);
|
||||
myHdr.hYear = BitConverter.ToInt16(ab, 4);
|
||||
myHdr.hMonth = ab[6];
|
||||
myHdr.hDay = ab[7];
|
||||
myHdr.hcYear = BitConverter.ToInt16(ab, 8);
|
||||
myHdr.hcMonth = ab[10];
|
||||
myHdr.hcDay = ab[11];
|
||||
myHdr.hcHour = ab[12];
|
||||
myHdr.hcMin = ab[13];
|
||||
myHdr.hcSec = ab[14];
|
||||
myHdr.hcHund = ab[15];
|
||||
int hdrOffset = BitConverter.ToInt32(ab, 16);
|
||||
int howbig = BitConverter.ToInt32(ab, hdrOffset);
|
||||
int dbs = BitConverter.ToInt16(ab, hdrOffset + 4);
|
||||
myHdr.myDbs = new rodbi[dbs];
|
||||
for (int i = 0; i < dbs; i++)
|
||||
{
|
||||
int offset = hdrOffset + 6 + (i * 30);
|
||||
myHdr.myDbs[i].dbiID = BitConverter.ToInt16(ab, offset + 0);
|
||||
TableID = myHdr.myDbs[i].dbiID;
|
||||
myHdr.myDbs[i].dbiType = BitConverter.ToInt16(ab, offset + 2);
|
||||
myHdr.myDbs[i].dbiAW = BitConverter.ToInt16(ab, offset + 4);
|
||||
rogrp tmp = LoadGroup(ab, BitConverter.ToInt32(ab, offset + 6));
|
||||
myHdr.myDbs[i].ID = tmp.ID;
|
||||
myHdr.myDbs[i].children = tmp.children;
|
||||
int iPtr = BitConverter.ToInt32(ab, offset + 22) + hdrOffset + 6;
|
||||
myHdr.myDbs[i].dbiTitle = Encoding.Default.GetString(ab, iPtr, StringLength(ab, iPtr));
|
||||
iPtr = BitConverter.ToInt32(ab, offset + 26) + hdrOffset + 6;
|
||||
myHdr.myDbs[i].dbiAP = Encoding.Default.GetString(ab, iPtr, StringLength(ab, iPtr));
|
||||
}
|
||||
}
|
||||
|
||||
public bool SaveToXml(string fname)
|
||||
{
|
||||
try
|
||||
{
|
||||
StreamWriter swxml = new StreamWriter(fname);
|
||||
XmlSerializer mySer = new XmlSerializer(typeof(roHdr));
|
||||
mySer.Serialize(swxml, myHdr);
|
||||
swxml.Close();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.ErrorFormat("Error writing to file: {0}", ex.Message);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public XmlDocument GetXmlFromFile(string fname)
|
||||
{
|
||||
FileStream xmlIn = new FileStream(fname, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
XmlDocument xmlDoc = new XmlDocument();
|
||||
xmlDoc.Load(xmlIn);
|
||||
xmlIn.Close();
|
||||
return xmlDoc;
|
||||
}
|
||||
|
||||
public string GetValueFromXml(XmlDocument xmlDoc, string ROID)
|
||||
{
|
||||
// use roid as xpath to get data.
|
||||
try
|
||||
{
|
||||
string xpath_roid = "//rochild[roid = \"" + ROID.Substring(0, 12) + "\"]/value";
|
||||
XmlNode valnd = xmlDoc.SelectSingleNode(xpath_roid);
|
||||
if (valnd == null) return null;
|
||||
return valnd.InnerText;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.ErrorFormat("Cannot find ro in XmlDocument ");
|
||||
log.ErrorFormat("roid = {0}", ROID);
|
||||
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
BIN
PROMS/VEPROMS_UI/Resources/ProtectFormHS.png
Normal file
BIN
PROMS/VEPROMS_UI/Resources/ProtectFormHS.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 698 B |
BIN
PROMS/VEPROMS_UI/Resources/Separator.png
Normal file
BIN
PROMS/VEPROMS_UI/Resources/Separator.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 700 B |
BIN
PROMS/VEPROMS_UI/Resources/UnProtectFormHS.png
Normal file
BIN
PROMS/VEPROMS_UI/Resources/UnProtectFormHS.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1023 B |
228
PROMS/VEPROMS_UI/VEPROMS_UI.csproj
Normal file
228
PROMS/VEPROMS_UI/VEPROMS_UI.csproj
Normal file
@ -0,0 +1,228 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{8D1C47B4-F302-4C5A-87CC-24FDC5529872}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>VEPROMS</RootNamespace>
|
||||
<AssemblyName>VEPROMS</AssemblyName>
|
||||
<ApplicationIcon>veproms.ico</ApplicationIcon>
|
||||
<SccProjectName>SAK</SccProjectName>
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="C1.Common, Version=1.0.20031.116, Culture=neutral, PublicKeyToken=e272bb32d11b1948" />
|
||||
<Reference Include="C1.Data, Version=1.0.20022.0, Culture=neutral, PublicKeyToken=900b028620cd3a1b" />
|
||||
<Reference Include="C1.Win.C1FlexGrid, Version=2.6.20062.255, Culture=neutral, PublicKeyToken=79882d576c6336da" />
|
||||
<Reference Include="Csla, Version=2.1.4.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\VEPROMS.CSLA.Library\bin\Debug\Csla.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DevComponents.DotNetBar2, Version=6.9.0.1, Culture=neutral, PublicKeyToken=7eb7c3a35b91de04, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>F:\Program Files\DotNetBar\DevComponents.DotNetBar2.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\VEPROMS.CSLA.Library\bin\Debug\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Runtime.Remoting" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="TablePicker, Version=2.1.18.25203, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\Table Picker\TablePicker\bin\Debug\TablePicker.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="VEPROMS.CSLA.Library, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\VEPROMS.CSLA.Library\bin\Debug\VEPROMS.CSLA.Library.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AboutVEPROMS.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="AboutVEPROMS.Designer.cs">
|
||||
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BookMarks.cs" />
|
||||
<Compile Include="FindReplace.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FindReplace.Designer.cs">
|
||||
<DependentUpon>FindReplace.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmVEPROMS.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmVEPROMS.Designer.cs">
|
||||
<DependentUpon>frmVEPROMS.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmFolderProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmFolderProperties.Designer.cs">
|
||||
<DependentUpon>frmFolderProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmProcedureProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmProcedureProperties.Designer.cs">
|
||||
<DependentUpon>frmProcedureProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPropGrid.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmPropGrid.Designer.cs">
|
||||
<DependentUpon>frmPropGrid.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmSectionProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmSectionProperties.Designer.cs">
|
||||
<DependentUpon>frmSectionProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmSysOptions.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmSysOptions.Designer.cs">
|
||||
<DependentUpon>frmSysOptions.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmVersionsProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmVersionsProperties.Designer.cs">
|
||||
<DependentUpon>frmVersionsProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="AboutVEPROMS.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FindReplace.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>FindReplace.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmVEPROMS.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmVEPROMS.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmFolderProperties.resx">
|
||||
<DependentUpon>frmFolderProperties.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmProcedureProperties.resx">
|
||||
<DependentUpon>frmProcedureProperties.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmPropGrid.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmPropGrid.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmSectionProperties.resx">
|
||||
<DependentUpon>frmSectionProperties.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmSysOptions.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmSysOptions.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmVersionsProperties.resx">
|
||||
<DependentUpon>frmVersionsProperties.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="VlnWeb.resx">
|
||||
<DependentUpon>VlnWeb.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="App.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<Compile Include="ROFST.cs" />
|
||||
<Compile Include="VlnWeb.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="VlnWeb.Designer.cs">
|
||||
<DependentUpon>VlnWeb.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Separator.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\ProtectFormHS.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Properties\DataSources\System.Drawing.Imaging.ImageCodecInfo.datasource" />
|
||||
<None Include="Properties\DataSources\VEPROMS.CSLA.Library.DocVersionConfig.datasource" />
|
||||
<None Include="Properties\DataSources\VEPROMS.CSLA.Library.FormatInfoList.datasource" />
|
||||
<None Include="Properties\DataSources\VEPROMS.CSLA.Library.ItemAnnotations.datasource" />
|
||||
<None Include="Resources\UnProtectFormHS.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="VEicon.ico" />
|
||||
<Content Include="veproms.ico" />
|
||||
<Content Include="Vicon.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Volian.Controls.Library\Volian.Controls.Library.csproj">
|
||||
<Project>{30027ED3-6DEB-4F3D-A0B6-CFD55F7193F5}</Project>
|
||||
<Name>Volian.Controls.Library</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
10
PROMS/VEPROMS_UI/VEPROMS_UI.csproj.vspscc
Normal file
10
PROMS/VEPROMS_UI/VEPROMS_UI.csproj.vspscc
Normal file
@ -0,0 +1,10 @@
|
||||
""
|
||||
{
|
||||
"FILE_VERSION" = "9237"
|
||||
"ENLISTMENT_CHOICE" = "NEVER"
|
||||
"PROJECT_FILE_RELATIVE_PATH" = ""
|
||||
"NUMBER_OF_EXCLUDED_FILES" = "0"
|
||||
"ORIGINAL_PROJECT_FILE_PATH" = ""
|
||||
"NUMBER_OF_NESTED_PROJECTS" = "0"
|
||||
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
|
||||
}
|
BIN
PROMS/VEPROMS_UI/VEicon.ico
Normal file
BIN
PROMS/VEPROMS_UI/VEicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
PROMS/VEPROMS_UI/Vicon.ico
Normal file
BIN
PROMS/VEPROMS_UI/Vicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
61
PROMS/VEPROMS_UI/VlnWeb.Designer.cs
generated
Normal file
61
PROMS/VEPROMS_UI/VlnWeb.Designer.cs
generated
Normal file
@ -0,0 +1,61 @@
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class VlnWeb
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.VolianWebSite = new System.Windows.Forms.WebBrowser();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// VolianWebSite
|
||||
//
|
||||
this.VolianWebSite.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.VolianWebSite.Location = new System.Drawing.Point(0, 0);
|
||||
this.VolianWebSite.MinimumSize = new System.Drawing.Size(20, 20);
|
||||
this.VolianWebSite.Name = "VolianWebSite";
|
||||
this.VolianWebSite.Size = new System.Drawing.Size(894, 606);
|
||||
this.VolianWebSite.TabIndex = 0;
|
||||
this.VolianWebSite.Url = new System.Uri("http://www.volian.com", System.UriKind.Absolute);
|
||||
//
|
||||
// VlnWeb
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(894, 606);
|
||||
this.Controls.Add(this.VolianWebSite);
|
||||
this.Name = "VlnWeb";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "www.volian.com";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.WebBrowser VolianWebSite;
|
||||
}
|
||||
}
|
18
PROMS/VEPROMS_UI/VlnWeb.cs
Normal file
18
PROMS/VEPROMS_UI/VlnWeb.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class VlnWeb : Form
|
||||
{
|
||||
public VlnWeb()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
120
PROMS/VEPROMS_UI/VlnWeb.resx
Normal file
120
PROMS/VEPROMS_UI/VlnWeb.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=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>
|
2339
PROMS/VEPROMS_UI/frmFolderProperties.Designer.cs
generated
Normal file
2339
PROMS/VEPROMS_UI/frmFolderProperties.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
759
PROMS/VEPROMS_UI/frmFolderProperties.cs
Normal file
759
PROMS/VEPROMS_UI/frmFolderProperties.cs
Normal file
@ -0,0 +1,759 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using DevComponents;
|
||||
using DevComponents.DotNetBar.Controls;
|
||||
using System.Drawing.Imaging;
|
||||
using VEPROMS.Properties;
|
||||
using DataLoader;
|
||||
using DescriptiveEnum;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmFolderProperties : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
private string _DefaultFormatName = null;
|
||||
private string _DefaultChgBarType = null;
|
||||
private string _DefaultChgBarLoc = null;
|
||||
private string _DefaultChgBarText = null;
|
||||
private string _DefaultChgBarUsrMsg1 = null;
|
||||
private string _DefaultChgBarUsrMsg2 = null;
|
||||
private string _DefaultROGraficFileExtension = null;
|
||||
private string _DefaultImagePrefix = null;
|
||||
private string _DefaultROPrefix = null;
|
||||
private string _DefaultPagination = null;
|
||||
private string _DefaultWatermark = null;
|
||||
private bool _DefaultDisableDuplex = false;
|
||||
private string _DefaultFormatColumns = null;
|
||||
private bool _Initializing = false;
|
||||
private FolderConfig _FolderConfig;
|
||||
private string _ROcolor;
|
||||
private string _TransColor;
|
||||
private string _EditBckgndColor;
|
||||
private string _ViewBckgndColor;
|
||||
|
||||
public frmFolderProperties(FolderConfig folderConfig)
|
||||
{
|
||||
_FolderConfig = folderConfig;
|
||||
_Initializing = true;
|
||||
InitializeComponent();
|
||||
btnGeneral.PerformClick(); // always start with General tab or button
|
||||
_Initializing = false;
|
||||
// Build window caption
|
||||
this.Text = string.Format("{0} Properties",folderConfig.Name);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Convert the given System.Drawing.Color to a string containing either the color's name or the Argb.
|
||||
/// </summary>
|
||||
/// <param name="c">System.Drawing.Color</param>
|
||||
/// <returns></returns>
|
||||
private string strMakeColorName(Color c)
|
||||
{
|
||||
string rtnstring = "";
|
||||
if (c.IsNamedColor)
|
||||
rtnstring = c.Name;
|
||||
else
|
||||
rtnstring = string.Format("[A={0},R={1},G={2},B={3}]", c.A, c.R, c.G, c.B);
|
||||
return rtnstring;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get a System.Drawing.Color from an Argb or color name
|
||||
/// </summary>
|
||||
/// <param name="strColor">Color Name or "[(alpha,)red,green,blue]"</param>
|
||||
/// <returns></returns>
|
||||
// a copy of this function was put in frmVEPROMS.CS
|
||||
private static Color cGetColor(string strColor)
|
||||
{
|
||||
Color rtnColor; // = new Color();
|
||||
if (strColor == null || strColor.Equals(""))
|
||||
rtnColor = Color.White;
|
||||
else
|
||||
{
|
||||
if (strColor[0] == '[')
|
||||
{
|
||||
string[] parts = strColor.Substring(1, strColor.Length - 2).Split(",".ToCharArray());
|
||||
int parts_cnt = 0;
|
||||
foreach (string s in parts)
|
||||
{
|
||||
parts[parts_cnt] = parts[parts_cnt].TrimStart(' '); // remove preceeding blanks
|
||||
parts_cnt++;
|
||||
}
|
||||
if (parts_cnt == 3)
|
||||
rtnColor = Color.FromArgb(Int32.Parse(parts[0]), Int32.Parse(parts[1]), Int32.Parse(parts[2]));
|
||||
else
|
||||
rtnColor = Color.FromArgb(Int32.Parse(parts[0].Substring(2)), Int32.Parse(parts[1].Substring(2)), Int32.Parse(parts[2].Substring(2)), Int32.Parse(parts[3].Substring(2)));
|
||||
}
|
||||
else rtnColor = Color.FromName(strColor);
|
||||
}
|
||||
return rtnColor;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Use the ParentLookup to grab the default values
|
||||
/// - set the watermark property (where applicable) of the control with that value
|
||||
/// - set the default setting labels with that value
|
||||
/// ** the default setting labels appear when the Show Default Values checkbox is checked by the user.
|
||||
/// </summary>
|
||||
private void FindDefaultValues()
|
||||
{
|
||||
_FolderConfig.ParentLookup = true;
|
||||
// Get the default format name
|
||||
_DefaultFormatName = _FolderConfig.DefaultFormatSelection;
|
||||
SetupDefault(_DefaultFormatName, ppLblFormatDefault, ppCmbxFormat);
|
||||
|
||||
// Get the default Change Bar Type
|
||||
_DefaultChgBarType = _FolderConfig.Print_ChangeBar.ToString();
|
||||
SetupDefault(_DefaultChgBarType, ppLblChangeBarTypeDefault, ppCmbxChangeBarType);
|
||||
|
||||
// Get the default Change Bar Location
|
||||
_DefaultChgBarLoc = _FolderConfig.Print_ChangeBarLoc.ToString();
|
||||
SetupDefault(_DefaultChgBarLoc, ppLblChgBarPosDefault, ppCmbxChgBarPos);
|
||||
|
||||
// Get the default Change Bar text
|
||||
_DefaultChgBarText = _FolderConfig.Print_ChangeBarText.ToString();
|
||||
SetupDefault(_DefaultChgBarText, ppLblChgBarTxtTypeDefault, ppCmbxChgBarTxtType);
|
||||
|
||||
// Get the default User Change Bar Message 1
|
||||
_DefaultChgBarUsrMsg1 = _FolderConfig.Print_UserCBMess1;
|
||||
if (!(_DefaultChgBarUsrMsg1.Equals("")))
|
||||
ppLblChgBarUserMsgOneDefault.Text = string.Format("({0})", _DefaultChgBarUsrMsg1);
|
||||
|
||||
// Get the default User Change Bar Message 2
|
||||
_DefaultChgBarUsrMsg2 = _FolderConfig.Print_UserCBMess2;
|
||||
if (!(_DefaultChgBarUsrMsg2.Equals("")))
|
||||
ppLblChgBarUserMsgTwoDefault.Text = string.Format("({0})", _DefaultChgBarUsrMsg2);
|
||||
|
||||
// Get the default RO Graphic file extension
|
||||
_DefaultROGraficFileExtension = _FolderConfig.Graphics_defaultext;
|
||||
SetupDefault(_DefaultROGraficFileExtension, ppLblGraphicFileExtDefault, ppCmbxGrphFileExt);
|
||||
|
||||
// Get the default Referenced Objects prefix
|
||||
_DefaultROPrefix = _FolderConfig.Default_SPPrefix;
|
||||
SetupDefault(_DefaultROPrefix, ppLblROPrefixDefault, ppCmbxDefROPrefix);
|
||||
|
||||
// Get the default RO Graphics prefix
|
||||
_DefaultImagePrefix = _FolderConfig.Default_IMPrefix;
|
||||
SetupDefault(_DefaultImagePrefix, ppLblImagePrefixDefault, ppCmbxDefImgPrefix);
|
||||
|
||||
// Get the default Print Pagination
|
||||
_DefaultPagination = _FolderConfig.Print_Pagination.ToString();
|
||||
SetupDefault(_DefaultPagination, ppLblPaginationDefault, ppCmbxPagination);
|
||||
|
||||
// Get the default Watermark
|
||||
_DefaultWatermark = _FolderConfig.Print_Watermark.ToString();
|
||||
SetupDefault(_DefaultWatermark, ppLblWatermarkDefault, ppCmbxWatermark);
|
||||
|
||||
// Get the default Disable Duplex
|
||||
_DefaultDisableDuplex = _FolderConfig.Print_DisableDuplex;
|
||||
ppLblAutoDuplexDefault.Text = string.Format("(Duplex {0})", (_DefaultDisableDuplex) ? "OFF" : "ON");
|
||||
|
||||
// Get the default Format Columns
|
||||
_DefaultFormatColumns = _FolderConfig.Format_Columns.ToString();
|
||||
SetupDefault(_DefaultFormatColumns, ppLblStpEditorColsDefault, ppCmbxStpEditorCols);
|
||||
|
||||
_FolderConfig.ParentLookup = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set the watermark and default label
|
||||
/// </summary>
|
||||
/// <param name="defaultText">The default text</param>
|
||||
/// <param name="lbl">Label that displays the current default when view defaults is set</param>
|
||||
/// <param name="cmboEx">Combo box with a watermark property</param>
|
||||
private void SetupDefault(string defaultText,Label lbl,ComboBoxEx cmbo )
|
||||
{
|
||||
if (defaultText != null && !(defaultText.Equals("")))
|
||||
{
|
||||
lbl.Text = string.Format("({0})", defaultText);
|
||||
cmbo.WatermarkText = string.Format("{0}", defaultText);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set the text and background colors for the sample text for the Step Editor Text Colors
|
||||
/// on the Editor Settings property page
|
||||
/// </summary>
|
||||
private void SetupSampleTextBoxes()
|
||||
{
|
||||
ppPanelViewSample.BackColor = cGetColor(_ViewBckgndColor);
|
||||
ppLblViewRO.ForeColor = cGetColor(_ROcolor);
|
||||
ppLblViewTrans.ForeColor = cGetColor(_TransColor);
|
||||
ppPanelEditSample.BackColor = cGetColor(_EditBckgndColor);
|
||||
ppLblEditRO.ForeColor = cGetColor(_ROcolor);
|
||||
ppLblEditTrans.ForeColor = cGetColor(_TransColor);
|
||||
}
|
||||
|
||||
private void frmFolderProperties_Load(object sender, EventArgs e)
|
||||
{
|
||||
_Initializing = true;
|
||||
// populate the a list box of possible graphic file types
|
||||
// supported by .NET
|
||||
// foreach (ImageCodecInfo info in ImageCodecInfo.GetImageDecoders())
|
||||
// {
|
||||
// string st = string.Format("{0} - ({1})", info.FormatDescription, info.FilenameExtension);
|
||||
// //string st = string.Format("{0}", info.FormatDescription);
|
||||
// comboBoxEx1.Items.Add(st);
|
||||
//// comboBoxEx1.Items.Add(info.FormatDescription);
|
||||
// }
|
||||
|
||||
imageCodecInfoBindingSource.DataSource = ImageCodecInfo.GetImageDecoders();
|
||||
formatInfoListBindingSource.DataSource = FormatInfoList.Get();
|
||||
folderConfigBindingSource.DataSource = _FolderConfig;
|
||||
|
||||
// Get the saved settings for this user
|
||||
//
|
||||
// Get setting telling us whether to display the default values on this property page
|
||||
ppCbShwDefSettings.Checked = (Settings.Default["ShowDefaultFolderProp"] != null)? Settings.Default.ShowDefaultFolderProp : false;
|
||||
|
||||
// Get the User's property page style "PropPageStyle" (this is a system wide user setting)
|
||||
// 1 - Button Dialog (default)
|
||||
// 2 - Tab Dialog
|
||||
if ((int)Settings.Default["PropPageStyle"] == 2)
|
||||
{
|
||||
tcFolder.TabsVisible = true;
|
||||
panButtons.Visible = false;
|
||||
this.Width -= panButtons.Width;
|
||||
}
|
||||
|
||||
// Get the default values for the property page information
|
||||
FindDefaultValues();
|
||||
|
||||
if (_FolderConfig.Name.Equals("VEPROMS"))
|
||||
{
|
||||
// if we are at the top node of the tree, remove the Folder Property page tabs
|
||||
// that do not pertain to this level (top of tree)
|
||||
this.tcFolder.Tabs.Remove(tiFmtSettings);
|
||||
this.tcFolder.Tabs.Remove(tiOutputSettings);
|
||||
this.tcFolder.Tabs.Remove(tiEditSettings);
|
||||
this.btnFormatSettings.Visible = false;
|
||||
this.btnOutputSettings.Visible = false;
|
||||
this.btnEdSettings.Visible = false;
|
||||
ppCbShwDefSettings.Visible = false; // hide check box for showing default values for top node
|
||||
}
|
||||
else
|
||||
{
|
||||
// don't show Start Message tab if not at top level
|
||||
this.tcFolder.Tabs.Remove(tiStMsg);
|
||||
this.btnStMsg.Visible = false;
|
||||
|
||||
// this was coded for demo purposes... setup the text colors for the sample text
|
||||
// of the Step Editor Text Colors property
|
||||
_ROcolor = _FolderConfig.Color_ro;
|
||||
if (_ROcolor == string.Empty) _ROcolor = "Orange";
|
||||
_EditBckgndColor = _FolderConfig.Color_editbackground;
|
||||
if (_EditBckgndColor == string.Empty) _EditBckgndColor = "LightGray";
|
||||
_ViewBckgndColor = _FolderConfig.Default_BkColor.Name;
|
||||
if (_ViewBckgndColor == string.Empty) _ViewBckgndColor = "White";
|
||||
_TransColor = _FolderConfig.Color_transition;
|
||||
if (_TransColor == string.Empty) _TransColor = "Orange";
|
||||
SetupSampleTextBoxes();
|
||||
|
||||
ppCmbxChangeBarType.DataSource = EnumDetail<FolderConfig.PrintChangeBar>.Details();
|
||||
ppCmbxChangeBarType.DisplayMember = "Name";
|
||||
ppCmbxChangeBarType.ValueMember = "EValue";
|
||||
|
||||
ppCmbxChgBarPos.DataSource = EnumDetail<FolderConfig.PrintChangeBarLoc>.Details();
|
||||
ppCmbxChgBarPos.DisplayMember = "Name";
|
||||
ppCmbxChgBarPos.ValueMember = "EValue";
|
||||
|
||||
ppCmbxChgBarTxtType.DataSource = EnumDetail<FolderConfig.PrintChangeBarText>.Details();
|
||||
ppCmbxChgBarTxtType.DisplayMember = "Name";
|
||||
ppCmbxChgBarTxtType.ValueMember = "EValue";
|
||||
|
||||
ppCmbxPagination.DataSource = EnumDetail<FolderConfig.PrintPagination>.Details();
|
||||
ppCmbxPagination.DisplayMember = "Name";
|
||||
ppCmbxPagination.ValueMember = "EValue";
|
||||
|
||||
ppCmbxWatermark.DataSource = EnumDetail<FolderConfig.PrintWatermark>.Details();
|
||||
ppCmbxWatermark.DisplayMember = "Name";
|
||||
ppCmbxWatermark.ValueMember = "EValue";
|
||||
|
||||
ppCmbxStpEditorCols.DataSource = EnumDetail<FolderConfig.FormatColumns>.Details();
|
||||
ppCmbxStpEditorCols.DisplayMember = "Name";
|
||||
ppCmbxStpEditorCols.ValueMember = "EValue";
|
||||
|
||||
ppCbShwDefSettings.Visible = true; // display check box for showing default values
|
||||
}
|
||||
_Initializing = false;
|
||||
}
|
||||
|
||||
private void ppBtnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
folderConfigBindingSource.EndEdit();
|
||||
DialogResult = DialogResult.OK;
|
||||
// Save Default settings for User
|
||||
//
|
||||
// Save whether we should display the default values on this property page
|
||||
Settings.Default.ShowDefaultFolderProp = ppCbShwDefSettings.Checked;
|
||||
Settings.Default.Save();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void ppBtnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
folderConfigBindingSource.CancelEdit();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void ppColorPickerViewModebckgnd_SelectedColorChanged(object sender, EventArgs e)
|
||||
{
|
||||
_ViewBckgndColor = strMakeColorName(ppColorPickerViewModebckgnd.SelectedColor);
|
||||
SetupSampleTextBoxes();
|
||||
}
|
||||
|
||||
private void ppColorPickerEditModeBckGnd_SelectedColorChanged(object sender, EventArgs e)
|
||||
{
|
||||
_EditBckgndColor = strMakeColorName(ppColorPickerEditModeBckGnd.SelectedColor);
|
||||
_FolderConfig.Color_editbackground = _EditBckgndColor;
|
||||
SetupSampleTextBoxes();
|
||||
}
|
||||
|
||||
private void ppColorPickerTransition_SelectedColorChanged(object sender, EventArgs e)
|
||||
{
|
||||
_TransColor = strMakeColorName(ppColorPickerTransition.SelectedColor);
|
||||
SetupSampleTextBoxes();
|
||||
}
|
||||
|
||||
private void ppColorPickerRO_SelectedColorChanged(object sender, EventArgs e)
|
||||
{
|
||||
_ROcolor = strMakeColorName(ppColorPickerRO.SelectedColor);
|
||||
SetupSampleTextBoxes();
|
||||
}
|
||||
|
||||
|
||||
private void ppColorPickerViewModebckgnd_ColorPreview(object sender, DevComponents.DotNetBar.ColorPreviewEventArgs e)
|
||||
{
|
||||
ppPanelViewSample.BackColor = e.Color;
|
||||
}
|
||||
|
||||
private void ppColorPickerViewModebckgnd_PopupFinalized(object sender, EventArgs e)
|
||||
{
|
||||
ppPanelViewSample.BackColor = cGetColor(_ViewBckgndColor);
|
||||
}
|
||||
|
||||
private void ppColorPickerEditModeBckGnd_ColorPreview(object sender, DevComponents.DotNetBar.ColorPreviewEventArgs e)
|
||||
{
|
||||
ppPanelEditSample.BackColor = e.Color;
|
||||
}
|
||||
|
||||
private void ppColorPickerEditModeBckGnd_PopupFinalized(object sender, EventArgs e)
|
||||
{
|
||||
ppPanelEditSample.BackColor = cGetColor(_EditBckgndColor);
|
||||
}
|
||||
|
||||
private void ppColorPickerTransition_ColorPreview(object sender, DevComponents.DotNetBar.ColorPreviewEventArgs e)
|
||||
{
|
||||
ppLblViewTrans.ForeColor = e.Color;
|
||||
ppLblEditTrans.ForeColor = e.Color;
|
||||
}
|
||||
|
||||
private void ppColorPickerTransition_PopupFinalized(object sender, EventArgs e)
|
||||
{
|
||||
ppLblViewTrans.ForeColor = cGetColor(_TransColor);
|
||||
ppLblEditTrans.ForeColor = cGetColor(_TransColor);
|
||||
}
|
||||
|
||||
private void ppColorPickerRO_ColorPreview(object sender, DevComponents.DotNetBar.ColorPreviewEventArgs e)
|
||||
{
|
||||
ppLblViewRO.ForeColor = e.Color;
|
||||
ppLblEditRO.ForeColor = e.Color;
|
||||
}
|
||||
|
||||
private void ppColorPickerRO_PopupFinalized(object sender, EventArgs e)
|
||||
{
|
||||
ppLblViewRO.ForeColor = cGetColor(_ROcolor);
|
||||
ppLblEditRO.ForeColor = cGetColor(_ROcolor);
|
||||
}
|
||||
|
||||
private void ppBtnDefaultGrfExt_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxGrphFileExt.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppBtnDefaultROPrefix_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxDefROPrefix.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppBtnDefaultImgPrefix_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxDefImgPrefix.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxDefROPrefix_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxDefROPrefix.SelectedIndex != -1) &&
|
||||
_DefaultROPrefix.Equals(ppCmbxDefROPrefix.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultROPrefix.Focus();
|
||||
ppBtnDefaultROPrefix.PerformClick();
|
||||
}
|
||||
ppBtnDefaultROPrefix.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxDefROPrefix.SelectedValue != null);
|
||||
ppLblROPrefixDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultROPrefix.Visible;
|
||||
}
|
||||
|
||||
private void ppCmbxDefImgPrefix_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxDefImgPrefix.SelectedIndex != -1) &&
|
||||
_DefaultImagePrefix.Equals(ppCmbxDefImgPrefix.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultImgPrefix.Focus();
|
||||
ppBtnDefaultImgPrefix.PerformClick();
|
||||
}
|
||||
ppBtnDefaultImgPrefix.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxDefImgPrefix.SelectedValue != null);
|
||||
ppLblImagePrefixDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultImgPrefix.Visible;
|
||||
}
|
||||
|
||||
private void ppCmbxGrphFileExt_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxGrphFileExt.SelectedIndex != -1) && _DefaultROGraficFileExtension.Equals(ppCmbxGrphFileExt.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultGrfExt.Focus();
|
||||
ppBtnDefaultGrfExt.PerformClick();
|
||||
}
|
||||
ppBtnDefaultGrfExt.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxGrphFileExt.SelectedValue != null);
|
||||
}
|
||||
|
||||
private void ppCmbxDefROPrefix_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TEMPORARY
|
||||
// Just to simulate selection from the drop down list
|
||||
// Once the DataSource is established, we can use the SelectedValueChanged()
|
||||
//folderPropROPrefixDefault.Visible =
|
||||
ppBtnDefaultROPrefix.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxDefROPrefix.SelectedItem != null);
|
||||
}
|
||||
|
||||
private void ppCmbxDefImgPrefix_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TEMPORARY
|
||||
// Just to simulate selection from the drop down list
|
||||
// Once the DataSource is established, we can use the SelectedValueChanged()
|
||||
//folderProptImagePrefixDefault.Visible =
|
||||
ppBtnDefaultImgPrefix.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxDefImgPrefix.SelectedItem != null);
|
||||
|
||||
}
|
||||
|
||||
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxFormat.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultFmt.Focus();
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
}
|
||||
ppBtnDefaultFmt.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxFormat.SelectedValue != null);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
}
|
||||
|
||||
private void setEnabledUserSpecifiedChgBarCombos(FolderConfig.PrintChangeBar pcb)
|
||||
{
|
||||
ppGpbxUserSpecCB.Enabled =
|
||||
ppCmbxChgBarPos.Enabled =
|
||||
ppCmbxChgBarTxtType.Enabled =
|
||||
ppBtnDefaultCbPos.Enabled =
|
||||
ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
|
||||
ppCmbxChangeBarType.SelectedValue.Equals(FolderConfig.PrintChangeBar.WithUserSpecified)) ||
|
||||
(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(FolderConfig.PrintChangeBar.WithUserSpecified));
|
||||
}
|
||||
|
||||
private void ppCmbxChangeBarType_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
FolderConfig.PrintChangeBar pcb = (FolderConfig.PrintChangeBar)Enum.Parse(typeof(FolderConfig.PrintChangeBar), _DefaultChgBarType);
|
||||
if ((ppCmbxChangeBarType.SelectedIndex != -1) &&
|
||||
ppCmbxChangeBarType.SelectedValue.Equals(pcb))
|
||||
{
|
||||
ppBtnDefaultChgBar.Focus();
|
||||
ppBtnDefaultChgBar.PerformClick();
|
||||
}
|
||||
ppBtnDefaultChgBar.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxChangeBarType.SelectedValue != null);
|
||||
ppLblChangeBarTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultChgBar.Visible;
|
||||
setEnabledUserSpecifiedChgBarCombos(pcb);
|
||||
}
|
||||
|
||||
private void ppCmbxChgBarPos_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
FolderConfig.PrintChangeBarLoc cbl = (FolderConfig.PrintChangeBarLoc)Enum.Parse(typeof(FolderConfig.PrintChangeBarLoc), _DefaultChgBarLoc);
|
||||
if ((ppCmbxChgBarPos.SelectedIndex != -1) &&
|
||||
ppCmbxChgBarPos.SelectedValue.Equals(cbl))
|
||||
{
|
||||
ppBtnDefaultCbPos.Focus();
|
||||
ppBtnDefaultCbPos.PerformClick();
|
||||
}
|
||||
ppBtnDefaultCbPos.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxChgBarPos.SelectedValue != null);
|
||||
ppLblChgBarPosDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultCbPos.Visible;
|
||||
}
|
||||
|
||||
private void setEnabledUserSpecifiedChgBarText()
|
||||
{
|
||||
ppGpbxUserSpecTxt.Enabled =
|
||||
ppTxbxChangeBarUserMsgOne.Enabled =
|
||||
ppTxbxChgBarUserMsgTwo.Enabled =
|
||||
ppBtnDefCbTxt1.Enabled =
|
||||
ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
|
||||
ppCmbxChgBarTxtType.SelectedValue.Equals(FolderConfig.PrintChangeBarText.UserDef));
|
||||
}
|
||||
|
||||
private void ppCmbxChgBarTxtType_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
FolderConfig.PrintChangeBarText cbt = (FolderConfig.PrintChangeBarText)Enum.Parse(typeof(FolderConfig.PrintChangeBarText), _DefaultChgBarText);
|
||||
if ((ppCmbxChgBarTxtType.SelectedIndex != -1) &&
|
||||
ppCmbxChgBarTxtType.SelectedValue.Equals(cbt))
|
||||
{
|
||||
ppBtnDefCbTxtTyp.Focus();
|
||||
ppBtnDefCbTxtTyp.PerformClick();
|
||||
}
|
||||
ppBtnDefCbTxtTyp.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxChgBarTxtType.SelectedValue != null);
|
||||
ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible;
|
||||
setEnabledUserSpecifiedChgBarText();
|
||||
}
|
||||
|
||||
private void ppTxbxChangeBarUserMsgOne_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ppBtnDefCbTxt1.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppTxbxChangeBarUserMsgOne.Text != null);
|
||||
}
|
||||
|
||||
private void ppTxbxChangeBarUserMsgTwo_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ppBtnDefCbTxt2.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppTxbxChgBarUserMsgTwo.Text != null);
|
||||
}
|
||||
|
||||
private void ppCmbxStpEditorCols_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
FolderConfig.FormatColumns fcl = (FolderConfig.FormatColumns)Enum.Parse(typeof(FolderConfig.FormatColumns), _DefaultFormatColumns);
|
||||
if ((ppCmbxStpEditorCols.SelectedIndex != -1) &&
|
||||
ppCmbxStpEditorCols.SelectedValue.Equals(fcl))
|
||||
{
|
||||
ppBtnDefEdCols.Focus();
|
||||
ppBtnDefEdCols.PerformClick();
|
||||
}
|
||||
ppBtnDefEdCols.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxStpEditorCols.SelectedValue != null);
|
||||
ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible;
|
||||
}
|
||||
|
||||
private void ppCmbxPagination_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
FolderConfig.PrintPagination pgtn = (FolderConfig.PrintPagination)Enum.Parse(typeof(FolderConfig.PrintPagination), _DefaultPagination);
|
||||
if ((ppCmbxPagination.SelectedIndex != -1) &&
|
||||
ppCmbxPagination.SelectedValue.Equals(pgtn))
|
||||
{
|
||||
ppBtnDefPagination.Focus();
|
||||
ppBtnDefPagination.PerformClick();
|
||||
}
|
||||
ppBtnDefPagination.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxPagination.SelectedValue != null);
|
||||
ppLblPaginationDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefPagination.Visible;
|
||||
}
|
||||
|
||||
private void ppCmbxWatermark_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
FolderConfig.PrintWatermark wtr = (FolderConfig.PrintWatermark)Enum.Parse(typeof(FolderConfig.PrintWatermark), _DefaultWatermark);
|
||||
if ((ppCmbxWatermark.SelectedIndex != -1) &&
|
||||
ppCmbxWatermark.SelectedValue.Equals(wtr))
|
||||
{
|
||||
ppBtnDefWatermark.Focus();
|
||||
ppBtnDefWatermark.PerformClick();
|
||||
}
|
||||
ppBtnDefWatermark.Visible = !(_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxWatermark.SelectedValue != null);
|
||||
ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible;
|
||||
}
|
||||
|
||||
private void ppChbxDisAutoDuplex_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
ppBtnDeftDisAutoDuplx.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (_DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked);
|
||||
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determines what labels (showing default values) are visable on the property pages
|
||||
/// </summary>
|
||||
private void defaultSettingsVisiblity()
|
||||
{
|
||||
ppLblChgBarUserMsgOneDefault.Visible =
|
||||
ppLblChgBarUserMsgTwoDefault.Visible =
|
||||
ppLblDefSettingsInfo.Visible = ppCbShwDefSettings.Checked;
|
||||
|
||||
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
|
||||
ppLblROPrefixDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultROPrefix.Visible;
|
||||
ppLblImagePrefixDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultImgPrefix.Visible;
|
||||
ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible;
|
||||
ppLblGraphicFileExtDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultGrfExt.Visible;
|
||||
ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible;
|
||||
ppLblPaginationDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefPagination.Visible;
|
||||
ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible;
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
ppLblChangeBarTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultChgBar.Visible;
|
||||
ppLblChgBarPosDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultCbPos.Visible;
|
||||
}
|
||||
|
||||
private void ppCbShwDefSettings_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
|
||||
private void ppBtnDefaultChgBar_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChangeBarType.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxChgBarPos_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChgBarPos.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppBtnDefCbTxtTyp_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChgBarTxtType.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppBtnDefPagination_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxPagination.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppBtnDefWatermark_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxWatermark.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppBtnDefEdCols_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxStpEditorCols.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
|
||||
private void ppTxbxRoFoldLoc_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
string tpath = ppTxbxRoFoldLoc.Text + "\\RO.FST";
|
||||
if (File.Exists(tpath))
|
||||
{
|
||||
// build a list of available RO Accessory Page ID's
|
||||
ROFST rofst = new ROFST(tpath);
|
||||
ROFST.rodbi[] rodblist = rofst.GetRODatabaseList();
|
||||
for (int i = 0; i < rodblist.Length; i++)
|
||||
{
|
||||
string mitem = string.Format("{0} - {1}", rodblist[i].dbiTitle, rodblist[i].dbiAP);
|
||||
switch (rodblist[i].dbiType)
|
||||
{
|
||||
case 7: ppCmbxDefROPrefix.Items.Add(mitem); //cmbxROdbList.Items.Add(mitem); // setpoint
|
||||
break;
|
||||
case 8: ppCmbxDefImgPrefix.Items.Add(mitem); //cmbxIGdbList.Items.Add(mitem); // graphic
|
||||
break;
|
||||
default: // user defined
|
||||
ppCmbxDefROPrefix.Items.Add(mitem); //cmbxROdbList.Items.Add(mitem);
|
||||
ppCmbxDefImgPrefix.Items.Add(mitem);//cmbxIGdbList.Items.Add(mitem);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ppCmbxDefROPrefix_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxDefROPrefix.SelectedIndex != -1) && _DefaultROPrefix.Equals(ppCmbxDefROPrefix.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultROPrefix.Focus();
|
||||
ppBtnDefaultROPrefix.PerformClick();
|
||||
}
|
||||
ppBtnDefaultROPrefix.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxDefROPrefix.SelectedValue != null);
|
||||
ppLblROPrefixDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultROPrefix.Visible;
|
||||
}
|
||||
|
||||
private void ppCmbxDefImgPrefix_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxDefImgPrefix.SelectedIndex != -1) && _DefaultImagePrefix.Equals(ppCmbxDefImgPrefix.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultImgPrefix.Focus();
|
||||
ppBtnDefaultImgPrefix.PerformClick();
|
||||
}
|
||||
ppBtnDefaultImgPrefix.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppCmbxDefImgPrefix.SelectedValue != null);
|
||||
ppLblImagePrefixDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultImgPrefix.Visible;
|
||||
}
|
||||
|
||||
private void ppBtnFldrDlg_Click(object sender, EventArgs e)
|
||||
{
|
||||
dlgROFolder = new FolderBrowserDialog();
|
||||
if (dlgROFolder.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
ppTxbxRoFoldLoc.Text = dlgROFolder.SelectedPath;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void tabGeneral_Layout(object sender, LayoutEventArgs e)
|
||||
{
|
||||
// Note this is called for all the tabs
|
||||
if (!_Initializing)
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
|
||||
private void btnGeneral_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcFolder.SelectedTab = tiGeneral;
|
||||
btnGeneral.Checked = true;
|
||||
}
|
||||
|
||||
private void btnRefObjs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcFolder.SelectedTab = tiRefObj;
|
||||
btnRefObjs.Checked = true;
|
||||
}
|
||||
|
||||
private void btnPrintSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcFolder.SelectedTab = tiOutputSettings;
|
||||
btnOutputSettings.Checked = true;
|
||||
}
|
||||
|
||||
private void btnStMsg_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcFolder.SelectedTab = tiStMsg;
|
||||
btnStMsg.Checked = true;
|
||||
}
|
||||
|
||||
private void btnFormatSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcFolder.SelectedTab = tiFmtSettings;
|
||||
btnFormatSettings.Checked = true;
|
||||
}
|
||||
|
||||
private void btnEdSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcFolder.SelectedTab = tiEditSettings;
|
||||
btnEdSettings.Checked = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// For the Button Interface property page style, when a button is selected (pressed),
|
||||
/// it will remain in the checked state even when a different button is selected. Thus
|
||||
/// we must clear the checked state of the buttons when a button is selected, then set
|
||||
/// the newly selected button's state to checked.
|
||||
/// </summary>
|
||||
private void ClearAllCheckedButtons()
|
||||
{
|
||||
btnGeneral.Checked = false;
|
||||
btnEdSettings.Checked = false;
|
||||
btnFormatSettings.Checked = false;
|
||||
btnOutputSettings.Checked = false;
|
||||
btnRefObjs.Checked = false;
|
||||
btnStMsg.Checked = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
250
PROMS/VEPROMS_UI/frmFolderProperties.resx
Normal file
250
PROMS/VEPROMS_UI/frmFolderProperties.resx
Normal file
@ -0,0 +1,250 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="folderConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>590, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="ppBtnFldrDlg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEwAA
|
||||
CxMBAJqcGAAAAn9JREFUOE+lk2tI01EYxhf0oU8WqVEIRpaIBWJgSPUhROmippS3QkkTylsXDMW8ts3b
|
||||
1G06daVibuqaOq0sxbBCKBSJ0PJCialZUFSKqaGSt1//TbIsww8deOBwznl+5zkv71kHiP5rGAFrKb1Q
|
||||
5ypR6bmaVU6m2kCiXJv007Om2XgwJEaNT4QiyDi/GF9mKRVgsWkav+CYQkR1utwAQfypphqZ4l/JIhOL
|
||||
jvtGKfCOyDMB6O/WMjNea9L3MT1zIxoM5QrqdWnS1SA+kUq8w1V4hhUgqq1QMj1WtcK88KmIud5oqsqy
|
||||
qCzOQFMopSQvhRvyBApkcQLzV91E1docpr9ol29eFMz0J0Bv2Kr6C3CrVMa3jyWm2EZzc12OSQ8M2TTo
|
||||
ZdytzMCgSUVfIqFcfY2bqiSKlQmoc+JNaUSVJRlMvsvHGHuoVUx9lZKFIQkMp63UW2FtMBH6YuBVFF01
|
||||
/lwO9aoQadSpTAxkwXs596oVtD+ULx36/Qkvg6HDl/k2D2YeufCmwoELZ45MCIA9olKVmK+vJQy3JVOv
|
||||
l7M4KIae8CVAV6hgPMV8uxczLYeZbDrIaN1eJBG2nHazyDN1cZEymdHueG7rcuh8KiTpixYA56AziMVn
|
||||
J5h9coyp5kOM1TvxudqejvRNBHrY4GRnZmcCqLMT6GlJ4Y4uGwZS4IUQ97kfs62eTD12YbzBmRGDAx+0
|
||||
u+iVmyMO24njbqvG5VbOz4yjtjyL3vuRdOSKltUuX0+LbAON0o3UJFmiibPi+pXtBLrvWHR2tHZfBuSm
|
||||
xZIrPk9mfAiJlwKMleWsvxsnj+7H9YAD+xxssbexwnqbBVs2m7HV3GxlI631E9fa/wGRpaRpa3TTbQAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>809, 17</value>
|
||||
</metadata>
|
||||
<data name="ppBtnDefaultGrfExt.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Graphic File Extension selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" graphic file extension setting (below the Graphic File Extension selection box).</value>
|
||||
</data>
|
||||
<metadata name="imageCodecInfoBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 57</value>
|
||||
</metadata>
|
||||
<data name="ppBtnDeftDisAutoDuplx.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Disable Automatic Duplexing selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" duplexing setting (below the Disable Automatic Duplexing check box).</value>
|
||||
</data>
|
||||
<data name="ppCmbxPagination.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows you to select the way VE-PROMS performs its pagination function.
|
||||
|
||||
Free - pagination is done on the fly, thus a total page count is not available.
|
||||
|
||||
Fixed - pagination is done only when you select to do so. This information is saved and used each time VE-PROMS prints.
|
||||
|
||||
Auto - pagination is done when VE-PROMS senses a change was made to the procedure since the last time the procedure was repaginated.</value>
|
||||
</data>
|
||||
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>948, 17</value>
|
||||
</metadata>
|
||||
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
|
||||
<value>Allows you to specify the default format.
|
||||
|
||||
If the format selection is inherited from the tree node above (its parent), then that format title will be displayed using a grey italics font.
|
||||
|
||||
When a format other than the inherited one is selected, a button labeled "Default" is displayed to right. If the "Show Default Settings" checkbox is check, the title of the inherited format (default format) is displayed below the list box.
|
||||
|
||||
Pressing the "Default" button will revert back to using the inherited format.
|
||||
</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxtTyp.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Text Type selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Text Type (below the Text Type selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefaultCbPos.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Position selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Position (below the Position selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxt2.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Custom Message Line Two selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Custom Message (below the Line Two selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxt1.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Custom Message Line One selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Custom Message (below the Line One selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnChgTextColors.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEwAA
|
||||
CxMBAJqcGAAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl
|
||||
lLjS0qEpmpBmNsnhdPRAL1SwpuFwHtO5pbGle3Duwfvf3R7a/bodTGcaBB18j+PPfT/3/X//94sAAOy/
|
||||
riAgJNrZWUDpShCpLfSR+K0Aqb3jR+oLbnKupjb8vfDnMPPbakKd5qUsDT88biWERJmf/0R4ng9psq0W
|
||||
vPz2nyAOwH65COHX/ZSt2UG7u9EKgOO1l7K1Ohc0YtPCkMhDmqUpqxKQk8UeytYyFzRCdz5AzTkAeT6X
|
||||
gra3M7S9gyHNDW6d/BT5/dN5GZopPxiCcAlIXAy0q2ueA9SIQCfAIAXDwOPqgXplL2Q9UYBEpgT7eJFF
|
||||
1bjPrlcKq1cBqIU2LgGRuguKWbM+BgPKWgtZEjlgiaywy4CmC5BpMH36XVmcc3E8K4k7weCNGBF5SdNT
|
||||
9VJxthYmaKYsdRCbqgBsI6t4WRDgd05kOnrLeZ7R5ri6JQAyFF4z9B6gkbGqjzY3Wqg5KUNZpAxpkgAy
|
||||
VbBGMSDDVUD6XHDi6ehDFZ9W1QtkywBjJZ8t5tDAC15A1ZYA8wPHwIVn+4mpK4xEnwRnPmKQI8OA0GXC
|
||||
/IiQBWz3fJXyOjgAmnkQiQwl60KlEHhuXk/ZpoBl+CxDTGXATV0sxD/DALsUBGTA7OBJp/z+Zma0aWvB
|
||||
cgeT4sgQwKwQMKr6bWbrsBAWJy5CjmI9YDcw2PkYA8dYsu/byz2OrtIo5vOjDZyHK3FRkxkRAlj7+KCX
|
||||
7x11aVLZbaSzEFbatIBdLfRPvEtAnXejAqq66JXHGP5nGZWJx/slArdt4DCYB0+AXXUajP1HyC+v9vtl
|
||||
JdHesaYtD9ecBdfQ0aUU2vbdoq57O2bfV8YE3pTG/OquiPVpmvmtM5285DVn4W+T9i/rvwGIKLDcllTq
|
||||
EwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="ppBtnDefEdCols.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Step Editor Columns selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" columnsr (below the Step Editor Columns selection box).</value>
|
||||
</data>
|
||||
<data name="groupPanel2.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows you to make adjustment to the printed page.
|
||||
|
||||
We found that the various printer drivers and fonts tend to differ in the thickness of the "pen" used to output text.
|
||||
|
||||
We also found that the various printer drivers can differ in the starting position of the printed page.</value>
|
||||
</data>
|
||||
<data name="ppGpbxUserSpecCB.SuperTooltip" xml:space="preserve">
|
||||
<value>- Select the position of the change bar with respect to the changed text
|
||||
|
||||
- Select the Type of Text to be placed next to the change bars
|
||||
|
||||
- Type in your own text to be placed next to the change bars.</value>
|
||||
</data>
|
||||
<data name="groupPanel6.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows you to preview and change:
|
||||
|
||||
- The background color for the active and non-active edit windows.
|
||||
|
||||
- The text color of Referenced objects (only when seen in the step editor).
|
||||
|
||||
- The text color of Transitions (only when seen in the step editor).</value>
|
||||
</data>
|
||||
<metadata name="dlgROFolder.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>263, 57</value>
|
||||
</metadata>
|
||||
</root>
|
1952
PROMS/VEPROMS_UI/frmProcedureProperties.Designer.cs
generated
Normal file
1952
PROMS/VEPROMS_UI/frmProcedureProperties.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
397
PROMS/VEPROMS_UI/frmProcedureProperties.cs
Normal file
397
PROMS/VEPROMS_UI/frmProcedureProperties.cs
Normal file
@ -0,0 +1,397 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using VEPROMS.Properties;
|
||||
using DescriptiveEnum;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmProcedureProperties : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
private string _DefaultFormatName = null;
|
||||
private string _DefaultPagination = null;
|
||||
private string _DefaultWatermark = null;
|
||||
private string _DefaultChgBarType = null;
|
||||
private string _DefaultChgBarLoc = null;
|
||||
private string _DefaultChgBarText = null;
|
||||
private string _DefaultChgBarUsrMsg1 = null;
|
||||
private string _DefaultChgBarUsrMsg2 = null;
|
||||
private string _DefaultFormatColumns = null;
|
||||
private bool _Initializing;
|
||||
private ProcedureConfig _ProcedureConfig;
|
||||
|
||||
public frmProcedureProperties(ProcedureConfig procedureConfig)
|
||||
{
|
||||
_ProcedureConfig = procedureConfig;
|
||||
_Initializing = true;
|
||||
InitializeComponent();
|
||||
btnGeneral.PerformClick(); // always start with General tab or button
|
||||
_Initializing = false;
|
||||
// build the caption
|
||||
this.Text = string.Format("{0} {1} Properties", procedureConfig.Number, procedureConfig.Title);
|
||||
}
|
||||
|
||||
private void ppBtnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
procedureConfigBindingSource.EndEdit();
|
||||
// Save Default settings for User
|
||||
//
|
||||
// Save whether we should display the default values on this property page
|
||||
Settings.Default.ShowDefaultProcedureProp = ppCbShwDefSettings.Checked;
|
||||
Settings.Default.Save();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void ppBtnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
procedureConfigBindingSource.CancelEdit();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void FindDefaultValues()
|
||||
{
|
||||
_ProcedureConfig.ParentLookup = true;
|
||||
// Get the default format name
|
||||
_DefaultFormatName = _ProcedureConfig.DefaultFormatSelection;
|
||||
if (_DefaultFormatName != null && !(_DefaultFormatName.Equals("")))
|
||||
{
|
||||
ppLblFormatDefault.Text = string.Format("({0})", _DefaultFormatName);
|
||||
ppCmbxFormat.WatermarkText = string.Format("{0}", _DefaultFormatName);
|
||||
}
|
||||
|
||||
// Get the default Change Bar Type
|
||||
_DefaultChgBarType = _ProcedureConfig.Print_ChangeBar.ToString();
|
||||
if (!(_DefaultChgBarType.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_ProcedureConfig.Print_ChangeBar);
|
||||
ppLblChangeBarTypeDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxChangeBarType.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default Change Bar Location
|
||||
_DefaultChgBarLoc = _ProcedureConfig.Print_ChangeBarLoc.ToString();
|
||||
if (!(_DefaultChgBarLoc.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_ProcedureConfig.Print_ChangeBarLoc);
|
||||
ppLblChgBarPosDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxChgBarPos.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default Change Bar text
|
||||
_DefaultChgBarText = _ProcedureConfig.Print_ChangeBarText.ToString();
|
||||
if (!(_DefaultChgBarText.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_ProcedureConfig.Print_ChangeBarText);
|
||||
ppLblChgBarTxtTypeDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxChgBarTxtType.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default User Change Bar Message 1
|
||||
_DefaultChgBarUsrMsg1 = _ProcedureConfig.Print_UserCBMess1;
|
||||
if (!(_DefaultChgBarUsrMsg1.Equals("")))
|
||||
ppLblChgBarUserMsgOneDefault.Text = string.Format("({0})", _DefaultChgBarUsrMsg1);
|
||||
|
||||
// Get the default User Change Bar Message 2
|
||||
_DefaultChgBarUsrMsg2 = _ProcedureConfig.Print_UserCBMess2;
|
||||
if (!(_DefaultChgBarUsrMsg2.Equals("")))
|
||||
ppLblChgBarUserMsgTwoDefault.Text = string.Format("({0})", _DefaultChgBarUsrMsg2);
|
||||
|
||||
// Get the default RO Graphic file extension
|
||||
//_DefaultROGraficFileExtension = _FolderConfig.Graphics_defaultext;
|
||||
//if (!(_DefaultROGraficFileExtension.Equals("")))
|
||||
// folderPropGraphicFileExtDefault.Text = string.Format("({0})", _DefaultROGraficFileExtension);
|
||||
|
||||
// Get the default Referenced Objects prefix
|
||||
//_DefaultROPrefix = _FolderConfig.Default_SPPrefix;
|
||||
//if (!(_DefaultROPrefix.Equals("")))
|
||||
// folderPropROPrefixDefault.Text = string.Format("({0})", _DefaultROPrefix);
|
||||
|
||||
// Get the default RO Graphics prefix
|
||||
//_DefaultImagePrefix = _FolderConfig.Default_IMPrefix;
|
||||
//if (!(_DefaultImagePrefix.Equals("")))
|
||||
// folderProptImagePrefixDefault.Text = string.Format("({0})", _DefaultImagePrefix);
|
||||
|
||||
// Get the default Print Pagination
|
||||
_DefaultPagination = _ProcedureConfig.Print_Pagination.ToString();
|
||||
if (!(_DefaultPagination.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_ProcedureConfig.Print_Pagination);
|
||||
ppLblPaginationDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxPagination.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default Watermark
|
||||
_DefaultWatermark = _ProcedureConfig.Print_Watermark.ToString();
|
||||
if (!(_DefaultWatermark.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_ProcedureConfig.Print_Watermark);
|
||||
ppLblWatermarkDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxWatermark.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default Format Columns
|
||||
_DefaultFormatColumns = _ProcedureConfig.Format_Columns.ToString();
|
||||
if (!(_DefaultFormatColumns.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_ProcedureConfig.Format_Columns);
|
||||
ppLblStpEditorColsDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxStpEditorCols.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
_ProcedureConfig.ParentLookup = false;
|
||||
}
|
||||
|
||||
|
||||
private void frmProcedureProperties_Load(object sender, EventArgs e)
|
||||
{
|
||||
_Initializing = true;
|
||||
procedureConfigBindingSource.DataSource = _ProcedureConfig;
|
||||
|
||||
formatInfoListBindingSource.DataSource = FormatInfoList.Get();
|
||||
|
||||
// Get the saved settings for this user
|
||||
//
|
||||
// Get setting telling us whether to display the default values on this property page
|
||||
ppCbShwDefSettings.Checked = (Settings.Default["ShowDefaultProcedureProp"] != null) ? Settings.Default.ShowDefaultProcedureProp : false;
|
||||
|
||||
// Get the User's property page style "PropPageStyle"
|
||||
// 1 - Button Dialog (default)
|
||||
// 2 - Tab Dialog
|
||||
if ((int)Settings.Default["PropPageStyle"] == 2) // tabbed interface
|
||||
{
|
||||
tcProcProp.TabsVisible = true;
|
||||
panProcBtns.Visible = false;
|
||||
this.Width -= panProcBtns.Width;
|
||||
}
|
||||
|
||||
|
||||
// Get the default values for the property page information
|
||||
FindDefaultValues();
|
||||
|
||||
ppCmbxChgBarPos.DataSource = EnumDetail<ProcedureConfig.PrintChangeBarLoc>.Details();
|
||||
ppCmbxChgBarPos.DisplayMember = "Description";
|
||||
ppCmbxChgBarPos.ValueMember = "EValue";
|
||||
|
||||
ppCmbxChgBarTxtType.DataSource = EnumDetail<ProcedureConfig.PrintChangeBarText>.Details();
|
||||
ppCmbxChgBarTxtType.DisplayMember = "Description";
|
||||
ppCmbxChgBarTxtType.ValueMember = "EValue";
|
||||
|
||||
ppCmbxChangeBarType.DataSource = EnumDetail<ProcedureConfig.PrintChangeBar>.Details();
|
||||
ppCmbxChangeBarType.DisplayMember = "Description";
|
||||
ppCmbxChangeBarType.ValueMember = "EValue";
|
||||
|
||||
ppCmbxPagination.DataSource = EnumDetail<ProcedureConfig.PrintPagination>.Details();
|
||||
ppCmbxPagination.DisplayMember = "Description";
|
||||
ppCmbxPagination.ValueMember = "EValue";
|
||||
|
||||
ppCmbxWatermark.DataSource = EnumDetail<ProcedureConfig.PrintWatermark>.Details();
|
||||
ppCmbxWatermark.DisplayMember = "Description";
|
||||
ppCmbxWatermark.ValueMember = "EValue";
|
||||
|
||||
ppCmbxStpEditorCols.DataSource = EnumDetail<ProcedureConfig.FormatColumns>.Details();
|
||||
ppCmbxStpEditorCols.DisplayMember = "Description";
|
||||
ppCmbxStpEditorCols.ValueMember = "EValue";
|
||||
|
||||
_Initializing = false;
|
||||
}
|
||||
|
||||
private void defaultSettingsVisiblity()
|
||||
{
|
||||
ppLblDefSettingsInfo.Visible = ppCbShwDefSettings.Checked;
|
||||
|
||||
ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible;
|
||||
ppLblPaginationDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefPagination.Visible;
|
||||
ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible;
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
ppLblChangeBarTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultChgBar.Visible;
|
||||
ppLblChgBarPosDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultCbPos.Visible;
|
||||
ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible;
|
||||
ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible;
|
||||
ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible;
|
||||
}
|
||||
|
||||
private void ckbxShowDefSettings_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
|
||||
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxFormat.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultFmt.Focus();
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
}
|
||||
ppBtnDefaultFmt.Visible = (ppCmbxFormat.SelectedValue != null);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
}
|
||||
|
||||
private void setEnabledUserSpecifiedChgBarCombos()
|
||||
{
|
||||
ppGpbxUserSpecCB.Enabled =
|
||||
ppCmbxChgBarPos.Enabled =
|
||||
ppCmbxChgBarTxtType.Enabled =
|
||||
ppBtnDefaultCbPos.Enabled =
|
||||
ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
|
||||
ppCmbxChangeBarType.SelectedValue.Equals(ProcedureConfig.PrintChangeBar.WithUserSpecified));
|
||||
}
|
||||
|
||||
private void ppCmbxChangeBarType_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxChgBarPos.SelectedIndex != -1) && _DefaultChgBarType.Equals(ppCmbxChangeBarType.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultChgBar.Focus();
|
||||
ppBtnDefaultChgBar.PerformClick();
|
||||
}
|
||||
ppBtnDefaultChgBar.Visible = (ppCmbxChangeBarType.SelectedValue != null);
|
||||
ppLblChangeBarTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultChgBar.Visible;
|
||||
setEnabledUserSpecifiedChgBarCombos();
|
||||
}
|
||||
|
||||
private void ppBtnDefaultChgBar_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChangeBarType.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxChgBarPos_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxChgBarPos.SelectedIndex != -1) && _DefaultChgBarLoc.Equals(ppCmbxChgBarPos.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultCbPos.Focus();
|
||||
ppBtnDefaultCbPos.PerformClick();
|
||||
}
|
||||
ppBtnDefaultCbPos.Visible = (ppCmbxChgBarPos.SelectedValue != null);
|
||||
ppLblChgBarPosDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultCbPos.Visible;
|
||||
}
|
||||
|
||||
private void ppBtnDefaultCbPos_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChgBarPos.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppBtnDefCbTxtTyp_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChgBarTxtType.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void setEnabledUserSpecifiedChgBarText()
|
||||
{
|
||||
ppGpbxUserSpecTxt.Enabled =
|
||||
ppTxbxChangeBarUserMsgOne.Enabled =
|
||||
ppTxbxChgBarUserMsgTwo.Enabled =
|
||||
ppBtnDefCbTxt1.Enabled =
|
||||
ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
|
||||
ppCmbxChgBarTxtType.SelectedValue.Equals(ProcedureConfig.PrintChangeBarText.UserDef));
|
||||
}
|
||||
|
||||
private void ppCmbxChgBarTxtType_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxChgBarTxtType.SelectedIndex != -1) && _DefaultChgBarText.Equals(ppCmbxChgBarTxtType.SelectedValue))
|
||||
{
|
||||
ppBtnDefCbTxtTyp.Focus();
|
||||
ppBtnDefCbTxtTyp.PerformClick();
|
||||
}
|
||||
ppBtnDefCbTxtTyp.Visible = (ppCmbxChgBarTxtType.SelectedValue != null);
|
||||
ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible;
|
||||
setEnabledUserSpecifiedChgBarText();
|
||||
}
|
||||
|
||||
private void ppCmbxPagination_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxPagination.SelectedIndex != -1) && _DefaultPagination.Equals(ppCmbxPagination.SelectedValue))
|
||||
{
|
||||
ppBtnDefPagination.Focus();
|
||||
ppBtnDefPagination.PerformClick();
|
||||
}
|
||||
ppBtnDefPagination.Visible = ppCmbxPagination.SelectedValue != null;
|
||||
ppLblPaginationDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefPagination.Visible;
|
||||
}
|
||||
|
||||
private void ppBtnDefPagination_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxPagination.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxWatermark_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxWatermark.SelectedIndex != -1) && _DefaultWatermark.Equals(ppCmbxWatermark.SelectedValue))
|
||||
{
|
||||
ppBtnDefWatermark.Focus();
|
||||
ppBtnDefWatermark.PerformClick();
|
||||
}
|
||||
ppBtnDefWatermark.Visible = ppCmbxWatermark.SelectedValue != null;
|
||||
ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible;
|
||||
}
|
||||
|
||||
private void ppBtnDefWatermark_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxWatermark.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxStpEditorCols_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
ProcedureConfig.FormatColumns fc = (ProcedureConfig.FormatColumns)Enum.Parse(typeof(ProcedureConfig.FormatColumns), _DefaultFormatColumns);
|
||||
if ((ppCmbxStpEditorCols.SelectedIndex != -1) && ppCmbxStpEditorCols.SelectedValue.Equals(fc))
|
||||
{
|
||||
ppBtnDefEdCols.Focus();
|
||||
ppBtnDefEdCols.PerformClick();
|
||||
}
|
||||
ppBtnDefEdCols.Visible = ppCmbxStpEditorCols.SelectedValue != null;
|
||||
ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible;
|
||||
}
|
||||
|
||||
private void tabGeneral_Layout(object sender, LayoutEventArgs e)
|
||||
{
|
||||
// Note this is called for all the tabs
|
||||
if (!_Initializing)
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
|
||||
private void btnGeneral_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcProcProp.SelectedTab = tiGeneral;
|
||||
btnGeneral.Checked = true;
|
||||
}
|
||||
|
||||
private void btnFmtStngs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcProcProp.SelectedTab = tiFmtStngs;
|
||||
btnFmtStngs.Checked = true;
|
||||
}
|
||||
|
||||
private void btnOutputStngs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcProcProp.SelectedTab = tiOutputStngs;
|
||||
btnOutputStngs.Checked = true;
|
||||
}
|
||||
|
||||
private void btnVwStngs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcProcProp.SelectedTab = tiViewStngs;
|
||||
btnVwStngs.Checked = true;
|
||||
}
|
||||
|
||||
private void ClearAllCheckedButtons()
|
||||
{
|
||||
btnGeneral.Checked = false;
|
||||
btnFmtStngs.Checked = false;
|
||||
btnOutputStngs.Checked = false;
|
||||
btnVwStngs.Checked = false;
|
||||
}
|
||||
}
|
||||
}
|
180
PROMS/VEPROMS_UI/frmProcedureProperties.resx
Normal file
180
PROMS/VEPROMS_UI/frmProcedureProperties.resx
Normal file
@ -0,0 +1,180 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="procedureConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>273, 17</value>
|
||||
</metadata>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>752, 17</value>
|
||||
</metadata>
|
||||
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>520, 17</value>
|
||||
</metadata>
|
||||
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
|
||||
<value>Allows you to specify the default format to use for this procedure.
|
||||
|
||||
If this procedure is using the format inherited from the procedure set (its parent), then that format title will be displayed using a grey italics font.
|
||||
|
||||
When a format other than the inherited one is selected, a button labeled "Default" is displayed to right. If the "Show Default Settings" checkbox is check, the title of the inherited format (default format) is displayed below the list box.
|
||||
|
||||
Pressing the "Default" button will revert back to using the inherited format.
|
||||
</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxtTyp.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Text Type selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Text Type (below the Text Type selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefaultCbPos.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Position selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Position (below the Position selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxt2.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Custom Message Line Two selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Custom Message (below the Line Two selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxt1.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Custom Message Line One selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Custom Message (below the Line One selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDeftDisAutoDuplx.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Disable Automatic Duplexing selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" duplexing setting (below the Disable Automatic Duplexing check box).</value>
|
||||
</data>
|
||||
<data name="ppCmbxPagination.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows you to select the way VE-PROMS performs its pagination function.
|
||||
|
||||
Free - pagination is done on the fly, thus a total page count is not available.
|
||||
|
||||
Fixed - pagination is done only when you select to do so. This information is saved and used each time VE-PROMS prints.
|
||||
|
||||
Auto - pagination is done when VE-PROMS senses a change was made to the procedure since the last time the procedure was repaginated.</value>
|
||||
</data>
|
||||
<data name="ppGpbxUserSpecCB.SuperTooltip" xml:space="preserve">
|
||||
<value>- Select the position of the change bar with respect to the changed text
|
||||
|
||||
- Select the Type of Text to be placed next to the change bars
|
||||
|
||||
- Type in your own text to be placed next to the change bars.</value>
|
||||
</data>
|
||||
</root>
|
107
PROMS/VEPROMS_UI/frmPropGrid.Designer.cs
generated
Normal file
107
PROMS/VEPROMS_UI/frmPropGrid.Designer.cs
generated
Normal file
@ -0,0 +1,107 @@
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class frmPropGrid
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btnOK = new System.Windows.Forms.Button();
|
||||
this.btnCancel = new System.Windows.Forms.Button();
|
||||
this.pg = new System.Windows.Forms.PropertyGrid();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btnOK);
|
||||
this.panel1.Controls.Add(this.btnCancel);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 476);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(473, 49);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btnOK.Location = new System.Drawing.Point(323, 0);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 49);
|
||||
this.btnOK.TabIndex = 1;
|
||||
this.btnOK.Text = "OK";
|
||||
this.btnOK.UseVisualStyleBackColor = true;
|
||||
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btnCancel.Location = new System.Drawing.Point(398, 0);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 49);
|
||||
this.btnCancel.TabIndex = 0;
|
||||
this.btnCancel.Text = "Cancel";
|
||||
this.btnCancel.UseVisualStyleBackColor = true;
|
||||
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||
//
|
||||
// pg
|
||||
//
|
||||
this.pg.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pg.Font = new System.Drawing.Font("Arial Unicode MS", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.pg.Location = new System.Drawing.Point(0, 0);
|
||||
this.pg.Name = "pg";
|
||||
this.pg.Size = new System.Drawing.Size(473, 476);
|
||||
this.pg.TabIndex = 1;
|
||||
//
|
||||
// frmPropGrid
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ClientSize = new System.Drawing.Size(473, 525);
|
||||
this.Controls.Add(this.pg);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "frmPropGrid";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "frmPropGrid";
|
||||
this.Load += new System.EventHandler(this.frmPropGrid_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button btnOK;
|
||||
private System.Windows.Forms.Button btnCancel;
|
||||
private System.Windows.Forms.PropertyGrid pg;
|
||||
}
|
||||
}
|
59
PROMS/VEPROMS_UI/frmPropGrid.cs
Normal file
59
PROMS/VEPROMS_UI/frmPropGrid.cs
Normal file
@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmPropGrid : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
private object _PGobject;
|
||||
|
||||
public frmPropGrid(object pgobject)
|
||||
{
|
||||
InitializeComponent();
|
||||
_PGobject = pgobject;
|
||||
}
|
||||
|
||||
public frmPropGrid(object pgobject, string title)
|
||||
{
|
||||
InitializeComponent();
|
||||
_PGobject = pgobject;
|
||||
this.Text = title;
|
||||
}
|
||||
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void frmPropGrid_Load(object sender, EventArgs e)
|
||||
{
|
||||
Show();
|
||||
pg.SelectedObject = _PGobject;
|
||||
}
|
||||
}
|
||||
//public partial class SystemConfig
|
||||
//{
|
||||
// FolderConfig _FolderConfig;
|
||||
// public SystemConfig(FolderConfig folderConfig)
|
||||
// {
|
||||
// _FolderConfig = folderConfig;
|
||||
// //_FolderConfig.Default_SPPrefix;
|
||||
// }
|
||||
// public string Default_SPPrefix
|
||||
// {
|
||||
// get { return _FolderConfig.Default_SPPrefix; }
|
||||
// set { _FolderConfig.Default_SPPrefix = value; }
|
||||
// }
|
||||
//}
|
||||
}
|
120
PROMS/VEPROMS_UI/frmPropGrid.resx
Normal file
120
PROMS/VEPROMS_UI/frmPropGrid.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=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>
|
1006
PROMS/VEPROMS_UI/frmSectionProperties.Designer.cs
generated
Normal file
1006
PROMS/VEPROMS_UI/frmSectionProperties.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
168
PROMS/VEPROMS_UI/frmSectionProperties.cs
Normal file
168
PROMS/VEPROMS_UI/frmSectionProperties.cs
Normal file
@ -0,0 +1,168 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using VEPROMS.Properties;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmSectionProperties : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
private string _DefaultFormatName = null;
|
||||
private bool _Initializing;
|
||||
private SectionConfig _SectionConfig;
|
||||
|
||||
public frmSectionProperties(SectionConfig sectionConfig)
|
||||
{
|
||||
_SectionConfig = sectionConfig;
|
||||
InitializeComponent();
|
||||
btnGeneral.PerformClick(); // always start with General tab or button
|
||||
if (sectionConfig.Number.Length > 0)
|
||||
this.Text = string.Format("{0} {1} Properties", sectionConfig.Number, sectionConfig.Title);
|
||||
else
|
||||
this.Text = string.Format("{0} Properties", sectionConfig.Title);
|
||||
}
|
||||
|
||||
private void btnFlderPropOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
sectionConfigBindingSource.EndEdit();
|
||||
// Save Default settings for User
|
||||
//
|
||||
// Save whether we should display the default values on this property page
|
||||
Settings.Default.ShowDefaultSectionProp = ppCbShwDefSettings.Checked;
|
||||
Settings.Default.Save();
|
||||
DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void btnFldrPropCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
sectionConfigBindingSource.CancelEdit();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void FindDefaultValues()
|
||||
{
|
||||
_SectionConfig.ParentLookup = true;
|
||||
// Get the default format name
|
||||
_DefaultFormatName = _SectionConfig.DefaultFormatSelection;
|
||||
if (_DefaultFormatName != null && !(_DefaultFormatName.Equals("")))
|
||||
{
|
||||
ppLblFormatDefault.Text = string.Format("({0})", _DefaultFormatName);
|
||||
ppCmbxFormat.WatermarkText = string.Format("{0}", _DefaultFormatName);
|
||||
}
|
||||
_SectionConfig.ParentLookup = false;
|
||||
}
|
||||
|
||||
private void frmSectionProperties_Load(object sender, EventArgs e)
|
||||
{
|
||||
_Initializing = true;
|
||||
sectionConfigBindingSource.DataSource = _SectionConfig;
|
||||
|
||||
formatInfoListBindingSource.DataSource = FormatInfoList.Get();
|
||||
|
||||
// Get the saved settings for this user
|
||||
//
|
||||
// Get setting telling us whether to display the default values on this property page
|
||||
ppCbShwDefSettings.Checked = (Settings.Default["ShowDefaultSectionProp"] != null) ? Settings.Default.ShowDefaultSectionProp : false;
|
||||
|
||||
// Get the User's property page style "PropPageStyle"
|
||||
// 1 - Button Dialog (default)
|
||||
// 2 - Tab Dialog
|
||||
if ((int)Settings.Default["PropPageStyle"] == 2) // tabbed interface
|
||||
{
|
||||
tcSectionProp.TabsVisible = true;
|
||||
panSectBtns.Visible = false;
|
||||
this.Width -= panSectBtns.Width;
|
||||
}
|
||||
|
||||
|
||||
// Get the default values for the property page information
|
||||
FindDefaultValues();
|
||||
|
||||
ppCmbxSectPagination.DataSource = EnumDetail<SectionConfig.SectionPagination>.Details();
|
||||
ppCmbxSectPagination.DisplayMember = "Description";
|
||||
ppCmbxSectPagination.ValueMember = "EValue";
|
||||
|
||||
ppCmbxNumColumns.DataSource = EnumDetail<SectionConfig.SectionColumnMode>.Details();
|
||||
ppCmbxNumColumns.DisplayMember = "Description";
|
||||
ppCmbxNumColumns.ValueMember = "EValue";
|
||||
|
||||
_Initializing = false;
|
||||
}
|
||||
|
||||
|
||||
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxFormat.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultFmt.Focus();
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
}
|
||||
ppBtnDefaultFmt.Visible = (ppCmbxFormat.SelectedValue != null);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
}
|
||||
|
||||
private void defaultSettingsVisiblity()
|
||||
{
|
||||
ppLblDefSettingsInfo.Visible = ppCbShwDefSettings.Checked;
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
}
|
||||
|
||||
private void ppCbShwDefSettings_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
|
||||
private void tabGeneral_Layout(object sender, LayoutEventArgs e)
|
||||
{
|
||||
if (!_Initializing)
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
|
||||
private void btnGeneral_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcSectionProp.SelectedTab = tiGeneral;
|
||||
btnGeneral.Checked = true;
|
||||
}
|
||||
|
||||
private void btnFormat_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcSectionProp.SelectedTab = tiFormat;
|
||||
btnFormat.Checked = true;
|
||||
}
|
||||
|
||||
private void btnLibDocs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcSectionProp.SelectedTab = tiLibDoc;
|
||||
btnLibDocs.Checked = true;
|
||||
}
|
||||
|
||||
private void btnViewStngs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcSectionProp.SelectedTab = tiViewStnns;
|
||||
btnViewStngs.Checked = true;
|
||||
}
|
||||
|
||||
private void ClearAllCheckedButtons()
|
||||
{
|
||||
btnGeneral.Checked = false;
|
||||
btnFormat.Checked = false;
|
||||
btnLibDocs.Checked = false;
|
||||
btnViewStngs.Checked = false;
|
||||
}
|
||||
}
|
||||
}
|
148
PROMS/VEPROMS_UI/frmSectionProperties.resx
Normal file
148
PROMS/VEPROMS_UI/frmSectionProperties.resx
Normal file
@ -0,0 +1,148 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="sectionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>385, 20</value>
|
||||
</metadata>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>845, 20</value>
|
||||
</metadata>
|
||||
<data name="ppCmbxSectPagination.SuperTooltip" xml:space="preserve">
|
||||
<value>Select how this section is handled during pagination.
|
||||
|
||||
Default - is defined by the format
|
||||
|
||||
Separate - this section will always begin on a new page.
|
||||
|
||||
Continous - this section will not begin on a new page if there is room on the current page.</value>
|
||||
</data>
|
||||
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>613, 20</value>
|
||||
</metadata>
|
||||
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
|
||||
<value>Allows you to specify the format to use for this section.
|
||||
|
||||
If this section is using the format inherited from the procedure settings (its parent), that format title will be displayed using a grey italics font.
|
||||
|
||||
When a format other than the inherited one is selected, a button labeled "Default" is displayed to right. If the "Show Default Settings" checkbox is check, the title of the inherited format (default format) is displayed below the list box.
|
||||
|
||||
Pressing the "Default" button will revert back to using the inherited format for this section.
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
407
PROMS/VEPROMS_UI/frmSysOptions.Designer.cs
generated
Normal file
407
PROMS/VEPROMS_UI/frmSysOptions.Designer.cs
generated
Normal file
@ -0,0 +1,407 @@
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class frmSysOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSysOptions));
|
||||
this.btnCancel = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnOK = new DevComponents.DotNetBar.ButtonX();
|
||||
this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.cbRibonBlack = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbRibonSilver = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbRibonBlue = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.panButtons = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnIntrFaceStngs = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnStartMsg = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
|
||||
this.tcSysOpts = new DevComponents.DotNetBar.TabControl();
|
||||
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.groupPanel2 = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.cbPropGrid = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbTabbedIntrFace = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbButtonIntrFace = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.tiIntrFaceStngs = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiStUpMsg = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.groupPanel1.SuspendLayout();
|
||||
this.panButtons.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSysOpts)).BeginInit();
|
||||
this.tcSysOpts.SuspendLayout();
|
||||
this.tabControlPanel3.SuspendLayout();
|
||||
this.groupPanel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.Location = new System.Drawing.Point(821, 605);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.TabIndex = 0;
|
||||
this.btnCancel.Text = "Cancel";
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnOK.Location = new System.Drawing.Point(722, 605);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOK.TabIndex = 1;
|
||||
this.btnOK.Text = "OK";
|
||||
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||
//
|
||||
// groupPanel1
|
||||
//
|
||||
this.groupPanel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.groupPanel1.CanvasColor = System.Drawing.Color.Transparent;
|
||||
this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.groupPanel1.Controls.Add(this.cbRibonBlack);
|
||||
this.groupPanel1.Controls.Add(this.cbRibonSilver);
|
||||
this.groupPanel1.Controls.Add(this.cbRibonBlue);
|
||||
this.groupPanel1.Location = new System.Drawing.Point(52, 16);
|
||||
this.groupPanel1.Name = "groupPanel1";
|
||||
this.groupPanel1.Size = new System.Drawing.Size(110, 119);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.groupPanel1.Style.BackColorGradientAngle = 90;
|
||||
this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel1.Style.BorderBottomWidth = 1;
|
||||
this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel1.Style.BorderLeftWidth = 1;
|
||||
this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel1.Style.BorderRightWidth = 1;
|
||||
this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel1.Style.BorderTopWidth = 1;
|
||||
this.groupPanel1.Style.CornerDiameter = 4;
|
||||
this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
this.groupPanel1.TabIndex = 1;
|
||||
this.groupPanel1.Text = "System Color";
|
||||
//
|
||||
// cbRibonBlack
|
||||
//
|
||||
this.cbRibonBlack.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbRibonBlack.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbRibonBlack.Location = new System.Drawing.Point(9, 66);
|
||||
this.cbRibonBlack.Name = "cbRibonBlack";
|
||||
this.cbRibonBlack.Size = new System.Drawing.Size(89, 23);
|
||||
this.cbRibonBlack.TabIndex = 2;
|
||||
this.cbRibonBlack.Text = "Black";
|
||||
this.cbRibonBlack.CheckedChanged += new System.EventHandler(this.cbRibonBlack_CheckedChanged);
|
||||
//
|
||||
// cbRibonSilver
|
||||
//
|
||||
this.cbRibonSilver.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbRibonSilver.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbRibonSilver.Location = new System.Drawing.Point(9, 37);
|
||||
this.cbRibonSilver.Name = "cbRibonSilver";
|
||||
this.cbRibonSilver.Size = new System.Drawing.Size(89, 23);
|
||||
this.cbRibonSilver.TabIndex = 1;
|
||||
this.cbRibonSilver.Text = "Silver";
|
||||
this.cbRibonSilver.CheckedChanged += new System.EventHandler(this.cbRibonSilver_CheckedChanged);
|
||||
//
|
||||
// cbRibonBlue
|
||||
//
|
||||
this.cbRibonBlue.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbRibonBlue.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbRibonBlue.Location = new System.Drawing.Point(9, 8);
|
||||
this.cbRibonBlue.Name = "cbRibonBlue";
|
||||
this.cbRibonBlue.Size = new System.Drawing.Size(89, 23);
|
||||
this.cbRibonBlue.TabIndex = 0;
|
||||
this.cbRibonBlue.Text = "Blue";
|
||||
this.cbRibonBlue.CheckedChanged += new System.EventHandler(this.cbRibonBlue_CheckedChanged);
|
||||
//
|
||||
// panButtons
|
||||
//
|
||||
this.panButtons.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panButtons.Controls.Add(this.btnIntrFaceStngs);
|
||||
this.panButtons.Controls.Add(this.btnStartMsg);
|
||||
this.panButtons.Controls.Add(this.btnGeneral);
|
||||
this.panButtons.Location = new System.Drawing.Point(18, 17);
|
||||
this.panButtons.Name = "panButtons";
|
||||
this.panButtons.Size = new System.Drawing.Size(224, 566);
|
||||
this.panButtons.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panButtons.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.panButtons.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.panButtons.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panButtons.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.panButtons.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panButtons.Style.GradientAngle = 90;
|
||||
this.panButtons.TabIndex = 2;
|
||||
this.panButtons.Text = "panelEx1";
|
||||
this.panButtons.ThemeAware = true;
|
||||
//
|
||||
// btnIntrFaceStngs
|
||||
//
|
||||
this.btnIntrFaceStngs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnIntrFaceStngs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnIntrFaceStngs.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.btnIntrFaceStngs.Location = new System.Drawing.Point(0, 46);
|
||||
this.btnIntrFaceStngs.Name = "btnIntrFaceStngs";
|
||||
this.btnIntrFaceStngs.Size = new System.Drawing.Size(224, 23);
|
||||
this.btnIntrFaceStngs.TabIndex = 2;
|
||||
this.btnIntrFaceStngs.Text = "My Interface Settings";
|
||||
this.btnIntrFaceStngs.Click += new System.EventHandler(this.btnIntrFaceStngs_Click);
|
||||
//
|
||||
// btnStartMsg
|
||||
//
|
||||
this.btnStartMsg.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnStartMsg.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnStartMsg.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.btnStartMsg.Location = new System.Drawing.Point(0, 23);
|
||||
this.btnStartMsg.Name = "btnStartMsg";
|
||||
this.btnStartMsg.Size = new System.Drawing.Size(224, 23);
|
||||
this.btnStartMsg.TabIndex = 1;
|
||||
this.btnStartMsg.Text = "Startup Message";
|
||||
this.btnStartMsg.Click += new System.EventHandler(this.btnStartMsg_Click);
|
||||
//
|
||||
// btnGeneral
|
||||
//
|
||||
this.btnGeneral.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.btnGeneral.Location = new System.Drawing.Point(0, 0);
|
||||
this.btnGeneral.Name = "btnGeneral";
|
||||
this.btnGeneral.Size = new System.Drawing.Size(224, 23);
|
||||
this.btnGeneral.TabIndex = 0;
|
||||
this.btnGeneral.Text = "General";
|
||||
this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click);
|
||||
//
|
||||
// tcSysOpts
|
||||
//
|
||||
this.tcSysOpts.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
|
||||
this.tcSysOpts.CanReorderTabs = true;
|
||||
this.tcSysOpts.Controls.Add(this.tabControlPanel1);
|
||||
this.tcSysOpts.Controls.Add(this.tabControlPanel3);
|
||||
this.tcSysOpts.Controls.Add(this.tabControlPanel2);
|
||||
this.tcSysOpts.Location = new System.Drawing.Point(259, 21);
|
||||
this.tcSysOpts.Name = "tcSysOpts";
|
||||
this.tcSysOpts.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
|
||||
this.tcSysOpts.SelectedTabIndex = 2;
|
||||
this.tcSysOpts.Size = new System.Drawing.Size(655, 562);
|
||||
this.tcSysOpts.TabIndex = 3;
|
||||
this.tcSysOpts.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
|
||||
this.tcSysOpts.Tabs.Add(this.tiGeneral);
|
||||
this.tcSysOpts.Tabs.Add(this.tiStUpMsg);
|
||||
this.tcSysOpts.Tabs.Add(this.tiIntrFaceStngs);
|
||||
this.tcSysOpts.TabsVisible = false;
|
||||
this.tcSysOpts.Text = "tabControl1";
|
||||
this.tcSysOpts.ThemeAware = true;
|
||||
//
|
||||
// tabControlPanel1
|
||||
//
|
||||
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControlPanel1.Location = new System.Drawing.Point(0, 27);
|
||||
this.tabControlPanel1.Name = "tabControlPanel1";
|
||||
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tabControlPanel1.Size = new System.Drawing.Size(655, 535);
|
||||
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
|
||||
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tabControlPanel1.Style.GradientAngle = 90;
|
||||
this.tabControlPanel1.TabIndex = 1;
|
||||
this.tabControlPanel1.TabItem = this.tiGeneral;
|
||||
this.tabControlPanel1.ThemeAware = true;
|
||||
//
|
||||
// tiGeneral
|
||||
//
|
||||
this.tiGeneral.AttachedControl = this.tabControlPanel1;
|
||||
this.tiGeneral.Name = "tiGeneral";
|
||||
this.tiGeneral.Text = "General";
|
||||
//
|
||||
// tabControlPanel3
|
||||
//
|
||||
this.tabControlPanel3.Controls.Add(this.groupPanel2);
|
||||
this.tabControlPanel3.Controls.Add(this.groupPanel1);
|
||||
this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControlPanel3.Location = new System.Drawing.Point(0, 27);
|
||||
this.tabControlPanel3.Name = "tabControlPanel3";
|
||||
this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tabControlPanel3.Size = new System.Drawing.Size(655, 535);
|
||||
this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
|
||||
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tabControlPanel3.Style.GradientAngle = 90;
|
||||
this.tabControlPanel3.TabIndex = 3;
|
||||
this.tabControlPanel3.TabItem = this.tiIntrFaceStngs;
|
||||
this.tabControlPanel3.ThemeAware = true;
|
||||
//
|
||||
// groupPanel2
|
||||
//
|
||||
this.groupPanel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.groupPanel2.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.groupPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.groupPanel2.Controls.Add(this.cbPropGrid);
|
||||
this.groupPanel2.Controls.Add(this.cbTabbedIntrFace);
|
||||
this.groupPanel2.Controls.Add(this.cbButtonIntrFace);
|
||||
this.groupPanel2.Location = new System.Drawing.Point(207, 15);
|
||||
this.groupPanel2.Name = "groupPanel2";
|
||||
this.groupPanel2.Size = new System.Drawing.Size(152, 132);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.groupPanel2.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.groupPanel2.Style.BackColorGradientAngle = 90;
|
||||
this.groupPanel2.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.groupPanel2.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel2.Style.BorderBottomWidth = 1;
|
||||
this.groupPanel2.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.groupPanel2.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel2.Style.BorderLeftWidth = 1;
|
||||
this.groupPanel2.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel2.Style.BorderRightWidth = 1;
|
||||
this.groupPanel2.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.groupPanel2.Style.BorderTopWidth = 1;
|
||||
this.groupPanel2.Style.CornerDiameter = 4;
|
||||
this.groupPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.groupPanel2.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.groupPanel2.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.groupPanel2.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
this.groupPanel2.TabIndex = 2;
|
||||
this.groupPanel2.Text = "Property Page Style";
|
||||
//
|
||||
// cbPropGrid
|
||||
//
|
||||
this.cbPropGrid.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbPropGrid.Location = new System.Drawing.Point(11, 73);
|
||||
this.cbPropGrid.Name = "cbPropGrid";
|
||||
this.cbPropGrid.Size = new System.Drawing.Size(110, 24);
|
||||
this.cbPropGrid.TabIndex = 2;
|
||||
this.cbPropGrid.Text = "Property Grid";
|
||||
//
|
||||
// cbTabbedIntrFace
|
||||
//
|
||||
this.cbTabbedIntrFace.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbTabbedIntrFace.Location = new System.Drawing.Point(11, 42);
|
||||
this.cbTabbedIntrFace.Name = "cbTabbedIntrFace";
|
||||
this.cbTabbedIntrFace.Size = new System.Drawing.Size(130, 25);
|
||||
this.cbTabbedIntrFace.TabIndex = 1;
|
||||
this.cbTabbedIntrFace.Text = "Tabbed interface";
|
||||
//
|
||||
// cbButtonIntrFace
|
||||
//
|
||||
this.cbButtonIntrFace.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbButtonIntrFace.Location = new System.Drawing.Point(11, 12);
|
||||
this.cbButtonIntrFace.Name = "cbButtonIntrFace";
|
||||
this.cbButtonIntrFace.Size = new System.Drawing.Size(129, 24);
|
||||
this.cbButtonIntrFace.TabIndex = 0;
|
||||
this.cbButtonIntrFace.Text = "Button Interface";
|
||||
//
|
||||
// tiIntrFaceStngs
|
||||
//
|
||||
this.tiIntrFaceStngs.AttachedControl = this.tabControlPanel3;
|
||||
this.tiIntrFaceStngs.Name = "tiIntrFaceStngs";
|
||||
this.tiIntrFaceStngs.Text = "My Interface Settings";
|
||||
//
|
||||
// tabControlPanel2
|
||||
//
|
||||
this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControlPanel2.Location = new System.Drawing.Point(0, 27);
|
||||
this.tabControlPanel2.Name = "tabControlPanel2";
|
||||
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tabControlPanel2.Size = new System.Drawing.Size(655, 535);
|
||||
this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
|
||||
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tabControlPanel2.Style.GradientAngle = 90;
|
||||
this.tabControlPanel2.TabIndex = 2;
|
||||
this.tabControlPanel2.TabItem = this.tiStUpMsg;
|
||||
this.tabControlPanel2.ThemeAware = true;
|
||||
//
|
||||
// tiStUpMsg
|
||||
//
|
||||
this.tiStUpMsg.AttachedControl = this.tabControlPanel2;
|
||||
this.tiStUpMsg.Name = "tiStUpMsg";
|
||||
this.tiStUpMsg.Text = "Startup Message";
|
||||
//
|
||||
// frmSysOptions
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(932, 640);
|
||||
this.Controls.Add(this.tcSysOpts);
|
||||
this.Controls.Add(this.panButtons);
|
||||
this.Controls.Add(this.btnOK);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "frmSysOptions";
|
||||
this.Text = "VE-PROMS System Options";
|
||||
this.groupPanel1.ResumeLayout(false);
|
||||
this.panButtons.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSysOpts)).EndInit();
|
||||
this.tcSysOpts.ResumeLayout(false);
|
||||
this.tabControlPanel3.ResumeLayout(false);
|
||||
this.groupPanel2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevComponents.DotNetBar.ButtonX btnCancel;
|
||||
private DevComponents.DotNetBar.ButtonX btnOK;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbRibonBlack;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbRibonSilver;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbRibonBlue;
|
||||
private DevComponents.DotNetBar.PanelEx panButtons;
|
||||
private DevComponents.DotNetBar.ButtonX btnStartMsg;
|
||||
private DevComponents.DotNetBar.ButtonX btnGeneral;
|
||||
private DevComponents.DotNetBar.ButtonX btnIntrFaceStngs;
|
||||
private DevComponents.DotNetBar.TabControl tcSysOpts;
|
||||
private DevComponents.DotNetBar.TabControlPanel tabControlPanel3;
|
||||
private DevComponents.DotNetBar.TabItem tiIntrFaceStngs;
|
||||
private DevComponents.DotNetBar.TabControlPanel tabControlPanel1;
|
||||
private DevComponents.DotNetBar.TabItem tiGeneral;
|
||||
private DevComponents.DotNetBar.TabControlPanel tabControlPanel2;
|
||||
private DevComponents.DotNetBar.TabItem tiStUpMsg;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel groupPanel2;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbPropGrid;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbTabbedIntrFace;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbButtonIntrFace;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
96
PROMS/VEPROMS_UI/frmSysOptions.cs
Normal file
96
PROMS/VEPROMS_UI/frmSysOptions.cs
Normal file
@ -0,0 +1,96 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using DevComponents;
|
||||
using VEPROMS.Properties;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmSysOptions : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
public frmSysOptions()
|
||||
{
|
||||
InitializeComponent();
|
||||
switch (Settings.Default.PropPageStyle)
|
||||
{
|
||||
case 1: cbButtonIntrFace.Checked = true;
|
||||
break;
|
||||
case 2: cbTabbedIntrFace.Checked = true;
|
||||
break;
|
||||
case 3: cbPropGrid.Checked = true;
|
||||
break;
|
||||
}
|
||||
|
||||
btnGeneral.PerformClick();
|
||||
}
|
||||
|
||||
|
||||
private void cbRibonBlue_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
DevComponents.DotNetBar.RibbonPredefinedColorSchemes.ChangeOffice2007ColorTable(DevComponents.DotNetBar.Rendering.eOffice2007ColorScheme.Blue);
|
||||
}
|
||||
|
||||
private void cbRibonSilver_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
DevComponents.DotNetBar.RibbonPredefinedColorSchemes.ChangeOffice2007ColorTable(DevComponents.DotNetBar.Rendering.eOffice2007ColorScheme.Silver);
|
||||
}
|
||||
|
||||
private void cbRibonBlack_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
DevComponents.DotNetBar.RibbonPredefinedColorSchemes.ChangeOffice2007ColorTable(DevComponents.DotNetBar.Rendering.eOffice2007ColorScheme.Black);
|
||||
}
|
||||
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Save Default settings for User
|
||||
|
||||
// Property Page style
|
||||
if (cbButtonIntrFace.Checked)
|
||||
Settings.Default.PropPageStyle = 1;
|
||||
else if (cbTabbedIntrFace.Checked)
|
||||
Settings.Default.PropPageStyle = 2;
|
||||
else if (cbPropGrid.Checked)
|
||||
Settings.Default.PropPageStyle = 3;
|
||||
|
||||
Settings.Default.Save();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
|
||||
private void btnIntrFaceStngs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcSysOpts.SelectedTab = tiIntrFaceStngs;
|
||||
btnIntrFaceStngs.Checked = true;
|
||||
}
|
||||
|
||||
private void btnStartMsg_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcSysOpts.SelectedTab = tiStUpMsg;
|
||||
btnStartMsg.Checked = true;
|
||||
}
|
||||
|
||||
private void btnGeneral_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcSysOpts.SelectedTab = tiGeneral;
|
||||
btnGeneral.Checked = true;
|
||||
}
|
||||
|
||||
private void ClearAllCheckedButtons()
|
||||
{
|
||||
btnGeneral.Checked = false;
|
||||
btnStartMsg.Checked = false;
|
||||
btnIntrFaceStngs.Checked = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
143
PROMS/VEPROMS_UI/frmSysOptions.resx
Normal file
143
PROMS/VEPROMS_UI/frmSysOptions.resx
Normal file
@ -0,0 +1,143 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAIAEBAQAAAABAAoAQAAJgAAACAgEAAAAAQA6AIAAE4BAAAoAAAAEAAAACAAAAABAAQAAAAAAMAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAAAACAAIAAgIAAAICAgADAwMAAAAD/AAD/
|
||||
AAAA//8A/wAAAP8A/wD//wAA////AAAAAAAAAAAAAH//j/j/jwAAf/+P+P+PAAB4iIiIiIgAAH93h3h3
|
||||
jwAAf3eHeHePAAB4iIiIiIgAAH93h3h3jwAAf3eHeHePAAB4iIiIiIgAAH93h3h3jwAAf3eHeHePAAB4
|
||||
iIiIgAAAAH//j/j39wAAf/+P+PdwAAB3d3d3dwAAwAEAAMABAADAAQAAwAEAAMABAADAAQAAwAEAAMAB
|
||||
AADAAQAAwAEAAMABAADAAQAAwAEAAMADAADABwAAwA8AACgAAAAgAAAAQA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|
||||
</value>
|
||||
</data>
|
||||
</root>
|
3220
PROMS/VEPROMS_UI/frmVEPROMS.Designer.cs
generated
Normal file
3220
PROMS/VEPROMS_UI/frmVEPROMS.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
787
PROMS/VEPROMS_UI/frmVEPROMS.cs
Normal file
787
PROMS/VEPROMS_UI/frmVEPROMS.cs
Normal file
@ -0,0 +1,787 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using Csla;
|
||||
using DevComponents;
|
||||
using Csla.Validation;
|
||||
using VEPROMS.Properties;
|
||||
using Volian.Controls.Library;
|
||||
|
||||
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmVEPROMS : DevComponents.DotNetBar.Office2007RibbonForm
|
||||
{
|
||||
#region Log4Net
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
#endregion
|
||||
Folder _LastFolder = null;
|
||||
FolderInfo _LastFolderInfo = null;
|
||||
Procedure _LastProcedure = null;
|
||||
ProcedureInfo _LastProcedureInfo = null;
|
||||
DocVersion _LastDocVersion = null;
|
||||
DocVersionInfo _LastDocVersionInfo = null;
|
||||
SectionInfo _LastSectionInfo = null;
|
||||
Section _LastSection = null;
|
||||
VETreeNode _LastTreeNode = null;
|
||||
Step _LastStep = null;
|
||||
StepInfo _LastStepInfo = null;
|
||||
Color _CommentTitleBckColor;
|
||||
|
||||
VETreeNode _PrevBookMark = null;
|
||||
|
||||
public frmVEPROMS()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// set the color of the ribbon
|
||||
// - get the color selected by user if available
|
||||
//DevComponents.DotNetBar.RibbonPredefinedColorSchemes.ChangeOffice2007ColorTable((Settings.Default["SystemColor"] != null) ? Settings.Default.SystemColor : (int)DevComponents.DotNetBar.Rendering.eOffice2007ColorScheme.Black);
|
||||
|
||||
VETreeNode tn = VETreeNode.GetFolder(1);
|
||||
tv.Nodes.Add(tn);
|
||||
tv.NodeNew += new Volian.Controls.Library.vlnTreeViewTreeNodeEvent(tv_NodeNew);
|
||||
tv.NodeDragDrop += new Volian.Controls.Library.vlnTreeViewEvent(tv_NodeDragDrop);
|
||||
tv.NodeDelete += new Volian.Controls.Library.vlnTreeViewBoolEvent(tv_NodeDelete);
|
||||
tv.NodeProperties += new Volian.Controls.Library.vlnTreeViewEvent(tv_NodeProperties);
|
||||
_CommentTitleBckColor = epComments.TitleStyle.BackColor1.Color;
|
||||
epComments.Expanded = false;
|
||||
// Need: load previously set bookmarks
|
||||
btnPrevPos.Enabled = false;
|
||||
btnClrBookMrks.Enabled = false;
|
||||
btnRmvCurBookMrk.Enabled = false;
|
||||
lbxBookMarks.Enabled = false;
|
||||
_PrevBookMark = null;
|
||||
}
|
||||
|
||||
void SetupNodes(VETreeNode node)
|
||||
{
|
||||
if (!node.Equals(_LastTreeNode))
|
||||
{
|
||||
_LastTreeNode = node;
|
||||
_LastFolderInfo = null;
|
||||
_LastFolder = null;
|
||||
_LastDocVersion = null;
|
||||
_LastProcedure = null;
|
||||
_LastSection = null;
|
||||
_LastStep = null;
|
||||
epComments.Expanded = false;
|
||||
rtxbComment.Text = "";
|
||||
epComments.TitleStyle.BackColor1.Color = _CommentTitleBckColor;
|
||||
|
||||
switch (node.VEObject.GetType().Name)
|
||||
{
|
||||
case "FolderInfo":
|
||||
_LastFolderInfo = (FolderInfo)(_LastTreeNode.VEObject);
|
||||
_LastFolder = _LastFolderInfo.Get();
|
||||
break;
|
||||
case "DocVersionInfo":
|
||||
_LastDocVersionInfo = (DocVersionInfo)(node.VEObject); //(_LastTreeNode.VEObject);
|
||||
_LastDocVersion = _LastDocVersionInfo.Get();
|
||||
break;
|
||||
case "ProcedureInfo":
|
||||
_LastProcedureInfo = (ProcedureInfo)(_LastTreeNode.VEObject);
|
||||
_LastProcedure = _LastProcedureInfo.Get();
|
||||
OpenItem((ItemInfo)_LastProcedureInfo);
|
||||
if (_LastProcedureInfo.ItemAnnotationCount > 0)
|
||||
{
|
||||
if (!cbCmntDontPopup.Checked)
|
||||
epComments.Expanded = true;
|
||||
rtxbComment.Text = _LastProcedureInfo.ItemAnnotations[0].SearchText;
|
||||
}
|
||||
break;
|
||||
case "SectionInfo":
|
||||
_LastSectionInfo = (SectionInfo)(_LastTreeNode.VEObject);
|
||||
_LastSection = _LastSectionInfo.Get();
|
||||
OpenItem((ItemInfo)_LastSectionInfo);
|
||||
if (_LastSectionInfo.ItemAnnotationCount > 0)
|
||||
{
|
||||
if (!cbCmntDontPopup.Checked)
|
||||
epComments.Expanded = true;
|
||||
rtxbComment.Text = _LastSectionInfo.ItemAnnotations[0].SearchText;
|
||||
}
|
||||
break;
|
||||
case "StepInfo":
|
||||
_LastStepInfo = (StepInfo)(_LastTreeNode.VEObject);
|
||||
_LastStep = _LastStepInfo.Get();
|
||||
OpenItem((ItemInfo)_LastStepInfo);
|
||||
if (_LastStepInfo.ItemAnnotationCount > 0)
|
||||
{
|
||||
if (!cbCmntDontPopup.Checked)
|
||||
epComments.Expanded = true;
|
||||
rtxbComment.Text = _LastStepInfo.ItemAnnotations[0].SearchText;
|
||||
itemAnnotationsBindingSource.DataSource = _LastStepInfo.ItemAnnotations;
|
||||
epComments.TitleStyle.BackColor1.Color = Color.Yellow;
|
||||
}
|
||||
// display an exiting table in that rtf grid thing
|
||||
//if ((_LastStepInfo.MyContent.Type == 20007) || (_LastStepInfo.MyContent.Type == 20009))
|
||||
//{
|
||||
// //MessageBox.Show("Source Grid");
|
||||
// //frmTable newtable1 = new frmTable(_LastStepInfo.MyContent.Text);
|
||||
// //newtable1.ShowDialog();
|
||||
// //MessageBox.Show("IGrid");
|
||||
// //frmIGrid newtable2 = new frmIGrid(_LastStepInfo.MyContent.Text);
|
||||
// //newtable2.ShowDialog();
|
||||
// //MessageBox.Show("GridView"); //standard Visual Studio Control
|
||||
// //frmGridView newtable3 = new frmGridView(_LastStepInfo.MyContent.Text);
|
||||
// //newtable3.ShowDialog();
|
||||
// MessageBox.Show("FlexCell");
|
||||
// frmFlexCell newtable4 = new frmFlexCell(_LastStepInfo.MyContent.Text);
|
||||
// newtable4.ShowDialog();
|
||||
//}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
setupRibbonTabs(node);
|
||||
}
|
||||
}
|
||||
|
||||
private void OpenItem(ItemInfo item)
|
||||
{
|
||||
DisplayPanel vlnCSLAPanel1;
|
||||
ItemInfo tmp = item;
|
||||
while (tmp.MyContent.Type >= 10000) tmp = (ItemInfo)tmp.ActiveParent;
|
||||
vlnCSLAPanel1 = AddProcedureTab(tmp);
|
||||
vlnCSLAPanel1.ItemSelect(item);
|
||||
}
|
||||
|
||||
private void setupRibbonTabs(VETreeNode node)
|
||||
{
|
||||
switch (node.VEObject.GetType().Name)
|
||||
{
|
||||
case "FolderInfo":
|
||||
rtabEdit.Visible = false;
|
||||
rtabTools.Visible = false;
|
||||
rbnPrint.Visible = false;
|
||||
ribbonControl1.SelectedRibbonTabItem = rtabHome;
|
||||
break;
|
||||
case "DocVersionInfo":
|
||||
rtabEdit.Visible = false;
|
||||
rtabTools.Visible = false;
|
||||
rbnPrint.Visible = false;
|
||||
ribbonControl1.SelectedRibbonTabItem = rtabHome;
|
||||
break;
|
||||
case "ProcedureInfo":
|
||||
rtabEdit.Visible = true;
|
||||
rtabTools.Visible = true;
|
||||
rbnPrint.Visible = true;
|
||||
ribbonControl1.SelectedRibbonTabItem = rtabEdit;
|
||||
break;
|
||||
case "SectionInfo":
|
||||
rtabEdit.Visible = true;
|
||||
rtabTools.Visible = true;
|
||||
rbnPrint.Visible = true;
|
||||
ribbonControl1.SelectedRibbonTabItem = rtabEdit;
|
||||
break;
|
||||
case "StepInfo":
|
||||
rtabEdit.Visible = true;
|
||||
rtabTools.Visible = true;
|
||||
rbnPrint.Visible = true;
|
||||
ribbonControl1.SelectedRibbonTabItem = rtabEdit;
|
||||
break;
|
||||
default:
|
||||
rtabEdit.Visible = false;
|
||||
rtabTools.Visible = false;
|
||||
rbnPrint.Visible = false;
|
||||
ribbonControl1.SelectedRibbonTabItem = rtabHome;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void tv_NodeProperties(object sender, Volian.Controls.Library.vlnTreeEventArgs args)
|
||||
{
|
||||
DisplayProperties();
|
||||
}
|
||||
|
||||
// this is used by tv_NodeProperties() and by ribbonFilePropertes_Click()
|
||||
// the type of the args parameter for these two functions is different and
|
||||
// type casting didn't work, so I put the guts in this function.
|
||||
private void DisplayProperties()
|
||||
{
|
||||
// check the user's preference on the style of poperty dialogs "PropPageStyle"
|
||||
// 1 - Button dialog interface
|
||||
// 2 - Tab dialog interface
|
||||
// 3 - Property Grid interface
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
if ((int)Settings.Default["PropPageStyle"] == 3)
|
||||
DoPropertyGrid(); // Will display a Property Grid interface
|
||||
else
|
||||
DoPropertyPages(); // Will display either a Button or a Tab dialog
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
bool tv_NodeDelete(object sender, Volian.Controls.Library.vlnTreeEventArgs args)
|
||||
{
|
||||
SetupNodes((VETreeNode)args.Node);
|
||||
if (_LastTreeNode.Nodes.Count > 0)
|
||||
{
|
||||
MessageBox.Show("Folder not empty", "Folder must be empty");
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_LastFolderInfo != null)
|
||||
{
|
||||
DialogResult result = MessageBox.Show("Are you sure you want to delete " + _LastFolderInfo.Name, "Verify Folder Delete",
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (result == DialogResult.Yes)
|
||||
{
|
||||
Folder.Delete(_LastFolderInfo.FolderID);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Not a folder", "Only Folder can be deleted");
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool IsFolder(VETreeNode veTreeNode)
|
||||
{
|
||||
return (veTreeNode.VEObject.GetType().Name == "FolderInfo");
|
||||
}
|
||||
|
||||
void tv_NodeDragDrop(object sender, Volian.Controls.Library.vlnTreeEventArgs args)
|
||||
{
|
||||
VETreeNode drag = (VETreeNode)args.Node;
|
||||
VETreeNode drop = (VETreeNode)args.Destination;
|
||||
if (IsFolder(drag) && IsFolder(drop))
|
||||
{
|
||||
FolderInfo fdragi = (FolderInfo)(drag.VEObject);
|
||||
Folder fdrag = fdragi.Get();
|
||||
FolderInfo fdropi = (FolderInfo)(drop.VEObject);
|
||||
fdrag.MyParent = fdropi.Get();
|
||||
fdrag.Save();
|
||||
}
|
||||
}
|
||||
|
||||
TreeNode tv_NodeNew(object sender, Volian.Controls.Library.vlnTreeEventArgs args)
|
||||
{
|
||||
SaveIfChanged();
|
||||
FolderInfo fldi = (FolderInfo)((VETreeNode)(args.Node)).VEObject;
|
||||
_LastFolder = Folder.MakeFolder(fldi.Get(), fldi.Get().MyConnection, "New Folder", string.Empty, "Short Name", null, string.Empty, DateTime.Now, "Test");
|
||||
BrokenRulesCollection brs = _LastFolder.BrokenRulesCollection;// .BrokenRules();
|
||||
if (brs != null)
|
||||
{
|
||||
foreach (BrokenRule br in brs)
|
||||
{
|
||||
Console.WriteLine("broken rule {0}", br.Description);
|
||||
}
|
||||
}
|
||||
_LastFolderInfo = FolderInfo.Get(_LastFolder.FolderID);
|
||||
VETreeNode tn = new VETreeNode((IVEDrillDownReadOnly)_LastFolderInfo);
|
||||
SetupNodes(tn);
|
||||
return tn;
|
||||
}
|
||||
|
||||
private void SaveIfChanged()
|
||||
{
|
||||
SaveIfChanged<Folder>(_LastFolder);
|
||||
SaveIfChanged<DocVersion>(_LastDocVersion);
|
||||
SaveIfChanged2(_LastProcedure);
|
||||
SaveIfChanged2(_LastSection);
|
||||
SaveIfChanged2(_LastStep);
|
||||
if (_LastTreeNode != null) _LastTreeNode.ResetNode();
|
||||
}
|
||||
private void SaveIfChanged<T>(BusinessBase<T> tmp)
|
||||
where T : BusinessBase<T>
|
||||
{
|
||||
if (tmp == null) return;
|
||||
if (tmp.IsDirty == false) return;
|
||||
if (tmp.IsSavable)
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
foreach (Csla.Validation.BrokenRule br in tmp.BrokenRulesCollection)
|
||||
{
|
||||
Console.WriteLine("{0}", br.RuleName);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void SaveIfChanged2(Item tmp)
|
||||
{
|
||||
SaveIfChanged<Item>(tmp);
|
||||
}
|
||||
|
||||
private void tv_BeforeExpand(object sender, TreeViewCancelEventArgs e)
|
||||
{
|
||||
VETreeNode tn = ((VETreeNode)e.Node);
|
||||
tn.LoadingChildernDone += new VETreeNodeEvent(tn_LoadingChildernDone);
|
||||
tn.LoadingChildernMax += new VETreeNodeEvent(tn_LoadingChildernMax);
|
||||
tn.LoadingChildernValue += new VETreeNodeEvent(tn_LoadingChildernValue);
|
||||
tn.LoadingChildrenSQL += new VETreeNodeEvent(tn_LoadingChildrenSQL);
|
||||
tn.LoadChildren();
|
||||
|
||||
}
|
||||
|
||||
// Used for the status bar in the lower left corner of the main screen
|
||||
void tn_LoadingChildrenSQL(object sender, VETreeNodeEventArgs args)
|
||||
{
|
||||
ProgBarText = "Loading SQL";
|
||||
}
|
||||
|
||||
// Used for the status bar in the lower left corner of the main screen
|
||||
void tn_LoadingChildernValue(object sender, VETreeNodeEventArgs args)
|
||||
{
|
||||
ProgBarValue = args.Value;
|
||||
}
|
||||
|
||||
// Used for the status bar in the lower left corner of the main screen
|
||||
void tn_LoadingChildernMax(object sender, VETreeNodeEventArgs args)
|
||||
{
|
||||
ProgBarMax = args.Value;
|
||||
ProgBarText = "Loading...";
|
||||
}
|
||||
|
||||
// Used for the status bar in the lower left corner of the main screen
|
||||
void tn_LoadingChildernDone(object sender, VETreeNodeEventArgs args)
|
||||
{
|
||||
ProgBarText = args.Info + " Seconds";
|
||||
}
|
||||
|
||||
private void tv_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
{
|
||||
SaveIfChanged();
|
||||
SetupNodes((VETreeNode)e.Node);
|
||||
this.Text = "VE-PROMS - " + e.Node.Text; // build and display window caption
|
||||
|
||||
}
|
||||
|
||||
private void btnProperties_Click(object sender, EventArgs e)
|
||||
{
|
||||
DisplayProperties();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get a System.Drawing.Color from an Argb or color name
|
||||
/// </summary>
|
||||
/// <param name="strColor">Color Name or "[(alpha,)red,green,blue]"</param>
|
||||
/// <returns></returns>
|
||||
private static Color cGetColor(string strColor)
|
||||
{
|
||||
// This was copied from frmFolderProperties.CS
|
||||
Color rtnColor;
|
||||
if (strColor == null || strColor.Equals(""))
|
||||
rtnColor = Color.White;
|
||||
else
|
||||
{
|
||||
if (strColor[0] == '[')
|
||||
{
|
||||
string[] parts = strColor.Substring(1, strColor.Length - 2).Split(",".ToCharArray());
|
||||
int parts_cnt = 0;
|
||||
foreach (string s in parts)
|
||||
{
|
||||
parts[parts_cnt] = parts[parts_cnt].TrimStart(' '); // remove preceeding blanks
|
||||
parts_cnt++;
|
||||
}
|
||||
if (parts_cnt == 3)
|
||||
rtnColor = Color.FromArgb(Int32.Parse(parts[0]), Int32.Parse(parts[1]), Int32.Parse(parts[2]));
|
||||
else
|
||||
rtnColor = Color.FromArgb(Int32.Parse(parts[0].Substring(2)), Int32.Parse(parts[1].Substring(2)), Int32.Parse(parts[2].Substring(2)), Int32.Parse(parts[3].Substring(2)));
|
||||
}
|
||||
else rtnColor = Color.FromName(strColor);
|
||||
}
|
||||
return rtnColor;
|
||||
}
|
||||
|
||||
private void SetupEditorColors(DisplayPanel vlnCSLAPanel1, TabPage pg)
|
||||
{
|
||||
// setup color
|
||||
if (_LastFolderInfo == null)
|
||||
{
|
||||
// user didn't select a FolderInfo type of node.
|
||||
// walk up the tree to find the first FolderInfo node type
|
||||
VETreeNode tn = (VETreeNode)(tv.SelectedNode);
|
||||
while (tn != null && tn.VEObject.GetType().Name != "FolderInfo")
|
||||
tn = (VETreeNode)tn.Parent;
|
||||
_LastFolderInfo = (FolderInfo)(tn.VEObject);
|
||||
_LastFolder = _LastFolderInfo.Get();
|
||||
}
|
||||
|
||||
if ((_LastFolderInfo.FolderConfig.Color_editbackground != null) && !(_LastFolderInfo.FolderConfig.Color_editbackground.Equals("")))
|
||||
{
|
||||
vlnCSLAPanel1.ActiveColor = cGetColor(_LastFolderInfo.FolderConfig.Color_editbackground);
|
||||
}
|
||||
if ((_LastFolderInfo.FolderConfig.Default_BkColor != null) && !(_LastFolderInfo.FolderConfig.Default_BkColor.Equals("")))
|
||||
{
|
||||
vlnCSLAPanel1.InactiveColor = _LastFolderInfo.FolderConfig.Default_BkColor;
|
||||
vlnCSLAPanel1.TabColor = vlnCSLAPanel1.InactiveColor;
|
||||
vlnCSLAPanel1.PanelColor = vlnCSLAPanel1.InactiveColor;
|
||||
pg.BackColor = vlnCSLAPanel1.InactiveColor;
|
||||
}
|
||||
}
|
||||
|
||||
private void DoPropertyPages()
|
||||
{
|
||||
// Display a property page. (this does either a tabbed or button interface)
|
||||
VETreeNode tn = (VETreeNode)(tv.SelectedNode);
|
||||
switch (tn.VEObject.GetType().Name)
|
||||
{
|
||||
case "FolderInfo":
|
||||
frmFolderProperties frmfld = new frmFolderProperties(_LastFolder.FolderConfig);
|
||||
if (frmfld.ShowDialog() == DialogResult.OK)
|
||||
_LastFolder.Save();
|
||||
break;
|
||||
case "DocVersionInfo":
|
||||
frmVersionsProperties frmver = new frmVersionsProperties(_LastDocVersion.DocVersionConfig);
|
||||
if (frmver.ShowDialog() == DialogResult.OK)
|
||||
_LastDocVersion.Save();
|
||||
break;
|
||||
case "ProcedureInfo":
|
||||
frmProcedureProperties frmproc = new frmProcedureProperties(_LastProcedure.ProcedureConfig);
|
||||
if (frmproc.ShowDialog() == DialogResult.OK)
|
||||
_LastProcedure.Save();
|
||||
break;
|
||||
case "SectionInfo":
|
||||
frmSectionProperties frmsec = new frmSectionProperties(_LastSection.SectionConfig);
|
||||
if (frmsec.ShowDialog() == DialogResult.OK)
|
||||
_LastSection.Save();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void DoPropertyGrid()
|
||||
{
|
||||
// Display a property grid
|
||||
VETreeNode tn = (VETreeNode)(tv.SelectedNode);
|
||||
frmPropGrid propGrid = null;
|
||||
string title = "";
|
||||
switch (tn.VEObject.GetType().Name)
|
||||
{
|
||||
case "FolderInfo":
|
||||
title = string.Format("{0} Properties", _LastFolder.FolderConfig.Name);
|
||||
propGrid = new frmPropGrid(_LastFolder.FolderConfig, title);
|
||||
if ( propGrid.ShowDialog() == DialogResult.OK)
|
||||
_LastFolder.Save();
|
||||
break;
|
||||
case "DocVersionInfo":
|
||||
title = string.Format("{0} Properties", _LastDocVersion.DocVersionConfig.Name);
|
||||
propGrid = new frmPropGrid(_LastDocVersion.DocVersionConfig, title);
|
||||
if ( propGrid.ShowDialog() == DialogResult.OK)
|
||||
_LastDocVersion.Save();
|
||||
break;
|
||||
case "ProcedureInfo":
|
||||
title = string.Format("{0} {1} Properties", _LastProcedure.ProcedureConfig.Number, _LastProcedure.ProcedureConfig.Title);
|
||||
propGrid = new frmPropGrid(_LastProcedure.ProcedureConfig, title);
|
||||
if ( propGrid.ShowDialog() == DialogResult.OK)
|
||||
_LastProcedure.Save();
|
||||
break;
|
||||
case "SectionInfo":
|
||||
if (_LastSection.SectionConfig.Number.Length > 0)
|
||||
title = string.Format("{0} {1} Properties", _LastSection.SectionConfig.Number, _LastSection.SectionConfig.Title);
|
||||
else
|
||||
title = string.Format("{0} Properties", _LastSection.SectionConfig.Title);
|
||||
propGrid = new frmPropGrid(_LastSection.SectionConfig, title);
|
||||
if ( propGrid.ShowDialog() == DialogResult.OK)
|
||||
_LastSection.Save();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnVlnWeb_Click(object sender, EventArgs e)
|
||||
{
|
||||
VlnWeb veWWW = new VlnWeb();
|
||||
veWWW.Show();
|
||||
}
|
||||
|
||||
|
||||
private void btnInsTable_Click(object sender, EventArgs e)
|
||||
{
|
||||
Point loc = btnInsTable.DisplayRectangle.Location;
|
||||
loc.X += 300;
|
||||
int top = this.Top + (btnInsTable.Size.Height * 2);
|
||||
TablePickerDlg(sender, e, loc, top);
|
||||
}
|
||||
|
||||
private void TablePickerDlg(object sender, EventArgs e, Point loc, int top)
|
||||
{
|
||||
Accentra.Controls.TablePicker tp = new Accentra.Controls.TablePicker();
|
||||
tp.Location = loc;
|
||||
tp.Top += top;
|
||||
tp.Show();
|
||||
while (tp.Visible)
|
||||
{
|
||||
Application.DoEvents();
|
||||
System.Threading.Thread.Sleep(0);
|
||||
}
|
||||
// This was used to display a dialog containing a table grid
|
||||
// using a product called Source Grid - was for demo purposes only
|
||||
//
|
||||
//if (!tp.Cancel)
|
||||
//{
|
||||
// frmTable newtable = new frmTable(tp.SelectedRows, tp.SelectedColumns);
|
||||
// newtable.Show();
|
||||
//}
|
||||
}
|
||||
|
||||
private void btnEditMode_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnEditView.Text = btnEditMode.Text;
|
||||
}
|
||||
|
||||
private void btnViewMode_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnEditView.Text = btnViewMode.Text;
|
||||
}
|
||||
|
||||
private void btnInsertMode_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnInsOvr.Text = btnInsertMode.Text;
|
||||
}
|
||||
|
||||
private void btnOverstrikeMode_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnInsOvr.Text = btnOverstrikeMode.Text;
|
||||
}
|
||||
|
||||
private void btnMarkPrevPos_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnSetBookMrk_Click(sender, e);
|
||||
}
|
||||
|
||||
private void btnPrevPos_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (_PrevBookMark != null)
|
||||
{
|
||||
VETreeNode jumpToHere = _PrevBookMark; // save current previous
|
||||
btnSetBookMrk_Click(sender, e); // save current as the new previous
|
||||
tv.SelectedNode = jumpToHere; // jump to the saved previous
|
||||
}
|
||||
}
|
||||
|
||||
private void btnSetLock_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnLckUlck.Image = btnSetLock.Image;
|
||||
btnLckUlck.Text = "Locked";
|
||||
}
|
||||
|
||||
private void btnReleaseLck_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnLckUlck.Image = btnReleaseLck.Image;
|
||||
btnLckUlck.Text = "Unlocked";
|
||||
}
|
||||
|
||||
private void btnBold_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnBold.Checked = !btnBold.Checked;
|
||||
}
|
||||
|
||||
private void btnItalics_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnItalics.Checked = !btnItalics.Checked;
|
||||
}
|
||||
|
||||
private void btnUline_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnUline.Checked = !btnUline.Checked;
|
||||
}
|
||||
|
||||
private void frmVEPROMS_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
Settings.Default.Location = this.Location;
|
||||
Settings.Default.Size = this.Size;
|
||||
Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void frmVEPROMS_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (Settings.Default["Location"] != null) this.Location = Settings.Default.Location;
|
||||
if (Settings.Default["Size"] != null) this.Size = Settings.Default.Size;
|
||||
}
|
||||
|
||||
private void btnFindRplDlg_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
FindReplace frmFindRepl = new FindReplace();
|
||||
frmFindRepl.Show();
|
||||
|
||||
}
|
||||
|
||||
public int ProgBarMax
|
||||
{
|
||||
get { return bottomProgBar.Maximum; }
|
||||
set { bottomProgBar.Maximum = value; }
|
||||
}
|
||||
public int ProgBarValue
|
||||
{
|
||||
get { return bottomProgBar.Value; }
|
||||
set { bottomProgBar.Value = value; }
|
||||
}
|
||||
|
||||
|
||||
public string ProgBarText
|
||||
{
|
||||
get { return bottomProgBar.Text; }
|
||||
set {
|
||||
bottomProgBar.TextVisible = true;
|
||||
bottomProgBar.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnViewPrcStp_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnViewTypes.Text = btnViewPrcStp.Text;
|
||||
}
|
||||
|
||||
private void btnViewBckgnd_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnViewTypes.Text = btnViewBckgnd.Text;
|
||||
}
|
||||
|
||||
private void btnViewDev_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnViewTypes.Text = btnViewDev.Text;
|
||||
}
|
||||
|
||||
private void btnGlbSrch_Click(object sender, EventArgs e)
|
||||
{
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabResults;
|
||||
btnSrchRslt.Checked = true;
|
||||
}
|
||||
|
||||
private void btnSimStps_Click(object sender, EventArgs e)
|
||||
{
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabResults;
|
||||
btnSimStpsRslt.Checked = true;
|
||||
}
|
||||
|
||||
private void btnClrBookMrks_Click(object sender, EventArgs e)
|
||||
{
|
||||
lbxBookMarks.Items.Clear();
|
||||
lbxBookMarks.Enabled = false;
|
||||
btnPrevPos.Enabled = false;
|
||||
btnClrBookMrks.Enabled = false;
|
||||
btnRmvCurBookMrk.Enabled = false;
|
||||
_PrevBookMark = null;
|
||||
}
|
||||
|
||||
private void btnRmvCurBookMrk_Click(object sender, EventArgs e)
|
||||
{
|
||||
lbxBookMarks.Items.RemoveAt(lbxBookMarks.SelectedIndex);
|
||||
if (lbxBookMarks.Items.Count == 0)
|
||||
{
|
||||
lbxBookMarks.Enabled = false;
|
||||
btnPrevPos.Enabled = false;
|
||||
btnClrBookMrks.Enabled = false;
|
||||
btnRmvCurBookMrk.Enabled = false;
|
||||
_PrevBookMark = null;
|
||||
}
|
||||
}
|
||||
|
||||
private void AddToBookMarkList(VETreeNode bkmrk)
|
||||
{
|
||||
if (!(lbxBookMarks.Items.Contains(bkmrk)))
|
||||
lbxBookMarks.Items.Add(bkmrk);
|
||||
}
|
||||
|
||||
|
||||
private void btnSetBookMrk_Click(object sender, EventArgs e)
|
||||
{
|
||||
VETreeNode tn = (VETreeNode)(tv.SelectedNode);
|
||||
AddToBookMarkList(tn);
|
||||
_PrevBookMark = tn;
|
||||
lbxBookMarks.Enabled = true;
|
||||
btnPrevPos.Enabled = true;
|
||||
btnClrBookMrks.Enabled = true;
|
||||
btnRmvCurBookMrk.Enabled = true;
|
||||
}
|
||||
|
||||
private void btnAbout_Click(object sender, EventArgs e)
|
||||
{
|
||||
AboutVEPROMS about = new AboutVEPROMS();
|
||||
about.ShowDialog();
|
||||
}
|
||||
|
||||
private void lbxBookMarks_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
if (lbxBookMarks.SelectedItem != null)
|
||||
tv.SelectedNode = (VETreeNode)lbxBookMarks.SelectedItem;
|
||||
}
|
||||
|
||||
private void vlnCSLAPanel1_LinkClicked(object sender, Volian.Controls.Library.DisplayLinkEventArgs args)
|
||||
{
|
||||
switch (args.Type)
|
||||
{
|
||||
case ParsedLinkType.ReferencedObject:
|
||||
MessageBox.Show(args.Roid, args.Type.ToString(), MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
break;
|
||||
case ParsedLinkType.Transition:
|
||||
case ParsedLinkType.TransitionRange:
|
||||
OpenItem(args.MyTransition.MyItemToID);
|
||||
break;
|
||||
}
|
||||
}
|
||||
// -------------------------------------------------------
|
||||
private void OpenTransition(ItemInfo item)
|
||||
{
|
||||
OpenItem(item);
|
||||
}
|
||||
|
||||
private DisplayPanel GetPanelFromPage(TabPage tp)
|
||||
{
|
||||
return (DisplayPanel)tp.Controls["vlnCSLAPanel1"];
|
||||
}
|
||||
|
||||
private DisplayPanel AddProcedureTab(ItemInfo pi)
|
||||
{
|
||||
if (tc.TabPages.ContainsKey(pi.MyContent.Number))
|
||||
{
|
||||
tc.SelectTab(pi.MyContent.Number);
|
||||
return GetPanelFromPage(tc.SelectedTab);
|
||||
}
|
||||
else
|
||||
{
|
||||
TabPage pg = new TabPage(pi.MyContent.Number);
|
||||
pg.Name = pi.MyContent.Number;
|
||||
tc.TabPages.Add(pg);
|
||||
tc.SelectedTab = pg;
|
||||
DisplayPanel vlnCSLAPanel1 = new Volian.Controls.Library.DisplayPanel(this.components);
|
||||
pg.Controls.Add(vlnCSLAPanel1);
|
||||
//
|
||||
// vlnCSLAPanel1
|
||||
//
|
||||
vlnCSLAPanel1.ActiveColor = System.Drawing.Color.SkyBlue;
|
||||
vlnCSLAPanel1.AutoScroll = true;
|
||||
vlnCSLAPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
vlnCSLAPanel1.InactiveColor = System.Drawing.Color.Linen;
|
||||
vlnCSLAPanel1.Name = "vlnCSLAPanel1";
|
||||
vlnCSLAPanel1.PanelColor = System.Drawing.Color.LightGray;
|
||||
vlnCSLAPanel1.ProcFont = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
vlnCSLAPanel1.SectFont = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
vlnCSLAPanel1.StepFont = new System.Drawing.Font("Arial", 10F);
|
||||
vlnCSLAPanel1.TabColor = System.Drawing.Color.Beige;
|
||||
SetupEditorColors(vlnCSLAPanel1,pg); // check for overridden color values
|
||||
vlnCSLAPanel1.TabIndex = 9;
|
||||
vlnCSLAPanel1.LinkClicked += new Volian.Controls.Library.DisplayPanelLinkEvent(this.vlnCSLAPanel1_LinkClicked);
|
||||
vlnCSLAPanel1.MyItem = pi;
|
||||
return vlnCSLAPanel1;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnOptions_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmSysOptions VeSysOpts = new frmSysOptions();
|
||||
VeSysOpts.ShowDialog();
|
||||
|
||||
}
|
||||
|
||||
private void btnExit_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
3681
PROMS/VEPROMS_UI/frmVEPROMS.resx
Normal file
3681
PROMS/VEPROMS_UI/frmVEPROMS.resx
Normal file
File diff suppressed because it is too large
Load Diff
1761
PROMS/VEPROMS_UI/frmVersionsProperties.Designer.cs
generated
Normal file
1761
PROMS/VEPROMS_UI/frmVersionsProperties.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
531
PROMS/VEPROMS_UI/frmVersionsProperties.cs
Normal file
531
PROMS/VEPROMS_UI/frmVersionsProperties.cs
Normal file
@ -0,0 +1,531 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using System.Drawing.Imaging;
|
||||
using VEPROMS.Properties;
|
||||
using DataLoader;
|
||||
using DescriptiveEnum;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmVersionsProperties : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
// Default values
|
||||
private string _DefaultFormatName = null;
|
||||
private string _DefaultROGraficFileExtension = null;
|
||||
private string _DefaultROPrefix = null;
|
||||
private string _DefaultImagePrefix = null;
|
||||
private string _DefaultPagination = null;
|
||||
private string _DefaultWatermark = null;
|
||||
private string _DefaultChgBarType = null;
|
||||
private string _DefaultChgBarLoc = null;
|
||||
private string _DefaultChgBarText = null;
|
||||
private string _DefaultChgBarUsrMsg1 = null;
|
||||
private string _DefaultChgBarUsrMsg2 = null;
|
||||
private bool _DefaultDisableDuplex = false;
|
||||
//
|
||||
private bool _Initializing;
|
||||
private DocVersionConfig _DocVersionConfig;
|
||||
|
||||
public frmVersionsProperties(DocVersionConfig docVersionConfig)
|
||||
{
|
||||
_DocVersionConfig = docVersionConfig;
|
||||
_Initializing = true;
|
||||
InitializeComponent();
|
||||
btnGeneral.PerformClick(); // always start with General tab or button
|
||||
_Initializing = false;
|
||||
//build the caption
|
||||
this.Text = string.Format("{0} Properties",_DocVersionConfig.Name);
|
||||
}
|
||||
|
||||
private void btnFlderPropOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
docVersionConfigBindingSource.EndEdit();
|
||||
// Save Default settings for User
|
||||
//
|
||||
// Save whether we should display the default values on this property page
|
||||
Settings.Default.ShowDefaultVersionProp = ppCbShwDefSettings.Checked;
|
||||
Settings.Default.Save();
|
||||
DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void btnFldrPropCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
docVersionConfigBindingSource.CancelEdit();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void FindDefaultValues()
|
||||
{
|
||||
_DocVersionConfig.ParentLookup = true;
|
||||
|
||||
// get default format
|
||||
_DefaultFormatName = _DocVersionConfig.DefaultFormatSelection;
|
||||
if (_DefaultFormatName != null && !(_DefaultFormatName.Equals("")))
|
||||
{
|
||||
ppLblFormatDefault.Text = string.Format("({0})", _DefaultFormatName);
|
||||
ppCmbxFormat.WatermarkText = string.Format("{0}", _DefaultFormatName);
|
||||
}
|
||||
|
||||
// Get the default Change Bar Type
|
||||
_DefaultChgBarType = _DocVersionConfig.Print_ChangeBar.ToString();
|
||||
if (!(_DefaultChgBarType.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_DocVersionConfig.Print_ChangeBar);
|
||||
ppLblChangeBarTypeDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxChangeBarType.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default Change Bar Location
|
||||
_DefaultChgBarLoc = _DocVersionConfig.Print_ChangeBarLoc.ToString();
|
||||
if (!(_DefaultChgBarLoc.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_DocVersionConfig.Print_ChangeBarLoc);
|
||||
ppLblChgBarPosDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxChgBarPos.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default Change Bar text
|
||||
_DefaultChgBarText = _DocVersionConfig.Print_ChangeBarText.ToString();
|
||||
if (!(_DefaultChgBarText.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_DocVersionConfig.Print_ChangeBarText);
|
||||
ppLblChgBarTxtTypeDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxChgBarTxtType.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default User Change Bar Message 1
|
||||
_DefaultChgBarUsrMsg1 = _DocVersionConfig.Print_UserCBMess1;
|
||||
if (!(_DefaultChgBarUsrMsg1.Equals("")))
|
||||
{
|
||||
ppLblChgBarUserMsgOneDefault.Text = string.Format("({0})", _DefaultChgBarUsrMsg1);
|
||||
}
|
||||
|
||||
// Get the default User Change Bar Message 2
|
||||
_DefaultChgBarUsrMsg2 = _DocVersionConfig.Print_UserCBMess2;
|
||||
if (!(_DefaultChgBarUsrMsg2.Equals("")))
|
||||
{
|
||||
ppLblChgBarUserMsgTwoDefault.Text = string.Format("{0}", _DefaultChgBarUsrMsg2);
|
||||
}
|
||||
|
||||
// Get the default RO Graphic file extension
|
||||
_DefaultROGraficFileExtension = _DocVersionConfig.Graphics_defaultext;
|
||||
if (!(_DefaultROGraficFileExtension.Equals("")))
|
||||
{
|
||||
ppLblGraphicFileExtDefault.Text = string.Format("({0})", _DefaultROGraficFileExtension);
|
||||
ppCmbxGrphFileExt.WatermarkText = string.Format("{0}", _DefaultROGraficFileExtension);
|
||||
}
|
||||
|
||||
// Get the default Referenced Objects prefix
|
||||
_DefaultROPrefix = _DocVersionConfig.RODefaults_setpointprefix;
|
||||
if (!(_DefaultROPrefix.Equals("")))
|
||||
{
|
||||
ppLblROPrefixDefault.Text = string.Format("({0})", _DefaultROPrefix);
|
||||
ppCmbxDefROPrefix.WatermarkText = string.Format("{0}", _DefaultROPrefix);
|
||||
}
|
||||
|
||||
// Get the default RO Graphics prefix
|
||||
_DefaultImagePrefix = _DocVersionConfig.RODefaults_graphicsprefix;
|
||||
if (!(_DefaultImagePrefix.Equals("")))
|
||||
{
|
||||
ppLblImagePrefixDefault.Text = string.Format("({0})", _DefaultImagePrefix);
|
||||
ppCmbxDefImgPrefix.WatermarkText = string.Format("{0}", _DefaultImagePrefix);
|
||||
}
|
||||
|
||||
// Get the default Print Pagination
|
||||
_DefaultPagination = _DocVersionConfig.Print_Pagination.ToString();
|
||||
if (!(_DefaultPagination.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_DocVersionConfig.Print_Pagination);
|
||||
ppLblPaginationDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxPagination.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default Watermark
|
||||
_DefaultWatermark = _DocVersionConfig.Print_Watermark.ToString();
|
||||
if (!(_DefaultWatermark.Equals("")))
|
||||
{
|
||||
string tstr = EnumDescConverter.GetEnumDescription(_DocVersionConfig.Print_Watermark);
|
||||
ppLblWatermarkDefault.Text = string.Format("({0})", tstr);
|
||||
ppCmbxWatermark.WatermarkText = string.Format("{0}", tstr);
|
||||
}
|
||||
|
||||
// Get the default Disable Duplex
|
||||
_DefaultDisableDuplex = _DocVersionConfig.Print_DisableDuplex;
|
||||
ppLblAutoDuplexDefault.Text = string.Format("(Duplex {0})", (_DefaultDisableDuplex) ? "OFF" : "ON");
|
||||
|
||||
//// Get the default Format Columns
|
||||
//_DefaultFormatColumns = _FolderConfig.Format_Columns.ToString();
|
||||
//if (!(_DefaultFormatColumns.Equals("")))
|
||||
// folderPropStepEditorColumnsDefault.Text = string.Format("({0})", _DefaultFormatColumns);
|
||||
|
||||
_DocVersionConfig.ParentLookup = false;
|
||||
}
|
||||
|
||||
private void frmVersionsProperties_Load(object sender, EventArgs e)
|
||||
{
|
||||
// populate the a list box of possible graphic file types
|
||||
// supported by .NET
|
||||
//foreach (ImageCodecInfo info in ImageCodecInfo.GetImageDecoders())
|
||||
//{
|
||||
// string st = string.Format("{0} - ({1})", info.FormatDescription, info.FilenameExtension);
|
||||
// comboBoxEx1.Items.Add(st);
|
||||
// // comboBoxEx1.Items.Add(info.FormatDescription);
|
||||
//}
|
||||
|
||||
docVersionConfigBindingSource.DataSource = _DocVersionConfig;
|
||||
|
||||
formatInfoListBindingSource.DataSource = FormatInfoList.Get();
|
||||
imageCodecInfoBindingSource.DataSource = ImageCodecInfo.GetImageDecoders();
|
||||
|
||||
// Get the saved settings for this user
|
||||
//
|
||||
// Get setting telling us whether to display the default values on this property page
|
||||
ppCbShwDefSettings.Checked = (Settings.Default["ShowDefaultVersionProp"] != null) ? Settings.Default.ShowDefaultVersionProp : false;
|
||||
|
||||
// Get the User's property page style "PropPageStyle"
|
||||
// 1 - Button Dialog (default)
|
||||
// 2 - Tab Dialog
|
||||
if ((int)Settings.Default["PropPageStyle"] == 2) // tabbed interface
|
||||
{
|
||||
tcVersions.TabsVisible = true;
|
||||
panVerBtns.Visible = false;
|
||||
this.Width -= panVerBtns.Width;
|
||||
}
|
||||
|
||||
// Get the default values for the property page information
|
||||
FindDefaultValues();
|
||||
|
||||
ppCmbxChangeBarType.DataSource = EnumDetail<DocVersionConfig.PrintChangeBar>.Details();
|
||||
ppCmbxChangeBarType.DisplayMember = "Description";
|
||||
ppCmbxChangeBarType.ValueMember = "EValue";
|
||||
|
||||
ppCmbxChgBarPos.DataSource = EnumDetail<DocVersionConfig.PrintChangeBarLoc>.Details();
|
||||
ppCmbxChgBarPos.DisplayMember = "Description";
|
||||
ppCmbxChgBarPos.ValueMember = "EValue";
|
||||
|
||||
ppCmbxChgBarTxtType.DataSource = EnumDetail<DocVersionConfig.PrintChangeBarText>.Details();
|
||||
ppCmbxChgBarTxtType.DisplayMember = "Description";
|
||||
ppCmbxChgBarTxtType.ValueMember = "EValue";
|
||||
|
||||
ppCmbxWatermark.DataSource = EnumDetail<DocVersionConfig.PrintWatermark>.Details();
|
||||
ppCmbxWatermark.DisplayMember = "Description";
|
||||
ppCmbxWatermark.ValueMember = "EValue";
|
||||
|
||||
ppCmbxPagination.DataSource = EnumDetail<DocVersionConfig.PrintPagination>.Details();
|
||||
ppCmbxPagination.DisplayMember = "Description";
|
||||
ppCmbxPagination.ValueMember = "EValue";
|
||||
|
||||
ppCmbxProcSetType.DataSource = EnumDetail<VersionTypeEnum>.Details();
|
||||
ppCmbxProcSetType.DisplayMember = "Description";
|
||||
ppCmbxProcSetType.ValueMember = "EValue";
|
||||
|
||||
}
|
||||
|
||||
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxFormat.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppBtnFldrDlg_Click(object sender, EventArgs e)
|
||||
{
|
||||
dlgROFolder = new FolderBrowserDialog();
|
||||
if (dlgROFolder.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
ppTxbxRoFoldLoc.Text = dlgROFolder.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
private void ppTxbxRoFoldLoc_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
string tpath = ppTxbxRoFoldLoc.Text + "\\RO.FST";
|
||||
if (File.Exists(tpath))
|
||||
{
|
||||
ROFST rofst = new ROFST(tpath);
|
||||
ROFST.rodbi[] rodblist = rofst.GetRODatabaseList();
|
||||
for (int i = 0; i < rodblist.Length; i++)
|
||||
{
|
||||
string mitem = string.Format("{0} - {1}", rodblist[i].dbiTitle, rodblist[i].dbiAP);
|
||||
switch (rodblist[i].dbiType)
|
||||
{
|
||||
case 7: ppCmbxDefROPrefix.Items.Add(mitem); //cmbxROdbList.Items.Add(mitem); // setpoint
|
||||
break;
|
||||
case 8: ppCmbxDefImgPrefix.Items.Add(mitem); //cmbxIGdbList.Items.Add(mitem); // graphic
|
||||
break;
|
||||
default: // user defined
|
||||
ppCmbxDefROPrefix.Items.Add(mitem); //cmbxROdbList.Items.Add(mitem);
|
||||
ppCmbxDefImgPrefix.Items.Add(mitem);//cmbxIGdbList.Items.Add(mitem);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void ppCmbxGrphFileExt_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxGrphFileExt.SelectedIndex != -1) && _DefaultROGraficFileExtension.Equals(ppCmbxGrphFileExt.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultGrfExt.Focus();
|
||||
ppBtnDefaultGrfExt.PerformClick();
|
||||
}
|
||||
ppBtnDefaultGrfExt.Visible = (ppCmbxGrphFileExt.SelectedValue != null);
|
||||
}
|
||||
|
||||
private void ppBtnDefaultGrfExt_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxGrphFileExt.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxDefROPrefix_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TEMPORARY
|
||||
// Just to simulate selection from the drop down list
|
||||
// Once the DataSource is established, we can use the SelectedValueChanged()
|
||||
//folderPropROPrefixDefault.Visible =
|
||||
ppBtnDefaultROPrefix.Visible = (ppCmbxDefROPrefix.SelectedItem != null);
|
||||
|
||||
}
|
||||
|
||||
private void ppBtnDefaultROPrefix_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxDefROPrefix.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxDefImgPrefix_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TEMPORARY
|
||||
// Just to simulate selection from the drop down list
|
||||
// Once the DataSource is established, we can use the SelectedValueChanged()
|
||||
//folderProptImagePrefixDefault.Visible =
|
||||
ppBtnDefaultImgPrefix.Visible = (ppCmbxDefImgPrefix.SelectedItem != null);
|
||||
}
|
||||
|
||||
private void ppBtnDefaultImgPrefix_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxDefImgPrefix.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxPagination_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
DocVersionConfig.PrintPagination pgtn = (DocVersionConfig.PrintPagination)Enum.Parse(typeof(DocVersionConfig.PrintPagination), _DefaultPagination);
|
||||
if ((ppCmbxPagination.SelectedIndex != -1) &&
|
||||
ppCmbxPagination.SelectedValue.Equals(pgtn))
|
||||
{
|
||||
ppBtnDefPagination.Focus();
|
||||
ppBtnDefPagination.PerformClick();
|
||||
}
|
||||
ppBtnDefPagination.Visible = (ppCmbxPagination.SelectedValue != null);
|
||||
ppLblPaginationDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefPagination.Visible;
|
||||
}
|
||||
|
||||
private void ppBtnDefPagination_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxPagination.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxWatermark_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
DocVersionConfig.PrintWatermark wtr = (DocVersionConfig.PrintWatermark)Enum.Parse(typeof(DocVersionConfig.PrintWatermark), _DefaultWatermark);
|
||||
if ((ppCmbxWatermark.SelectedIndex != -1) &&
|
||||
ppCmbxWatermark.SelectedValue.Equals(wtr))
|
||||
{
|
||||
ppBtnDefWatermark.Focus();
|
||||
ppBtnDefWatermark.PerformClick();
|
||||
}
|
||||
ppBtnDefWatermark.Visible = (ppCmbxWatermark.SelectedValue != null);
|
||||
ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible;
|
||||
}
|
||||
|
||||
private void ppBtnDefWatermark_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxWatermark.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppChbxDisAutoDuplex_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
ppBtnDeftDisAutoDuplx.Visible = (_DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked);
|
||||
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
|
||||
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultFmt.Focus();
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
}
|
||||
ppBtnDefaultFmt.Visible = (ppCmbxFormat.SelectedValue != null);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
|
||||
}
|
||||
|
||||
private void setEnabledUserSpecifiedChgBarCombos(DocVersionConfig.PrintChangeBar pcb)
|
||||
{
|
||||
ppGpbxUserSpecCB.Enabled =
|
||||
ppCmbxChgBarPos.Enabled =
|
||||
ppCmbxChgBarTxtType.Enabled =
|
||||
ppBtnDefaultCbPos.Enabled =
|
||||
ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
|
||||
ppCmbxChangeBarType.SelectedValue.Equals(DocVersionConfig.PrintChangeBar.WithUserSpecified)) ||
|
||||
(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(DocVersionConfig.PrintChangeBar.WithUserSpecified));
|
||||
}
|
||||
|
||||
private void ppCmbxChangeBarType_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
DocVersionConfig.PrintChangeBar pcb = (DocVersionConfig.PrintChangeBar)Enum.Parse(typeof(DocVersionConfig.PrintChangeBar), _DefaultChgBarType);
|
||||
if ((ppCmbxChangeBarType.SelectedIndex != -1) &&
|
||||
ppCmbxChangeBarType.SelectedValue.Equals(pcb))
|
||||
{
|
||||
ppBtnDefaultChgBar.Focus();
|
||||
ppBtnDefaultChgBar.PerformClick();
|
||||
}
|
||||
ppBtnDefaultChgBar.Visible = (ppCmbxChangeBarType.SelectedValue != null);
|
||||
ppLblChangeBarTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultChgBar.Visible;
|
||||
setEnabledUserSpecifiedChgBarCombos(pcb);
|
||||
}
|
||||
|
||||
private void ppBtnDefaultChgBar_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChangeBarType.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppCmbxChgBarPos_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
DocVersionConfig.PrintChangeBarLoc cbl = (DocVersionConfig.PrintChangeBarLoc)Enum.Parse(typeof(DocVersionConfig.PrintChangeBarLoc), _DefaultChgBarLoc);
|
||||
if ((ppCmbxChgBarPos.SelectedIndex != -1) &&
|
||||
ppCmbxChgBarPos.SelectedValue.Equals(cbl))
|
||||
{
|
||||
ppBtnDefaultCbPos.Focus();
|
||||
ppBtnDefaultCbPos.PerformClick();
|
||||
}
|
||||
ppBtnDefaultCbPos.Visible = (ppCmbxChgBarPos.SelectedValue != null);
|
||||
ppLblChgBarPosDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultCbPos.Visible;
|
||||
}
|
||||
|
||||
private void ppBtnDefaultCbPos_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChgBarPos.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void setEnabledUserSpecifiedChgBarText()
|
||||
{
|
||||
ppGpbxUserSpecTxt.Enabled =
|
||||
ppTxbxChangeBarUserMsgOne.Enabled =
|
||||
ppTxbxChangeBarUserMsgTwo.Enabled =
|
||||
ppBtnDefCbTxt1.Enabled =
|
||||
ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
|
||||
ppCmbxChgBarTxtType.SelectedValue.Equals(DocVersionConfig.PrintChangeBarText.UserDef));
|
||||
}
|
||||
|
||||
private void ppCmbxChgBarTxtType_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
DocVersionConfig.PrintChangeBarText cbt = (DocVersionConfig.PrintChangeBarText)Enum.Parse(typeof(DocVersionConfig.PrintChangeBarText), _DefaultChgBarText);
|
||||
if ((ppCmbxChgBarTxtType.SelectedIndex != -1) &&
|
||||
ppCmbxChgBarTxtType.SelectedValue.Equals(cbt))
|
||||
{
|
||||
ppBtnDefCbTxtTyp.Focus();
|
||||
ppBtnDefCbTxtTyp.PerformClick();
|
||||
}
|
||||
ppBtnDefCbTxtTyp.Visible = (ppCmbxChgBarTxtType.SelectedValue != null);
|
||||
ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible;
|
||||
setEnabledUserSpecifiedChgBarText();
|
||||
}
|
||||
|
||||
private void ppBtnDefCbTxtTyp_Click(object sender, EventArgs e)
|
||||
{
|
||||
ppCmbxChgBarTxtType.SelectedIndex = -1;
|
||||
}
|
||||
|
||||
private void ppTxbxChangeBarUserMsgOne_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ppBtnDefCbTxt1.Visible = (ppTxbxChangeBarUserMsgOne.Text != null);
|
||||
}
|
||||
|
||||
private void ppTxbxChangeBarUserMsgTwo_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ppBtnDefCbTxt2.Visible = (ppTxbxChangeBarUserMsgTwo.Text != null);
|
||||
}
|
||||
|
||||
private void defaultSettingsVisiblity()
|
||||
{
|
||||
ppLblChgBarUserMsgOneDefault.Visible =
|
||||
ppLblChgBarUserMsgTwoDefault.Visible =
|
||||
ppLblDefSettingsInfo.Visible = ppCbShwDefSettings.Checked;
|
||||
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
ppLblChangeBarTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultChgBar.Visible;
|
||||
ppLblChgBarPosDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultCbPos.Visible;
|
||||
ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible;
|
||||
ppLblGraphicFileExtDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultGrfExt.Visible;
|
||||
ppLblROPrefixDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultROPrefix.Visible;
|
||||
ppLblImagePrefixDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultImgPrefix.Visible;
|
||||
ppLblPaginationDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefPagination.Visible;
|
||||
ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible;
|
||||
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
|
||||
}
|
||||
|
||||
private void ppCbShwDefSettings_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
|
||||
private void tabGeneral_Layout(object sender, LayoutEventArgs e)
|
||||
{
|
||||
if (!_Initializing)
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
|
||||
private void btnGeneral_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcVersions.SelectedTab = tiGeneral;
|
||||
btnGeneral.Checked = true;
|
||||
}
|
||||
|
||||
private void btnRefObjs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcVersions.SelectedTab = tiRefObjs;
|
||||
btnRefObjs.Checked = true;
|
||||
}
|
||||
|
||||
private void btnOutputSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcVersions.SelectedTab = tiOutputSettings;
|
||||
btnOutputSettings.Checked = true;
|
||||
}
|
||||
|
||||
private void btnFmtSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcVersions.SelectedTab = tiFmtSettings;
|
||||
btnFmtSettings.Checked = true;
|
||||
}
|
||||
|
||||
private void btnLibDocs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcVersions.SelectedTab = tiLibDocs;
|
||||
btnLibDocs.Checked = true;
|
||||
}
|
||||
|
||||
private void ClearAllCheckedButtons()
|
||||
{
|
||||
btnGeneral.Checked = false;
|
||||
btnRefObjs.Checked = false;
|
||||
btnOutputSettings.Checked = false;
|
||||
btnFmtSettings.Checked = false;
|
||||
btnLibDocs.Checked = false;
|
||||
}
|
||||
}
|
||||
}
|
226
PROMS/VEPROMS_UI/frmVersionsProperties.resx
Normal file
226
PROMS/VEPROMS_UI/frmVersionsProperties.resx
Normal file
@ -0,0 +1,226 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>521, 17</value>
|
||||
</metadata>
|
||||
<metadata name="docVersionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>269, 17</value>
|
||||
</metadata>
|
||||
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>660, 17</value>
|
||||
</metadata>
|
||||
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
|
||||
<value>Allows you to specify the default format to use for all procedures in this set.
|
||||
|
||||
If this procedure set is using the format inherited from the tree node above (its parent), then that format title will be displayed using a grey italics font.
|
||||
|
||||
When a format other than the inherited one is selected, a button labeled "Default" is displayed to right. If the "Show Default Settings" checkbox is check, the title of the inherited format (default format) is displayed below the list box.
|
||||
|
||||
Pressing the "Default" button will revert back to using the inherited format.
|
||||
</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxtTyp.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Text Type selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Text Type (below the Text Type selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefaultCbPos.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Position selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Position (below the Position selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxt2.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Custom Message Line Two selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Custom Message (below the Line Two selection box).</value>
|
||||
</data>
|
||||
<data name="ppBtnDefCbTxt1.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Change Bar Custom Message Line One selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" Change Bar Custom Message (below the Line One selection box).</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="ppBtnFldrDlg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEwAA
|
||||
CxMBAJqcGAAAAn9JREFUOE+lk2tI01EYxhf0oU8WqVEIRpaIBWJgSPUhROmippS3QkkTylsXDMW8ts3b
|
||||
1G06daVibuqaOq0sxbBCKBSJ0PJCialZUFSKqaGSt1//TbIsww8deOBwznl+5zkv71kHiP5rGAFrKb1Q
|
||||
5ypR6bmaVU6m2kCiXJv007Om2XgwJEaNT4QiyDi/GF9mKRVgsWkav+CYQkR1utwAQfypphqZ4l/JIhOL
|
||||
jvtGKfCOyDMB6O/WMjNea9L3MT1zIxoM5QrqdWnS1SA+kUq8w1V4hhUgqq1QMj1WtcK88KmIud5oqsqy
|
||||
qCzOQFMopSQvhRvyBApkcQLzV91E1docpr9ol29eFMz0J0Bv2Kr6C3CrVMa3jyWm2EZzc12OSQ8M2TTo
|
||||
ZdytzMCgSUVfIqFcfY2bqiSKlQmoc+JNaUSVJRlMvsvHGHuoVUx9lZKFIQkMp63UW2FtMBH6YuBVFF01
|
||||
/lwO9aoQadSpTAxkwXs596oVtD+ULx36/Qkvg6HDl/k2D2YeufCmwoELZ45MCIA9olKVmK+vJQy3JVOv
|
||||
l7M4KIae8CVAV6hgPMV8uxczLYeZbDrIaN1eJBG2nHazyDN1cZEymdHueG7rcuh8KiTpixYA56AziMVn
|
||||
J5h9coyp5kOM1TvxudqejvRNBHrY4GRnZmcCqLMT6GlJ4Y4uGwZS4IUQ97kfs62eTD12YbzBmRGDAx+0
|
||||
u+iVmyMO24njbqvG5VbOz4yjtjyL3vuRdOSKltUuX0+LbAON0o3UJFmiibPi+pXtBLrvWHR2tHZfBuSm
|
||||
xZIrPk9mfAiJlwKMleWsvxsnj+7H9YAD+xxssbexwnqbBVs2m7HV3GxlI631E9fa/wGRpaRpa3TTbQAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="ppBtnDefaultGrfExt.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Graphic File Extension selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" graphic file extension setting (below the Graphic File Extension selection box).</value>
|
||||
</data>
|
||||
<metadata name="imageCodecInfoBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 57</value>
|
||||
</metadata>
|
||||
<data name="ppBtnPDFLoc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEwAA
|
||||
CxMBAJqcGAAAAjlJREFUOE/Nk11IU2EYx2dgH6AQUthFUIFYBoW7SBkz7CIsFznCbLIuRg28cRdT2rR2
|
||||
2rqYO5xtacelQdEcs6LS0gbLJskQR4UxkEFRgS1X2XChk8qatv6975HNZXYR3XTg4eV9Pn7P/3k4bxYA
|
||||
0T99FJAya9dwuIHzTJXUtI4v8/tX8gvNMxOlSkfP7OcEcsS6yEYJs4rG6Jnpz8z/BUC6+8/wA5DXX0Wx
|
||||
3IadMkuMJvDXA1jJnwKlFZg6B/EtsYB7I6+h40ewbX8L1u7WZ6X8nkAYrHsMBRUWUrs0tgBobvPmmTp8
|
||||
UBt7UVl3BbvkdkiVF1FS2/lKbbgJLeeBorEbO2QsAZuhPns7L62ASM9m2n2Yin9FfC6JwLM4VCYvCg+y
|
||||
WL/HMKo/76Ed8WluAcOhaRzT30HBATatQkQAhkauX0h6HPoAm/spDmtuIL/MCFLcTAGhl5MIvvgIzjWK
|
||||
Gn0vNkkZnLJ7jcISbc6hGU1LP6rquyCu5lFUyaKwwox8CUMVhLXs3cXYURI7ZMXmvQw2lDahVHEhIQAs
|
||||
l4eQTP7ARPQLHjx5B7MziK37KHxpUSeNPXgfnUU4EkOffxwa7iGKZIvLFBn4+5if/06K38LeHYTqnO8/
|
||||
AxD56+gIkckZDD56A8etMVTr+rCd7EoY4cRp13Nl0zWUqzogqW2DRNGKLeXGKNlDDk0gxauJxWR1lyaq
|
||||
NE6UHW+H+IgVucUN07+9heX/eebd4R4Q3gY5sxVa1xpiuX8F+BP8Jz2Bipm/4ch1AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ppBtnDeftDisAutoDuplx.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Disable Automatic Duplexing selection back to using the parent's (default) setting.
|
||||
|
||||
Check "Show Default Settings" to display the "default" duplexing setting (below the Disable Automatic Duplexing check box).</value>
|
||||
</data>
|
||||
<data name="ppCmbxPagination.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows you to select the way VE-PROMS performs its pagination function.
|
||||
|
||||
Free - pagination is done on the fly, thus a total page count is not available.
|
||||
|
||||
Fixed - pagination is done only when you select to do so. This information is saved and used each time VE-PROMS prints.
|
||||
|
||||
Auto - pagination is done when VE-PROMS senses a change was made to the procedure since the last time the procedure was repaginated.</value>
|
||||
</data>
|
||||
<data name="ppGpbxUserSpecCB.SuperTooltip" xml:space="preserve">
|
||||
<value>- Select the position of the change bar with respect to the changed text
|
||||
|
||||
- Select the Type of Text to be placed next to the change bars
|
||||
|
||||
- Type in your own text to be placed next to the change bars.</value>
|
||||
</data>
|
||||
<metadata name="dlgROFolder.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>263, 57</value>
|
||||
</metadata>
|
||||
</root>
|
BIN
PROMS/VEPROMS_UI/veproms.ico
Normal file
BIN
PROMS/VEPROMS_UI/veproms.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
x
Reference in New Issue
Block a user