This commit is contained in:
2010-07-23 15:58:52 +00:00
parent 66e7690661
commit 5a924f4a0a
5 changed files with 305 additions and 195 deletions

View File

@@ -284,13 +284,13 @@ namespace VEPROMS.CSLA.Library
OnPropertyChanged("Print_Printer");
}
}
[TypeConverter(typeof(EnumDescConverter))]
public enum PrintWatermark : int
{
None = 0, Reference, Draft, Master, Sample,
[Description("Information Only")]
InformationOnly
}
//[TypeConverter(typeof(EnumDescConverter))]
//public enum PrintWatermark : int
//{
// None = 0, Reference, Draft, Master, Sample,
// [Description("Information Only")]
// InformationOnly
//}
[Category("Print Settings")]
[DisplayName("Watermark")]
@@ -366,23 +366,23 @@ namespace VEPROMS.CSLA.Library
OnPropertyChanged("Print_DisableDuplex");
}
}
// 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
}
//// 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
//}
[Category("Format Settings")]
[DisplayName("Change Bars")]
@@ -424,23 +424,23 @@ namespace VEPROMS.CSLA.Library
}
}
}
// 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
}
//// 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
//}
[Category("Format Settings")]
[DisplayName("Change Bar Position")]
[RefreshProperties(RefreshProperties.All)]
@@ -482,26 +482,26 @@ namespace VEPROMS.CSLA.Library
}
}
// 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
}
//// 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
//}
[Category("Format Settings")]
[DisplayName("Change Bar Text Type")]
[Description("Change Bar Text")]
@@ -639,10 +639,10 @@ namespace VEPROMS.CSLA.Library
OnPropertyChanged("Print_UserFormat");
}
}
public enum PrintPagination : int
{
Free = 0, Fixed, Auto
}
//public enum PrintPagination : int
//{
// Free = 0, Fixed, Auto
//}
[Category("Print Settings")]
[DisplayName("Pagination")]
[RefreshProperties(RefreshProperties.All)]