Chnaged code to support ability to make working draft a multiunit working draft
Changed History Start Date property of revision configuration to 24 hour format
This commit is contained in:
parent
99d6f75735
commit
f7806951c9
@ -1714,6 +1714,11 @@ OnPropertyChanged("Default_BkColor");
|
|||||||
xd.LoadXml(xml);
|
xd.LoadXml(xml);
|
||||||
XmlNode pn = _Xp.XmlContents.SelectSingleNode("//Slaves");
|
XmlNode pn = _Xp.XmlContents.SelectSingleNode("//Slaves");
|
||||||
XmlNode nn = _Xp.XmlContents.ImportNode(xd.DocumentElement, true);
|
XmlNode nn = _Xp.XmlContents.ImportNode(xd.DocumentElement, true);
|
||||||
|
if (pn == null)
|
||||||
|
{
|
||||||
|
pn = _Xp.XmlContents.CreateElement("Slaves");
|
||||||
|
_Xp.XmlContents.DocumentElement.AppendChild(pn);
|
||||||
|
}
|
||||||
pn.AppendChild(nn);
|
pn.AppendChild(nn);
|
||||||
}
|
}
|
||||||
public void RemoveSlave(int index)
|
public void RemoveSlave(int index)
|
||||||
|
@ -79,8 +79,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
string s = _Xp["History", "StartDate"];
|
string s = _Xp["History", "StartDate"];
|
||||||
if (s == value.ToString("MM/dd/yyyy hh:mm:ss")) return;
|
if (s == value.ToString("MM/dd/yyyy HH:mm:ss")) return;
|
||||||
_Xp["History", "StartDate"] = value.ToString("MM/dd/yyyy hh:mm:ss");
|
_Xp["History", "StartDate"] = value.ToString("MM/dd/yyyy HH:mm:ss");
|
||||||
OnPropertyChanged("History_StartDate");
|
OnPropertyChanged("History_StartDate");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user