This commit is contained in:
parent
1ef4a4ff3d
commit
3ae2116de3
@ -371,6 +371,26 @@ namespace VEPROMS.CSLA.Library
|
||||
OnPropertyChanged("Section_AutoGen");
|
||||
}
|
||||
}
|
||||
[Category("Section")]
|
||||
//PROPGRID: Hide Subsection PH
|
||||
[Browsable(false)]
|
||||
[DisplayName("Section PrintHdr")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
[Description("Section PrintHdr")]
|
||||
public string Section_PrintHdr
|
||||
{
|
||||
get
|
||||
{
|
||||
// if null - return a "Y"
|
||||
string tmp = _Xp["Section", "PrintHdr"];
|
||||
return tmp == null || tmp == "" ? "Y" : tmp;
|
||||
}
|
||||
set
|
||||
{
|
||||
_Xp["Section", "PrintHdr"] = value;
|
||||
OnPropertyChanged("Section_PrintHdr");
|
||||
}
|
||||
}
|
||||
[Browsable(false)]
|
||||
[DisplayName("Section OriginalSteps")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
@ -637,7 +657,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
// if null - return a "Y"
|
||||
string tmp = _Xp["SubSection", "Edit"];
|
||||
return tmp == null || tmp == "" ? "Y" : tmp;
|
||||
return tmp == null || tmp == "" ? "N" : tmp;
|
||||
}
|
||||
set
|
||||
{
|
||||
@ -645,26 +665,7 @@ namespace VEPROMS.CSLA.Library
|
||||
OnPropertyChanged("SubSection_Edit");
|
||||
}
|
||||
}
|
||||
[Category("SubSection")]
|
||||
//PROPGRID: Hide Subsection PH
|
||||
[Browsable(false)]
|
||||
[DisplayName("SubSection PH")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
[Description("SubSection PH")]
|
||||
public string SubSection_PH
|
||||
{
|
||||
get
|
||||
{
|
||||
// if null - return a "Y"
|
||||
string tmp = _Xp["SubSection", "PH"];
|
||||
return tmp==null||tmp==""?"Y":tmp;
|
||||
}
|
||||
set
|
||||
{
|
||||
_Xp["SubSection", "PH"] = value;
|
||||
OnPropertyChanged("SubSection_PH");
|
||||
}
|
||||
}
|
||||
|
||||
[Category("SubSection")]
|
||||
//PROPGRID: Hide Subsection AutoIndent
|
||||
[Browsable(false)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user