This commit is contained in:
parent
66e7690661
commit
5a924f4a0a
94
PROMS/VEPROMS.CSLA.Library/Config/ConfigEnum.cs
Normal file
94
PROMS/VEPROMS.CSLA.Library/Config/ConfigEnum.cs
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using DescriptiveEnum;
|
||||||
|
|
||||||
|
namespace VEPROMS.CSLA.Library
|
||||||
|
{
|
||||||
|
//class ConfigEnum
|
||||||
|
//{
|
||||||
|
[TypeConverter(typeof(EnumDescConverter))]
|
||||||
|
public enum PrintWatermark : int
|
||||||
|
{
|
||||||
|
None = 0, Reference, Draft, Master, Sample,
|
||||||
|
[Description("Information Only")]
|
||||||
|
InformationOnly
|
||||||
|
}
|
||||||
|
// Change Bar Use from 16-bit code:
|
||||||
|
// No Default
|
||||||
|
// Without Change Bars
|
||||||
|
// With Default Change Bars
|
||||||
|
// With User Specified Change Bars
|
||||||
|
[TypeConverter(typeof(EnumDescConverter))]
|
||||||
|
public enum PrintChangeBar : int
|
||||||
|
{
|
||||||
|
[Description("No Default, Select Before Printing")]
|
||||||
|
SelectBeforePrinting = 0,
|
||||||
|
[Description("Without Change Bars")]
|
||||||
|
Without,
|
||||||
|
[Description("With Default Change Bars")]
|
||||||
|
WithDefault,
|
||||||
|
[Description("Use Custom Change Bars")]
|
||||||
|
WithUserSpecified
|
||||||
|
}
|
||||||
|
// User Specified Change Bar Location from16-bit code:
|
||||||
|
// With Text
|
||||||
|
// Outside Box
|
||||||
|
// AER on LEFT, RNO on Right
|
||||||
|
// To the Left of Text
|
||||||
|
[TypeConverter(typeof(EnumDescConverter))]
|
||||||
|
public enum PrintChangeBarLoc : int
|
||||||
|
{
|
||||||
|
[Description("With Text")]
|
||||||
|
WithText = 0,
|
||||||
|
[Description("Outside Box")]
|
||||||
|
OutsideBox,
|
||||||
|
[Description("AER on Left RNO on Right")]
|
||||||
|
AERleftRNOright,
|
||||||
|
[Description("To the Left of the Text")]
|
||||||
|
LeftOfText
|
||||||
|
}
|
||||||
|
// Change Bar Text from16-bit code:
|
||||||
|
// Date and Change ID
|
||||||
|
// Revision Number
|
||||||
|
// Change ID
|
||||||
|
// No Change Bar Message
|
||||||
|
// User Defined Message
|
||||||
|
[TypeConverter(typeof(EnumDescConverter))]
|
||||||
|
public enum PrintChangeBarText : int
|
||||||
|
{
|
||||||
|
[Description("Date and Change ID")]
|
||||||
|
DateChgID = 0,
|
||||||
|
[Description("Revision Number")]
|
||||||
|
RevNum,
|
||||||
|
[Description("Change ID")]
|
||||||
|
ChgID,
|
||||||
|
[Description("No Change Bar Text")]
|
||||||
|
None,
|
||||||
|
[Description("Custom Change Bar Text")]
|
||||||
|
UserDef
|
||||||
|
}
|
||||||
|
[TypeConverter(typeof(EnumDescConverter))]
|
||||||
|
public enum PrintPagination : int
|
||||||
|
{
|
||||||
|
Free = 0, Fixed,
|
||||||
|
[Description("Automatic")]
|
||||||
|
Auto
|
||||||
|
}
|
||||||
|
[TypeConverter(typeof(EnumDescConverter))]
|
||||||
|
public enum FormatColumns : int
|
||||||
|
{
|
||||||
|
Default = 0,
|
||||||
|
[Description("Single Column")]
|
||||||
|
OneColumn,
|
||||||
|
[Description("Dual Column")]
|
||||||
|
TwoColumn,
|
||||||
|
[Description("Triple Column")]
|
||||||
|
ThreeColumn,
|
||||||
|
[Description("Quad Column")]
|
||||||
|
FourColumns
|
||||||
|
}
|
||||||
|
//
|
||||||
|
//}
|
||||||
|
}
|
@ -284,13 +284,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("Print_Printer");
|
OnPropertyChanged("Print_Printer");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintWatermark : int
|
//public enum PrintWatermark : int
|
||||||
{
|
//{
|
||||||
None = 0, Reference, Draft, Master, Sample,
|
// None = 0, Reference, Draft, Master, Sample,
|
||||||
[Description("Information Only")]
|
// [Description("Information Only")]
|
||||||
InformationOnly
|
// InformationOnly
|
||||||
}
|
//}
|
||||||
|
|
||||||
[Category("Print Settings")]
|
[Category("Print Settings")]
|
||||||
[DisplayName("Watermark")]
|
[DisplayName("Watermark")]
|
||||||
@ -366,23 +366,23 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("Print_DisableDuplex");
|
OnPropertyChanged("Print_DisableDuplex");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Change Bar Use from 16-bit code:
|
//// Change Bar Use from 16-bit code:
|
||||||
// No Default
|
//// No Default
|
||||||
// Without Change Bars
|
//// Without Change Bars
|
||||||
// With Default Change Bars
|
//// With Default Change Bars
|
||||||
// With User Specified Change Bars
|
//// With User Specified Change Bars
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBar : int
|
//public enum PrintChangeBar : int
|
||||||
{
|
//{
|
||||||
[Description("No Default, Select Before Printing")]
|
// [Description("No Default, Select Before Printing")]
|
||||||
SelectBeforePrinting = 0,
|
// SelectBeforePrinting = 0,
|
||||||
[Description("Without Change Bars")]
|
// [Description("Without Change Bars")]
|
||||||
Without,
|
// Without,
|
||||||
[Description("With Default Change Bars")]
|
// [Description("With Default Change Bars")]
|
||||||
WithDefault,
|
// WithDefault,
|
||||||
[Description("Use Custom Change Bars")]
|
// [Description("Use Custom Change Bars")]
|
||||||
WithUserSpecified
|
// WithUserSpecified
|
||||||
}
|
//}
|
||||||
|
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change Bars")]
|
[DisplayName("Change Bars")]
|
||||||
@ -424,23 +424,23 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// User Specified Change Bar Location from16-bit code:
|
//// User Specified Change Bar Location from16-bit code:
|
||||||
// With Text
|
//// With Text
|
||||||
// Outside Box
|
//// Outside Box
|
||||||
// AER on LEFT, RNO on Right
|
//// AER on LEFT, RNO on Right
|
||||||
// To the Left of Text
|
//// To the Left of Text
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBarLoc : int
|
//public enum PrintChangeBarLoc : int
|
||||||
{
|
//{
|
||||||
[Description("With Text")]
|
// [Description("With Text")]
|
||||||
WithText = 0,
|
// WithText = 0,
|
||||||
[Description("Outside Box")]
|
// [Description("Outside Box")]
|
||||||
OutsideBox,
|
// OutsideBox,
|
||||||
[Description("AER on Left RNO on Right")]
|
// [Description("AER on Left RNO on Right")]
|
||||||
AERleftRNOright,
|
// AERleftRNOright,
|
||||||
[Description("To the Left of the Text")]
|
// [Description("To the Left of the Text")]
|
||||||
LeftOfText
|
// LeftOfText
|
||||||
}
|
//}
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change Bar Position")]
|
[DisplayName("Change Bar Position")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -482,26 +482,26 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Change Bar Text from16-bit code:
|
//// Change Bar Text from16-bit code:
|
||||||
// Date and Change ID
|
//// Date and Change ID
|
||||||
// Revision Number
|
//// Revision Number
|
||||||
// Change ID
|
//// Change ID
|
||||||
// No Change Bar Message
|
//// No Change Bar Message
|
||||||
// User Defined Message
|
//// User Defined Message
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBarText : int
|
//public enum PrintChangeBarText : int
|
||||||
{
|
//{
|
||||||
[Description("Date and Change ID")]
|
// [Description("Date and Change ID")]
|
||||||
DateChgID = 0,
|
// DateChgID = 0,
|
||||||
[Description("Revision Number")]
|
// [Description("Revision Number")]
|
||||||
RevNum,
|
// RevNum,
|
||||||
[Description("Change ID")]
|
// [Description("Change ID")]
|
||||||
ChgID,
|
// ChgID,
|
||||||
[Description("No Change Bar Text")]
|
// [Description("No Change Bar Text")]
|
||||||
None,
|
// None,
|
||||||
[Description("Custom Change Bar Text")]
|
// [Description("Custom Change Bar Text")]
|
||||||
UserDef
|
// UserDef
|
||||||
}
|
//}
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change Bar Text Type")]
|
[DisplayName("Change Bar Text Type")]
|
||||||
[Description("Change Bar Text")]
|
[Description("Change Bar Text")]
|
||||||
@ -639,10 +639,10 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("Print_UserFormat");
|
OnPropertyChanged("Print_UserFormat");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public enum PrintPagination : int
|
//public enum PrintPagination : int
|
||||||
{
|
//{
|
||||||
Free = 0, Fixed, Auto
|
// Free = 0, Fixed, Auto
|
||||||
}
|
//}
|
||||||
[Category("Print Settings")]
|
[Category("Print Settings")]
|
||||||
[DisplayName("Pagination")]
|
[DisplayName("Pagination")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
|
@ -558,20 +558,20 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region FormatCategory
|
#region FormatCategory
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum FormatColumns : int
|
//public enum FormatColumns : int
|
||||||
{
|
//{
|
||||||
[Description("Format Default")]
|
// [Description("Format Default")]
|
||||||
Default = 0,
|
// Default = 0,
|
||||||
[Description("Single Column")]
|
// [Description("Single Column")]
|
||||||
OneColumn,
|
// OneColumn,
|
||||||
[Description("Dual Column")]
|
// [Description("Dual Column")]
|
||||||
TwoColumn,
|
// TwoColumn,
|
||||||
[Description("Triple Column")]
|
// [Description("Triple Column")]
|
||||||
ThreeColumn,
|
// ThreeColumn,
|
||||||
[Description("Quad Column")]
|
// [Description("Quad Column")]
|
||||||
FourColumns
|
// FourColumns
|
||||||
}
|
//}
|
||||||
[Category("Editor Settings")]
|
[Category("Editor Settings")]
|
||||||
[DisplayName("Step Editor Columns")]
|
[DisplayName("Step Editor Columns")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -649,10 +649,10 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("Print_NumCopies");
|
OnPropertyChanged("Print_NumCopies");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public enum PrintPagination : int
|
//public enum PrintPagination : int
|
||||||
{
|
//{
|
||||||
Free = 0, Fixed, Auto
|
// Free = 0, Fixed, Auto
|
||||||
}
|
//}
|
||||||
[Category("Print Settings")]
|
[Category("Print Settings")]
|
||||||
[DisplayName("Pagination")]
|
[DisplayName("Pagination")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -690,13 +690,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("Print_Pagination");
|
OnPropertyChanged("Print_Pagination");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintWatermark : int
|
//public enum PrintWatermark : int
|
||||||
{
|
//{
|
||||||
None = 0, Reference, Draft, Master, Sample,
|
// None = 0, Reference, Draft, Master, Sample,
|
||||||
[Description("Information Only")]
|
// [Description("Information Only")]
|
||||||
InformationOnly
|
// InformationOnly
|
||||||
}
|
//}
|
||||||
|
|
||||||
[Category("Print Settings")]
|
[Category("Print Settings")]
|
||||||
[DisplayName("Watermark")]
|
[DisplayName("Watermark")]
|
||||||
@ -777,18 +777,18 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// Without Change Bars
|
// Without Change Bars
|
||||||
// With Default Change Bars
|
// With Default Change Bars
|
||||||
// With User Specified Change Bars
|
// With User Specified Change Bars
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBar : int
|
//public enum PrintChangeBar : int
|
||||||
{
|
//{
|
||||||
[Description("Select Before Printing")]
|
// [Description("Select Before Printing")]
|
||||||
SelectBeforePrinting = 0,
|
// SelectBeforePrinting = 0,
|
||||||
[Description("Without Change Bars")]
|
// [Description("Without Change Bars")]
|
||||||
Without,
|
// Without,
|
||||||
[Description("With Default Change Bars")]
|
// [Description("With Default Change Bars")]
|
||||||
WithDefault,
|
// WithDefault,
|
||||||
[Description("Use Custom Change Bars")]
|
// [Description("Use Custom Change Bars")]
|
||||||
WithUserSpecified
|
// WithUserSpecified
|
||||||
}
|
//}
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change Bar")]
|
[DisplayName("Change Bar")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -831,18 +831,18 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// Outside Box
|
// Outside Box
|
||||||
// AER on LEFT, RNO on Right
|
// AER on LEFT, RNO on Right
|
||||||
// To the Left of Text
|
// To the Left of Text
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBarLoc : int
|
//public enum PrintChangeBarLoc : int
|
||||||
{
|
//{
|
||||||
[Description("With Text")]
|
// [Description("With Text")]
|
||||||
WithText = 0,
|
// WithText = 0,
|
||||||
[Description("Outside Box")]
|
// [Description("Outside Box")]
|
||||||
OutsideBox,
|
// OutsideBox,
|
||||||
[Description("AER on Left RNO on Right")]
|
// [Description("AER on Left RNO on Right")]
|
||||||
AERleftRNOright,
|
// AERleftRNOright,
|
||||||
[Description("To the Left of the Text")]
|
// [Description("To the Left of the Text")]
|
||||||
LeftOfText
|
// LeftOfText
|
||||||
}
|
//}
|
||||||
|
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change Bar Position")]
|
[DisplayName("Change Bar Position")]
|
||||||
@ -888,20 +888,20 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// Change ID
|
// Change ID
|
||||||
// No Change Bar Message
|
// No Change Bar Message
|
||||||
// User Defined Message
|
// User Defined Message
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBarText : int
|
//public enum PrintChangeBarText : int
|
||||||
{
|
//{
|
||||||
[Description("Date and Change ID")]
|
// [Description("Date and Change ID")]
|
||||||
DateChgID = 0,
|
// DateChgID = 0,
|
||||||
[Description("Revision Number")]
|
// [Description("Revision Number")]
|
||||||
RevNum,
|
// RevNum,
|
||||||
[Description("Change ID")]
|
// [Description("Change ID")]
|
||||||
ChgID,
|
// ChgID,
|
||||||
[Description("No Change Bar Text")]
|
// [Description("No Change Bar Text")]
|
||||||
None,
|
// None,
|
||||||
[Description("Custom Change Bar Text")]
|
// [Description("Custom Change Bar Text")]
|
||||||
UserDef
|
// UserDef
|
||||||
}
|
//}
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change bar Text Type")]
|
[DisplayName("Change bar Text Type")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
|
@ -196,19 +196,19 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region FormatCategory
|
#region FormatCategory
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum FormatColumns : int
|
//public enum FormatColumns : int
|
||||||
{
|
//{
|
||||||
Default = 0,
|
// Default = 0,
|
||||||
[Description("Single Column")]
|
// [Description("Single Column")]
|
||||||
OneColumn,
|
// OneColumn,
|
||||||
[Description("Dual Column")]
|
// [Description("Dual Column")]
|
||||||
TwoColumn,
|
// TwoColumn,
|
||||||
[Description("Triple Column")]
|
// [Description("Triple Column")]
|
||||||
ThreeColumn,
|
// ThreeColumn,
|
||||||
[Description("Quad Column")]
|
// [Description("Quad Column")]
|
||||||
FourColumns
|
// FourColumns
|
||||||
}
|
//}
|
||||||
[Category("General")]
|
[Category("General")]
|
||||||
[DisplayName("Default Column Mode")]
|
[DisplayName("Default Column Mode")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -286,12 +286,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("Print_NumCopies");
|
OnPropertyChanged("Print_NumCopies");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public enum PrintPagination : int
|
//public enum PrintPagination : int
|
||||||
{
|
//{
|
||||||
Free = 0, Fixed,
|
// Free = 0, Fixed,
|
||||||
[Description("Automatic")]
|
// [Description("Automatic")]
|
||||||
Auto
|
// Auto
|
||||||
}
|
//}
|
||||||
[Category("Print Settings")]
|
[Category("Print Settings")]
|
||||||
[DisplayName("Pagination")]
|
[DisplayName("Pagination")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -329,13 +329,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("Print_Pagination");
|
OnPropertyChanged("Print_Pagination");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintWatermark : int
|
//public enum PrintWatermark : int
|
||||||
{
|
//{
|
||||||
None = 0, Reference, Draft, Master, Sample,
|
// None = 0, Reference, Draft, Master, Sample,
|
||||||
[Description("Information Only")]
|
// [Description("Information Only")]
|
||||||
InformationOnly
|
// InformationOnly
|
||||||
}
|
//}
|
||||||
[Category("Print Settings")]
|
[Category("Print Settings")]
|
||||||
[DisplayName("Watermark")]
|
[DisplayName("Watermark")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -415,18 +415,18 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// Without Change Bars
|
// Without Change Bars
|
||||||
// With Default Change Bars
|
// With Default Change Bars
|
||||||
// With User Specified Change Bars
|
// With User Specified Change Bars
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBar : int
|
//public enum PrintChangeBar : int
|
||||||
{
|
//{
|
||||||
[Description("Select Before Printing")]
|
// [Description("Select Before Printing")]
|
||||||
SelectBeforePrinting = 0,
|
// SelectBeforePrinting = 0,
|
||||||
[Description("Without Change Bars")]
|
// [Description("Without Change Bars")]
|
||||||
Without,
|
// Without,
|
||||||
[Description("With Default Change Bars")]
|
// [Description("With Default Change Bars")]
|
||||||
WithDefault,
|
// WithDefault,
|
||||||
[Description("Use Custom Change Bars")]
|
// [Description("Use Custom Change Bars")]
|
||||||
WithUserSpecified
|
// WithUserSpecified
|
||||||
}
|
//}
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change Bar")]
|
[DisplayName("Change Bar")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -469,18 +469,18 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// Outside Box
|
// Outside Box
|
||||||
// AER on LEFT, RNO on Right
|
// AER on LEFT, RNO on Right
|
||||||
// To the Left of Text
|
// To the Left of Text
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBarLoc : int
|
//public enum PrintChangeBarLoc : int
|
||||||
{
|
//{
|
||||||
[Description("With Text")]
|
// [Description("With Text")]
|
||||||
WithText = 0,
|
// WithText = 0,
|
||||||
[Description("Outside Box")]
|
// [Description("Outside Box")]
|
||||||
OutsideBox,
|
// OutsideBox,
|
||||||
[Description("AER on Left RNO on Right")]
|
// [Description("AER on Left RNO on Right")]
|
||||||
AERleftRNOright,
|
// AERleftRNOright,
|
||||||
[Description("To the Left of the Text")]
|
// [Description("To the Left of the Text")]
|
||||||
LeftOfText
|
// LeftOfText
|
||||||
}
|
//}
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change Bar Position")]
|
[DisplayName("Change Bar Position")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
@ -525,20 +525,20 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// Change ID
|
// Change ID
|
||||||
// No Change Bar Message
|
// No Change Bar Message
|
||||||
// User Defined Message
|
// User Defined Message
|
||||||
[TypeConverter(typeof(EnumDescConverter))]
|
//[TypeConverter(typeof(EnumDescConverter))]
|
||||||
public enum PrintChangeBarText : int
|
//public enum PrintChangeBarText : int
|
||||||
{
|
//{
|
||||||
[Description("Date and Change ID")]
|
// [Description("Date and Change ID")]
|
||||||
DateChgID = 0,
|
// DateChgID = 0,
|
||||||
[Description("Revision Number")]
|
// [Description("Revision Number")]
|
||||||
RevNum,
|
// RevNum,
|
||||||
[Description("Change ID")]
|
// [Description("Change ID")]
|
||||||
ChgID,
|
// ChgID,
|
||||||
[Description("No Change Bar Text")]
|
// [Description("No Change Bar Text")]
|
||||||
None,
|
// None,
|
||||||
[Description("Custom Change Bar Text")]
|
// [Description("Custom Change Bar Text")]
|
||||||
UserDef
|
// UserDef
|
||||||
}
|
//}
|
||||||
[Category("Format Settings")]
|
[Category("Format Settings")]
|
||||||
[DisplayName("Change Bar Text Type")]
|
[DisplayName("Change Bar Text Type")]
|
||||||
[RefreshProperties(RefreshProperties.All)]
|
[RefreshProperties(RefreshProperties.All)]
|
||||||
|
@ -958,7 +958,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
#region ProcedureConfig
|
#region ProcedureConfig
|
||||||
[NonSerialized]
|
[NonSerialized]
|
||||||
private ProcedureConfig _ProcedureConfig = null;
|
private ProcedureConfig _ProcedureConfig = null;
|
||||||
public ProcedureConfig.PrintChangeBar PrintChangeBar
|
public PrintChangeBar PrintChangeBar
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
@ -966,7 +966,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return _ProcedureConfig.Print_ChangeBar;
|
return _ProcedureConfig.Print_ChangeBar;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public ProcedureConfig.PrintChangeBarLoc PrintChangeBarLoc
|
public PrintChangeBarLoc PrintChangeBarLoc
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
@ -974,7 +974,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return _ProcedureConfig.Print_ChangeBarLoc;
|
return _ProcedureConfig.Print_ChangeBarLoc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public ProcedureConfig.PrintChangeBarText PrintChangeBarText
|
public PrintChangeBarText PrintChangeBarText
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
@ -1485,6 +1485,22 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private DocVersionInfo _MyDocVersion = null;
|
||||||
|
|
||||||
|
public DocVersionInfo MyDocVersion
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_MyDocVersion == null)
|
||||||
|
{
|
||||||
|
if (ActiveParent is DocVersionInfo)
|
||||||
|
_MyDocVersion = ActiveParent as DocVersionInfo;
|
||||||
|
else
|
||||||
|
_MyDocVersion = (ActiveParent as ItemInfo).MyDocVersion;
|
||||||
|
}
|
||||||
|
return _MyDocVersion;
|
||||||
|
}
|
||||||
|
}
|
||||||
private IVEDrillDownReadOnly _ActiveParent = null;
|
private IVEDrillDownReadOnly _ActiveParent = null;
|
||||||
public IVEDrillDownReadOnly MyActiveParent { get { return _ActiveParent; } }
|
public IVEDrillDownReadOnly MyActiveParent { get { return _ActiveParent; } }
|
||||||
public IVEDrillDownReadOnly ActiveParent
|
public IVEDrillDownReadOnly ActiveParent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user