Compare commits
No commits in common. "df9d0f908af6f59d1dfbcda416a78b93ea72f32f" and "a230ecef9b6e738eae1e62c7960f1a31fd39774f" have entirely different histories.
df9d0f908a
...
a230ecef9b
@ -2680,8 +2680,8 @@ namespace RODBInterface
|
|||||||
// Generic definition, i.e. all Groups, and No updates only Local definition, i.e. just this Group Added a
|
// Generic definition, i.e. all Groups, and No updates only Local definition, i.e. just this Group Added a
|
||||||
// Cancel button to Cancel from this dialog and return to previous dialog. Added more information to the
|
// Cancel button to Cancel from this dialog and return to previous dialog. Added more information to the
|
||||||
// dialog to inform user of this
|
// dialog to inform user of this
|
||||||
string dmsg = $"Update Generic definition?\r\n\r\n Yes - updates Generic definitions, \r\n No - updates Local definitions, \r\n Cancel - returns to previous dialog." +
|
string dmsg = "Update Generic definition?\r\n\r\n Yes - updates Generic definitions, \r\n No - updates Local definitions, \r\n Cancel - returns to previous dialog." +
|
||||||
$"\r\n\r\n 'Generic' updates definition in ALL groups that use the name\r\n 'Local' updates definition only in the selected group, and will change the definition for all items in that table ({GetTopParentName(myelem)}).";
|
"\r\n\r\n 'Generic' updates definition in ALL groups that use the name\r\n 'Local' updates definition only in the selected group.";
|
||||||
System.Windows.Forms.DialogResult result = MessageBox.Show(dmsg, "Referenced Object Definition", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
|
System.Windows.Forms.DialogResult result = MessageBox.Show(dmsg, "Referenced Object Definition", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
|
||||||
if (result == DialogResult.Cancel) return false;
|
if (result == DialogResult.Cancel) return false;
|
||||||
if (result == DialogResult.No) changegeneric = false;
|
if (result == DialogResult.No) changegeneric = false;
|
||||||
@ -2786,19 +2786,6 @@ namespace RODBInterface
|
|||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
//CSM-C2024-030
|
|
||||||
//Explain that Local is local to that table (and include Table name in wording displayed to user)
|
|
||||||
public string GetTopParentName(VlnXmlElement elem)
|
|
||||||
{
|
|
||||||
VlnXmlElement nodetocheck = elem;
|
|
||||||
while (nodetocheck.GetAttribute("ParentID") != "00000000" && nodetocheck.ParentNode != null)
|
|
||||||
{
|
|
||||||
nodetocheck = (VlnXmlElement) nodetocheck.ParentNode;
|
|
||||||
}
|
|
||||||
|
|
||||||
return nodetocheck.GetAttribute("MenuTitle");
|
|
||||||
}
|
|
||||||
|
|
||||||
public override XmlSchema RODB_GetGroupSchema(VlnXmlElement elem)
|
public override XmlSchema RODB_GetGroupSchema(VlnXmlElement elem)
|
||||||
{
|
{
|
||||||
XmlSchema myschema;
|
XmlSchema myschema;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user