Compare commits
98 Commits
74c2a303da
...
B2025-014
Author | SHA1 | Date | |
---|---|---|---|
bf06c9e14f | |||
5a263107da | |||
d30bb2e329 | |||
8248bd8e47 | |||
378653c536 | |||
f2d330bd0e | |||
c1c93cbdc4 | |||
47a14e143e | |||
b7aa85f4fc | |||
90e25f3fcf | |||
d67e81d8a6 | |||
057915baaa | |||
fe268b6122 | |||
ca61597863 | |||
a04def360d | |||
5e43a8501b | |||
e893264075 | |||
cf20704811 | |||
37c5b23a86 | |||
82d8fe6e17 | |||
4ca3697845 | |||
71130bd26b | |||
37626d8f45 | |||
f95369d3a4 | |||
aa00891f8e | |||
d44f9ba2b6 | |||
c3b7b1e5a4 | |||
f3309e4a40 | |||
8fa059c186 | |||
96e61aea2b | |||
565779c9c8 | |||
b4ccd682c3 | |||
dba1331556 | |||
8803ae2274 | |||
69d09b7fc2 | |||
8ddfc8654e | |||
7a3243e882 | |||
4fc3b89e06 | |||
a17419ac12 | |||
88905132e7 | |||
111bed58d6 | |||
bed61324d6 | |||
1a889352b8 | |||
5bba126a36 | |||
e01b955d46 | |||
e3431b0e1e | |||
b6d646b910 | |||
bb679a2790 | |||
e3af0a6426 | |||
b2108b9e5f | |||
d100002107 | |||
afd61303c5 | |||
d1c3e81a38 | |||
46419edfee | |||
81c91d7866 | |||
34ee092919 | |||
d07344a88a | |||
66ae1c632b | |||
7cc7b71edd | |||
a223dfd463 | |||
61e8bc5ffa | |||
bba52a736a | |||
c5d575a019 | |||
08f8441aca | |||
6bf116cbef | |||
cc96b3fa5b | |||
b489452bd1 | |||
fa4e3997e4 | |||
7659cbbee6 | |||
548b845f62 | |||
4f733656a0 | |||
f4ef244a10 | |||
839000d48c | |||
bcb8f419ee | |||
059c399240 | |||
13b3cd6bc4 | |||
3cd4f4c5d9 | |||
02b20df652 | |||
416bdf16e0 | |||
75a4f66714 | |||
a5b9c26a97 | |||
0aa476d9dd | |||
0f4eec1df6 | |||
4bc73f847c | |||
e1271c16d9 | |||
c7d2140e16 | |||
ac6ee6ff83 | |||
1507cf31ce | |||
aad04647ac | |||
934d3977d8 | |||
03b0e52bef | |||
1da2b8e87c | |||
e3d16142ac | |||
b972e40a28 | |||
c508255ab3 | |||
e9ec884eb9 | |||
592d28e898 | |||
b826fa6a20 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -746,6 +746,7 @@ namespace ROEditor
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (inusename == "u") found = true; //to handle unit designation
|
||||
if (found == false)syntax(inusename+" invalid field name",strt,where);
|
||||
// used to have procini def stuff here.
|
||||
start=where+1;
|
||||
|
@@ -504,7 +504,6 @@ namespace ROEditor
|
||||
// if a specific RO was passed in. Load the xml tree from it to the root & then
|
||||
// edit it through the ctlXmledit.
|
||||
// from the input tbl string, get a table name.
|
||||
|
||||
ArrayList levelRecids = new ArrayList();
|
||||
int itbl = System.Convert.ToInt32(specificro.Substring(0,4),16);
|
||||
string stbl = System.Convert.ToString(itbl,10);
|
||||
@@ -594,7 +593,6 @@ namespace ROEditor
|
||||
return;
|
||||
}
|
||||
roTreeView.SelectedNode = trnd;
|
||||
|
||||
}
|
||||
|
||||
protected void roTreeView_AfterSelect (object sender,
|
||||
@@ -676,12 +674,14 @@ namespace ROEditor
|
||||
//if Ctrl/Shift Key is held down
|
||||
if (ROsSelectedforMultiMove == null)
|
||||
ROsSelectedforMultiMove = new List<TreeNode>();
|
||||
|
||||
if ((Control.ModifierKeys & Keys.Shift) != 0)
|
||||
// B2021-094 added check that Control and Alt keys were not pressed with shift key
|
||||
// if user does the <Ctrl><Shift><G> keystroke (Goto selected RO from step editor)
|
||||
// but only lifts up on the G key, it was dropping down into this code below
|
||||
// and getting a null reference error upon initial entry in to the RO Editor
|
||||
if ((Control.ModifierKeys & Keys.Shift) != 0 && (Control.ModifierKeys & Keys.Control) == 0 && (Control.ModifierKeys & Keys.Alt) == 0)
|
||||
{
|
||||
//if shift is held down, clear existing nodes then add the range of nodes
|
||||
roTreeView_ClearAllMultiSelect();
|
||||
|
||||
if (PreviousNode.Index < CurrentNode.Index)
|
||||
{
|
||||
//Traverse Down
|
||||
@@ -1154,7 +1154,10 @@ namespace ROEditor
|
||||
tbtnCancel.Enabled = true;
|
||||
tbtnSave.Enabled = true;
|
||||
tbtnRestore.Enabled = true;
|
||||
tbtnSaveAs.Enabled = true;
|
||||
if (newone == null)
|
||||
{ tbtnSaveAs.Enabled = true; }
|
||||
else
|
||||
{ tbtnSaveAs.Enabled = false; }
|
||||
}
|
||||
menuROSave.Enabled = tbtnSave.Enabled;
|
||||
}
|
||||
@@ -1170,7 +1173,10 @@ namespace ROEditor
|
||||
|
||||
tbtnSave.Enabled = true;
|
||||
tbtnRestore.Enabled = true;
|
||||
tbtnSaveAs.Enabled = true;
|
||||
if (newone == null)
|
||||
{ tbtnSaveAs.Enabled = true; }
|
||||
else
|
||||
{ tbtnSaveAs.Enabled = false; }
|
||||
tbtnCancel.Enabled = true;
|
||||
menuROSave.Enabled = tbtnSave.Enabled;
|
||||
//B2021-080 set the mysavexml flag to true to ensure the text change will be saved
|
||||
@@ -2392,10 +2398,15 @@ namespace ROEditor
|
||||
*/
|
||||
private void menuRODelete_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
bool success=false;
|
||||
XmlNode nd = (XmlNode) roTreeView.SelectedNode.Tag;
|
||||
string msgstr = "It is recommended that you may wish to create a backup zip of your RO folder prior to performing deletions.\n\nAre you sure you wish to delete the selected RO/RO Group?";
|
||||
|
||||
DialogResult AnswerYN = MessageBox.Show(msgstr, "Deleting ROs/RO Group", MessageBoxButtons.YesNo);
|
||||
if (AnswerYN == DialogResult.Yes)
|
||||
{
|
||||
bool success = false;
|
||||
XmlNode nd = (XmlNode)roTreeView.SelectedNode.Tag;
|
||||
if (nd.ParentNode.Name == "RO_Root")
|
||||
success = myrodb.RODB_DeleteGroup(nd,null,null);
|
||||
success = myrodb.RODB_DeleteGroup(nd, null, null);
|
||||
else
|
||||
success = myrodb.RODB_DeleteRO(nd);
|
||||
if (success == true)
|
||||
@@ -2408,6 +2419,7 @@ namespace ROEditor
|
||||
roTreeView.Refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Cut text from current text box to windows clipboard
|
||||
@@ -2616,7 +2628,6 @@ namespace ROEditor
|
||||
success = ctlXMLEdit2.SaveData();
|
||||
if (!success)
|
||||
{
|
||||
MessageBox.Show("Save Failed");
|
||||
return false;
|
||||
}
|
||||
VlnXmlElement myro;
|
||||
@@ -2732,7 +2743,6 @@ namespace ROEditor
|
||||
if (!success)
|
||||
{
|
||||
tbtnRestore.Enabled = false; // old data may not be around
|
||||
MessageBox.Show("Save Failed");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -324,29 +324,17 @@ namespace ctlXMLEditLib
|
||||
string ROINI = Directory.GetCurrentDirectory()+ "\\ROAPP.INI";
|
||||
|
||||
// Get the default file extension for graphic files
|
||||
// DefaultGraphicFileExtension = TheIniFile.GetINIKeyValueStr("ROApp","Extention","",5,"ROAPP.INI");
|
||||
// DefaultGraphicFileExtension = TheIniFile.GetINIKeyValueStr("ROApp","Extention","",5,"ROAPP.INI");
|
||||
// Bug fix: B2006-025
|
||||
// needed to pass the full path of ROAPP.INI
|
||||
// B2025-007 only use the default file location (remove 16 bit PROMS location)
|
||||
IniReader in1 = new IniReader(ROINI);
|
||||
DefaultGraphicFileExtension = in1.ReadString("ROApp","Extention","");
|
||||
if (DefaultGraphicFileExtension.Equals(""))
|
||||
{
|
||||
string ApplPathUp = ApplicationPath.ToUpper();
|
||||
int idx = ApplPathUp.IndexOf("VE-PROMS.NET\\BIN");
|
||||
if (idx >= 0)
|
||||
{
|
||||
string PromsINI = ApplicationPath.Substring(0, idx);
|
||||
PromsINI += "VE-PROMS\\VEPROMS.INI";
|
||||
IniReader in2 = new IniReader(PromsINI);
|
||||
DefaultGraphicFileExtension = in2.ReadString("Graphics", "defaultext", ".TIF");
|
||||
}
|
||||
else
|
||||
DefaultGraphicFileExtension = ".TIF";
|
||||
}
|
||||
// if (File.Exists(PromsINI))
|
||||
// DefaultGraphicFileExtension = TheIniFile.GetINIKeyValueStr("Graphics","defaultext",".TIF",5,PromsINI);
|
||||
// if (File.Exists("ROAPP.INI"))
|
||||
// DefaultGraphicFileExtension = TheIniFile.GetINIKeyValueStr("ROApp","Extention",".TIF",5,"ROAPP.INI");
|
||||
DefaultGraphicFileExtension = in1.ReadString("ROApp", "Extention");
|
||||
if (string.IsNullOrEmpty(DefaultGraphicFileExtension)) DefaultGraphicFileExtension = in1.ReadString("ROApp", "Extension", ".TIF");
|
||||
// if (File.Exists(PromsINI))
|
||||
// DefaultGraphicFileExtension = TheIniFile.GetINIKeyValueStr("Graphics","defaultext",".TIF",5,PromsINI);
|
||||
// if (File.Exists("ROAPP.INI"))
|
||||
// DefaultGraphicFileExtension = TheIniFile.GetINIKeyValueStr("ROApp","Extention",".TIF",5,"ROAPP.INI");
|
||||
if (!DefaultGraphicFileExtension.StartsWith("."))
|
||||
DefaultGraphicFileExtension = "." + DefaultGraphicFileExtension;
|
||||
|
||||
@@ -784,6 +772,7 @@ namespace ctlXMLEditLib
|
||||
dosaveflag = false;
|
||||
return (true);
|
||||
}
|
||||
MessageBox.Show("Save Failed");
|
||||
return (false);
|
||||
}
|
||||
|
||||
@@ -1129,7 +1118,7 @@ namespace ctlXMLEditLib
|
||||
mylabel.BackColor = chlbckcolor; // PC Applic fields are shaded blue otherwise backcolor is transparent
|
||||
mylabel.Location = new Point(screenx+indent, screeny);
|
||||
mylabel.Name = (pcChildIdx == 0) ? CvtUserFldToFld(element.Name) : CvtUserFldToFld(pcChildFldName);
|
||||
mylabel.Text = (applicLabel.Length > 0) ? applicLabel : CvtFldToUserFld(element.Name); // C2021-026 applicLabel is the P/C Child name
|
||||
mylabel.Text = (applicLabel.Length > 0) ? applicLabel : CvtFldToUserFld(element.Name).Replace("Image_",""); // C2021-026 applicLabel is the P/C Child name
|
||||
mylabel.AutoSize = true;
|
||||
Controls.Add(mylabel);
|
||||
// add 3 onto screeny so that textbox is slightly below label.
|
||||
@@ -1486,11 +1475,14 @@ namespace ctlXMLEditLib
|
||||
FileInfo ifi = new FileInfo(fnamebox.Text);
|
||||
if (ifi.Exists == false)
|
||||
{
|
||||
MessageBoxButtons buttons = MessageBoxButtons.OK;
|
||||
MessageBox.Show( "File does not exist.",
|
||||
"File Input Error", buttons);
|
||||
FileInfo ifi2 = new FileInfo(fnamebox.Text + DefaultGraphicFileExtension);
|
||||
if (!ifi2.Exists)
|
||||
{
|
||||
MessageBox.Show("File does not exist.",
|
||||
"File Input Error", MessageBoxButtons.OK);
|
||||
return;
|
||||
}
|
||||
}
|
||||
bool ok = ValidGraphicsFile(fnamebox.Text);
|
||||
if (ok != true)
|
||||
{
|
||||
@@ -1696,7 +1688,7 @@ namespace ctlXMLEditLib
|
||||
}
|
||||
catch (Exception ee)
|
||||
{
|
||||
MessageBox.Show("Invalid Height Input",ee.ToString());
|
||||
MessageBox.Show("The Height and Width cannot be empty fields. Enter a number in either field and the other will automatically adjust to a proportional size.", "Invalid Height Input");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1713,7 +1705,7 @@ namespace ctlXMLEditLib
|
||||
}
|
||||
catch (Exception ee)
|
||||
{
|
||||
MessageBox.Show("Invalid Width Input", ee.ToString());
|
||||
MessageBox.Show("The Height and Width cannot be empty fields. Enter a number in either field and the other will automatically adjust to a proportional size.", "Invalid Width Input");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -328,6 +328,18 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool cbShwRplWrdsColor {
|
||||
get {
|
||||
return ((bool)(this["cbShwRplWrdsColor"]));
|
||||
}
|
||||
set {
|
||||
this["cbShwRplWrdsColor"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
|
@@ -80,6 +80,11 @@
|
||||
<Setting Name="UpdateSettings" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
|
||||
<Setting Name="cbShwRplWrdsColor" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
|
||||
<Setting Name="PasteNoReturns" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
|
374
PROMS/VEPROMS User Interface/frmBatchRefresh.Designer.cs
generated
374
PROMS/VEPROMS User Interface/frmBatchRefresh.Designer.cs
generated
@@ -139,10 +139,9 @@
|
||||
//
|
||||
this.myTV.CheckBoxes = true;
|
||||
this.myTV.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.myTV.Location = new System.Drawing.Point(0, 285);
|
||||
this.myTV.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.myTV.Location = new System.Drawing.Point(0, 230);
|
||||
this.myTV.Name = "myTV";
|
||||
this.myTV.Size = new System.Drawing.Size(436, 475);
|
||||
this.myTV.Size = new System.Drawing.Size(291, 310);
|
||||
this.myTV.TabIndex = 4;
|
||||
this.myTV.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.myTV_AfterCheck);
|
||||
//
|
||||
@@ -150,7 +149,6 @@
|
||||
//
|
||||
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.splitContainer3.Name = "splitContainer3";
|
||||
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
@@ -166,9 +164,8 @@
|
||||
//
|
||||
this.splitContainer3.Panel2.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.splitContainer3.Panel2.Controls.Add(this.panelEx4);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1766, 902);
|
||||
this.splitContainer3.SplitterDistance = 809;
|
||||
this.splitContainer3.SplitterWidth = 6;
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1177, 586);
|
||||
this.splitContainer3.SplitterDistance = 525;
|
||||
this.splitContainer3.TabIndex = 2;
|
||||
//
|
||||
// panelEx3
|
||||
@@ -180,10 +177,9 @@
|
||||
this.panelEx3.Controls.Add(this.label3);
|
||||
this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelEx3.Location = new System.Drawing.Point(1032, 0);
|
||||
this.panelEx3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.panelEx3.Location = new System.Drawing.Point(688, 0);
|
||||
this.panelEx3.Name = "panelEx3";
|
||||
this.panelEx3.Size = new System.Drawing.Size(734, 809);
|
||||
this.panelEx3.Size = new System.Drawing.Size(489, 525);
|
||||
this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
@@ -198,32 +194,30 @@
|
||||
//
|
||||
this.txtResults.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtResults.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.txtResults.Location = new System.Drawing.Point(0, 79);
|
||||
this.txtResults.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtResults.Location = new System.Drawing.Point(0, 52);
|
||||
this.txtResults.Multiline = true;
|
||||
this.txtResults.Name = "txtResults";
|
||||
this.txtResults.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.txtResults.Size = new System.Drawing.Size(734, 730);
|
||||
this.txtResults.Size = new System.Drawing.Size(489, 473);
|
||||
this.txtResults.TabIndex = 4;
|
||||
this.txtResults.TextChanged += new System.EventHandler(this.txtResults_TextChanged);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btnSave);
|
||||
this.panel1.Controls.Add(this.btnClear);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 34);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.panel1.Location = new System.Drawing.Point(0, 23);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(734, 45);
|
||||
this.panel1.Size = new System.Drawing.Size(489, 29);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.btnSave.Location = new System.Drawing.Point(142, 0);
|
||||
this.btnSave.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnSave.Location = new System.Drawing.Point(95, 0);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(142, 45);
|
||||
this.btnSave.Size = new System.Drawing.Size(95, 29);
|
||||
this.btnSave.TabIndex = 3;
|
||||
this.btnSave.Text = "Save Results";
|
||||
this.btnSave.UseVisualStyleBackColor = true;
|
||||
@@ -233,9 +227,8 @@
|
||||
//
|
||||
this.btnClear.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.btnClear.Location = new System.Drawing.Point(0, 0);
|
||||
this.btnClear.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(142, 45);
|
||||
this.btnClear.Size = new System.Drawing.Size(95, 29);
|
||||
this.btnClear.TabIndex = 2;
|
||||
this.btnClear.Text = "Clear Results";
|
||||
this.btnClear.UseVisualStyleBackColor = true;
|
||||
@@ -247,9 +240,8 @@
|
||||
this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.label3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label3.Location = new System.Drawing.Point(0, 0);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(734, 34);
|
||||
this.label3.Size = new System.Drawing.Size(489, 23);
|
||||
this.label3.TabIndex = 2;
|
||||
this.label3.Text = "Results";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -279,10 +271,9 @@
|
||||
this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
|
||||
this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
|
||||
this.expandableSplitter2.Location = new System.Drawing.Point(1023, 0);
|
||||
this.expandableSplitter2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.expandableSplitter2.Location = new System.Drawing.Point(682, 0);
|
||||
this.expandableSplitter2.Name = "expandableSplitter2";
|
||||
this.expandableSplitter2.Size = new System.Drawing.Size(9, 809);
|
||||
this.expandableSplitter2.Size = new System.Drawing.Size(6, 525);
|
||||
this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
|
||||
this.expandableSplitter2.TabIndex = 38;
|
||||
this.expandableSplitter2.TabStop = false;
|
||||
@@ -298,10 +289,9 @@
|
||||
this.panelEx2.Controls.Add(this.label4);
|
||||
this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx2.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panelEx2.Location = new System.Drawing.Point(587, 0);
|
||||
this.panelEx2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.panelEx2.Location = new System.Drawing.Point(391, 0);
|
||||
this.panelEx2.Name = "panelEx2";
|
||||
this.panelEx2.Size = new System.Drawing.Size(436, 809);
|
||||
this.panelEx2.Size = new System.Drawing.Size(291, 525);
|
||||
this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
@@ -317,21 +307,20 @@
|
||||
this.txtProcess.AcceptsReturn = true;
|
||||
this.txtProcess.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtProcess.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.txtProcess.Location = new System.Drawing.Point(0, 228);
|
||||
this.txtProcess.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtProcess.Location = new System.Drawing.Point(0, 150);
|
||||
this.txtProcess.Multiline = true;
|
||||
this.txtProcess.Name = "txtProcess";
|
||||
this.txtProcess.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.txtProcess.Size = new System.Drawing.Size(436, 581);
|
||||
this.txtProcess.Size = new System.Drawing.Size(291, 375);
|
||||
this.txtProcess.TabIndex = 5;
|
||||
this.txtProcess.TextChanged += new System.EventHandler(this.txtProcess_TextChanged);
|
||||
//
|
||||
// pbProcess
|
||||
//
|
||||
this.pbProcess.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pbProcess.Location = new System.Drawing.Point(0, 190);
|
||||
this.pbProcess.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.pbProcess.Location = new System.Drawing.Point(0, 125);
|
||||
this.pbProcess.Name = "pbProcess";
|
||||
this.pbProcess.Size = new System.Drawing.Size(436, 38);
|
||||
this.pbProcess.Size = new System.Drawing.Size(291, 25);
|
||||
this.pbProcess.TabIndex = 6;
|
||||
//
|
||||
// label6
|
||||
@@ -339,10 +328,9 @@
|
||||
this.label6.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.label6.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label6.Location = new System.Drawing.Point(0, 156);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label6.Location = new System.Drawing.Point(0, 102);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(436, 34);
|
||||
this.label6.Size = new System.Drawing.Size(291, 23);
|
||||
this.label6.TabIndex = 3;
|
||||
this.label6.Text = "Process Status";
|
||||
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -352,11 +340,10 @@
|
||||
this.panel3.Controls.Add(this.pnlLater);
|
||||
this.panel3.Controls.Add(this.chkLater);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 34);
|
||||
this.panel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.panel3.Location = new System.Drawing.Point(0, 23);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Padding = new System.Windows.Forms.Padding(9, 9, 9, 9);
|
||||
this.panel3.Size = new System.Drawing.Size(436, 122);
|
||||
this.panel3.Padding = new System.Windows.Forms.Padding(6);
|
||||
this.panel3.Size = new System.Drawing.Size(291, 79);
|
||||
this.panel3.TabIndex = 2;
|
||||
//
|
||||
// pnlLater
|
||||
@@ -366,20 +353,18 @@
|
||||
this.pnlLater.Controls.Add(this.dtpDate);
|
||||
this.pnlLater.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pnlLater.Enabled = false;
|
||||
this.pnlLater.Location = new System.Drawing.Point(9, 33);
|
||||
this.pnlLater.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.pnlLater.Location = new System.Drawing.Point(6, 23);
|
||||
this.pnlLater.Name = "pnlLater";
|
||||
this.pnlLater.Padding = new System.Windows.Forms.Padding(9, 9, 9, 9);
|
||||
this.pnlLater.Size = new System.Drawing.Size(418, 57);
|
||||
this.pnlLater.Padding = new System.Windows.Forms.Padding(6);
|
||||
this.pnlLater.Size = new System.Drawing.Size(279, 37);
|
||||
this.pnlLater.TabIndex = 3;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(158, 23);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label5.Location = new System.Drawing.Point(105, 15);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(25, 20);
|
||||
this.label5.Size = new System.Drawing.Size(18, 13);
|
||||
this.label5.TabIndex = 5;
|
||||
this.label5.Text = "@";
|
||||
//
|
||||
@@ -389,30 +374,27 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dtpTime.CustomFormat = "HH:mm";
|
||||
this.dtpTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dtpTime.Location = new System.Drawing.Point(194, 14);
|
||||
this.dtpTime.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.dtpTime.Location = new System.Drawing.Point(129, 9);
|
||||
this.dtpTime.Name = "dtpTime";
|
||||
this.dtpTime.ShowUpDown = true;
|
||||
this.dtpTime.Size = new System.Drawing.Size(198, 26);
|
||||
this.dtpTime.Size = new System.Drawing.Size(133, 20);
|
||||
this.dtpTime.TabIndex = 4;
|
||||
//
|
||||
// dtpDate
|
||||
//
|
||||
this.dtpDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
||||
this.dtpDate.Location = new System.Drawing.Point(14, 14);
|
||||
this.dtpDate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.dtpDate.Location = new System.Drawing.Point(9, 9);
|
||||
this.dtpDate.Name = "dtpDate";
|
||||
this.dtpDate.Size = new System.Drawing.Size(133, 26);
|
||||
this.dtpDate.Size = new System.Drawing.Size(90, 20);
|
||||
this.dtpDate.TabIndex = 3;
|
||||
//
|
||||
// chkLater
|
||||
//
|
||||
this.chkLater.AutoSize = true;
|
||||
this.chkLater.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.chkLater.Location = new System.Drawing.Point(9, 9);
|
||||
this.chkLater.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.chkLater.Location = new System.Drawing.Point(6, 6);
|
||||
this.chkLater.Name = "chkLater";
|
||||
this.chkLater.Size = new System.Drawing.Size(418, 24);
|
||||
this.chkLater.Size = new System.Drawing.Size(279, 17);
|
||||
this.chkLater.TabIndex = 4;
|
||||
this.chkLater.Text = "Process Later";
|
||||
this.chkLater.UseVisualStyleBackColor = true;
|
||||
@@ -424,9 +406,8 @@
|
||||
this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.label4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label4.Location = new System.Drawing.Point(0, 0);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(436, 34);
|
||||
this.label4.Size = new System.Drawing.Size(291, 23);
|
||||
this.label4.TabIndex = 3;
|
||||
this.label4.Text = "Process";
|
||||
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -456,10 +437,9 @@
|
||||
this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
|
||||
this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
|
||||
this.expandableSplitter1.Location = new System.Drawing.Point(578, 0);
|
||||
this.expandableSplitter1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.expandableSplitter1.Location = new System.Drawing.Point(385, 0);
|
||||
this.expandableSplitter1.Name = "expandableSplitter1";
|
||||
this.expandableSplitter1.Size = new System.Drawing.Size(9, 809);
|
||||
this.expandableSplitter1.Size = new System.Drawing.Size(6, 525);
|
||||
this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
|
||||
this.expandableSplitter1.TabIndex = 4;
|
||||
this.expandableSplitter1.TabStop = false;
|
||||
@@ -472,9 +452,8 @@
|
||||
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panelEx1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelEx1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.panelEx1.Name = "panelEx1";
|
||||
this.panelEx1.Size = new System.Drawing.Size(578, 809);
|
||||
this.panelEx1.Size = new System.Drawing.Size(385, 525);
|
||||
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
@@ -506,10 +485,9 @@
|
||||
this.sideNavItmDelete,
|
||||
this.sideNavItmExit});
|
||||
this.sideNav1.Location = new System.Drawing.Point(0, 0);
|
||||
this.sideNav1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.sideNav1.Name = "sideNav1";
|
||||
this.sideNav1.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.sideNav1.Size = new System.Drawing.Size(578, 809);
|
||||
this.sideNav1.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.sideNav1.Size = new System.Drawing.Size(385, 525);
|
||||
this.sideNav1.TabIndex = 3;
|
||||
this.sideNav1.Text = "sideNav1";
|
||||
//
|
||||
@@ -522,10 +500,10 @@
|
||||
this.sideNavPanel4.Controls.Add(this.myTVdel);
|
||||
this.sideNavPanel4.Controls.Add(this.btnDeleteItems);
|
||||
this.sideNavPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNavPanel4.Location = new System.Drawing.Point(109, 40);
|
||||
this.sideNavPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.sideNavPanel4.Location = new System.Drawing.Point(81, 31);
|
||||
this.sideNavPanel4.MinimumSize = new System.Drawing.Size(0, 493);
|
||||
this.sideNavPanel4.Name = "sideNavPanel4";
|
||||
this.sideNavPanel4.Size = new System.Drawing.Size(461, 767);
|
||||
this.sideNavPanel4.Size = new System.Drawing.Size(299, 493);
|
||||
this.sideNavPanel4.TabIndex = 27;
|
||||
//
|
||||
// swDeleteFolder
|
||||
@@ -534,10 +512,9 @@
|
||||
//
|
||||
//
|
||||
this.swDeleteFolder.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swDeleteFolder.Location = new System.Drawing.Point(15, 66);
|
||||
this.swDeleteFolder.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swDeleteFolder.Location = new System.Drawing.Point(10, 43);
|
||||
this.swDeleteFolder.Name = "swDeleteFolder";
|
||||
this.swDeleteFolder.Size = new System.Drawing.Size(104, 34);
|
||||
this.swDeleteFolder.Size = new System.Drawing.Size(69, 22);
|
||||
this.swDeleteFolder.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swDeleteFolder, new DevComponents.DotNetBar.SuperTooltipInfo("Delete Folders", "", resources.GetString("swDeleteFolder.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 140)));
|
||||
this.swDeleteFolder.SwitchClickTogglesValue = true;
|
||||
@@ -552,10 +529,9 @@
|
||||
//
|
||||
this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX13.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX13.Location = new System.Drawing.Point(128, 65);
|
||||
this.labelX13.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX13.Location = new System.Drawing.Point(85, 42);
|
||||
this.labelX13.Name = "labelX13";
|
||||
this.labelX13.Size = new System.Drawing.Size(252, 34);
|
||||
this.labelX13.Size = new System.Drawing.Size(168, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX13, new DevComponents.DotNetBar.SuperTooltipInfo("Delete Folders", "", resources.GetString("labelX13.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 140)));
|
||||
this.labelX13.TabIndex = 38;
|
||||
this.labelX13.Text = "Delete Folders";
|
||||
@@ -566,10 +542,9 @@
|
||||
//
|
||||
//
|
||||
this.swDeleteAnnotations.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swDeleteAnnotations.Location = new System.Drawing.Point(15, 23);
|
||||
this.swDeleteAnnotations.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swDeleteAnnotations.Location = new System.Drawing.Point(10, 15);
|
||||
this.swDeleteAnnotations.Name = "swDeleteAnnotations";
|
||||
this.swDeleteAnnotations.Size = new System.Drawing.Size(104, 34);
|
||||
this.swDeleteAnnotations.Size = new System.Drawing.Size(69, 22);
|
||||
this.swDeleteAnnotations.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swDeleteAnnotations, new DevComponents.DotNetBar.SuperTooltipInfo("Delete Annotations", "", resources.GetString("swDeleteAnnotations.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 155)));
|
||||
this.swDeleteAnnotations.SwitchClickTogglesValue = true;
|
||||
@@ -586,10 +561,9 @@
|
||||
//
|
||||
this.labelX14.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX14.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX14.Location = new System.Drawing.Point(128, 22);
|
||||
this.labelX14.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX14.Location = new System.Drawing.Point(85, 14);
|
||||
this.labelX14.Name = "labelX14";
|
||||
this.labelX14.Size = new System.Drawing.Size(279, 34);
|
||||
this.labelX14.Size = new System.Drawing.Size(186, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX14, new DevComponents.DotNetBar.SuperTooltipInfo("Delete Annotations", "", resources.GetString("labelX14.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 155)));
|
||||
this.labelX14.TabIndex = 36;
|
||||
this.labelX14.Text = "Delete Annotations";
|
||||
@@ -598,10 +572,9 @@
|
||||
//
|
||||
this.myTVdel.CheckBoxes = true;
|
||||
this.myTVdel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.myTVdel.Location = new System.Drawing.Point(0, 205);
|
||||
this.myTVdel.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.myTVdel.Location = new System.Drawing.Point(0, 126);
|
||||
this.myTVdel.Name = "myTVdel";
|
||||
this.myTVdel.Size = new System.Drawing.Size(461, 562);
|
||||
this.myTVdel.Size = new System.Drawing.Size(299, 367);
|
||||
this.myTVdel.TabIndex = 34;
|
||||
this.myTVdel.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.myTV_AfterCheck_DelAnn);
|
||||
//
|
||||
@@ -612,10 +585,9 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnDeleteItems.Checked = true;
|
||||
this.btnDeleteItems.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnDeleteItems.Location = new System.Drawing.Point(58, 151);
|
||||
this.btnDeleteItems.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnDeleteItems.Location = new System.Drawing.Point(39, 98);
|
||||
this.btnDeleteItems.Name = "btnDeleteItems";
|
||||
this.btnDeleteItems.Size = new System.Drawing.Size(343, 35);
|
||||
this.btnDeleteItems.Size = new System.Drawing.Size(220, 23);
|
||||
this.btnDeleteItems.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.btnDeleteItems, new DevComponents.DotNetBar.SuperTooltipInfo("Process Deletions", "", resources.GetString("btnDeleteItems.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 175)));
|
||||
this.btnDeleteItems.TabIndex = 35;
|
||||
@@ -636,10 +608,10 @@
|
||||
this.sideNavPanel3.Controls.Add(this.myTV);
|
||||
this.sideNavPanel3.Controls.Add(this.btnFixLinks);
|
||||
this.sideNavPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNavPanel3.Location = new System.Drawing.Point(134, 48);
|
||||
this.sideNavPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.sideNavPanel3.Location = new System.Drawing.Point(89, 31);
|
||||
this.sideNavPanel3.MinimumSize = new System.Drawing.Size(0, 540);
|
||||
this.sideNavPanel3.Name = "sideNavPanel3";
|
||||
this.sideNavPanel3.Size = new System.Drawing.Size(436, 760);
|
||||
this.sideNavPanel3.Size = new System.Drawing.Size(291, 540);
|
||||
this.sideNavPanel3.TabIndex = 10;
|
||||
this.sideNavPanel3.Visible = false;
|
||||
//
|
||||
@@ -649,10 +621,9 @@
|
||||
//
|
||||
//
|
||||
this.swCheckROLinks.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swCheckROLinks.Location = new System.Drawing.Point(15, 102);
|
||||
this.swCheckROLinks.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swCheckROLinks.Location = new System.Drawing.Point(10, 66);
|
||||
this.swCheckROLinks.Name = "swCheckROLinks";
|
||||
this.swCheckROLinks.Size = new System.Drawing.Size(136, 34);
|
||||
this.swCheckROLinks.Size = new System.Drawing.Size(91, 22);
|
||||
this.swCheckROLinks.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swCheckROLinks, new DevComponents.DotNetBar.SuperTooltipInfo("Check RO Links", "", resources.GetString("swCheckROLinks.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 150)));
|
||||
this.swCheckROLinks.SwitchClickTogglesValue = true;
|
||||
@@ -667,10 +638,9 @@
|
||||
//
|
||||
this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX12.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX12.Location = new System.Drawing.Point(160, 102);
|
||||
this.labelX12.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX12.Location = new System.Drawing.Point(107, 66);
|
||||
this.labelX12.Name = "labelX12";
|
||||
this.labelX12.Size = new System.Drawing.Size(279, 34);
|
||||
this.labelX12.Size = new System.Drawing.Size(186, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX12, new DevComponents.DotNetBar.SuperTooltipInfo("Check RO Links", "", resources.GetString("labelX12.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(350, 175)));
|
||||
this.labelX12.TabIndex = 32;
|
||||
this.labelX12.Text = "Check RO Links";
|
||||
@@ -680,21 +650,20 @@
|
||||
this.warningBox5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(219)))), ((int)(((byte)(249)))));
|
||||
this.warningBox5.CloseButtonVisible = false;
|
||||
this.warningBox5.Image = ((System.Drawing.Image)(resources.GetObject("warningBox5.Image")));
|
||||
this.warningBox5.Location = new System.Drawing.Point(26, 223);
|
||||
this.warningBox5.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
||||
this.warningBox5.Location = new System.Drawing.Point(17, 145);
|
||||
this.warningBox5.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.warningBox5.Name = "warningBox5";
|
||||
this.warningBox5.OptionsButtonVisible = false;
|
||||
this.warningBox5.Size = new System.Drawing.Size(393, 49);
|
||||
this.warningBox5.Size = new System.Drawing.Size(262, 32);
|
||||
this.warningBox5.TabIndex = 31;
|
||||
this.warningBox5.Text = "<b>NOTE</b> These tools can take a long time to run";
|
||||
//
|
||||
// line3
|
||||
//
|
||||
this.line3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.line3.Location = new System.Drawing.Point(9, 195);
|
||||
this.line3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.line3.Location = new System.Drawing.Point(6, 127);
|
||||
this.line3.Name = "line3";
|
||||
this.line3.Size = new System.Drawing.Size(428, 18);
|
||||
this.line3.Size = new System.Drawing.Size(285, 12);
|
||||
this.line3.TabIndex = 30;
|
||||
this.line3.Text = "line3";
|
||||
//
|
||||
@@ -704,10 +673,9 @@
|
||||
//
|
||||
//
|
||||
this.swUpdateROVals.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swUpdateROVals.Location = new System.Drawing.Point(15, 15);
|
||||
this.swUpdateROVals.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swUpdateROVals.Location = new System.Drawing.Point(10, 10);
|
||||
this.swUpdateROVals.Name = "swUpdateROVals";
|
||||
this.swUpdateROVals.Size = new System.Drawing.Size(136, 34);
|
||||
this.swUpdateROVals.Size = new System.Drawing.Size(91, 22);
|
||||
this.swUpdateROVals.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swUpdateROVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update RO Values", "", resources.GetString("swUpdateROVals.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 150)));
|
||||
this.swUpdateROVals.SwitchClickTogglesValue = true;
|
||||
@@ -722,10 +690,9 @@
|
||||
//
|
||||
//
|
||||
this.swRefreshTrans.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swRefreshTrans.Location = new System.Drawing.Point(15, 58);
|
||||
this.swRefreshTrans.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swRefreshTrans.Location = new System.Drawing.Point(10, 38);
|
||||
this.swRefreshTrans.Name = "swRefreshTrans";
|
||||
this.swRefreshTrans.Size = new System.Drawing.Size(136, 34);
|
||||
this.swRefreshTrans.Size = new System.Drawing.Size(91, 22);
|
||||
this.swRefreshTrans.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swRefreshTrans, new DevComponents.DotNetBar.SuperTooltipInfo("Refresh Transitions", "", resources.GetString("swRefreshTrans.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(265, 175)));
|
||||
this.swRefreshTrans.SwitchClickTogglesValue = true;
|
||||
@@ -740,10 +707,9 @@
|
||||
//
|
||||
this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX11.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX11.Location = new System.Drawing.Point(160, 15);
|
||||
this.labelX11.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX11.Location = new System.Drawing.Point(107, 10);
|
||||
this.labelX11.Name = "labelX11";
|
||||
this.labelX11.Size = new System.Drawing.Size(279, 34);
|
||||
this.labelX11.Size = new System.Drawing.Size(186, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX11, new DevComponents.DotNetBar.SuperTooltipInfo("Update RO Values", "", resources.GetString("labelX11.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 150)));
|
||||
this.labelX11.TabIndex = 28;
|
||||
this.labelX11.Text = "Update RO Values";
|
||||
@@ -756,10 +722,9 @@
|
||||
//
|
||||
this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX6.Location = new System.Drawing.Point(160, 58);
|
||||
this.labelX6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX6.Location = new System.Drawing.Point(107, 38);
|
||||
this.labelX6.Name = "labelX6";
|
||||
this.labelX6.Size = new System.Drawing.Size(279, 34);
|
||||
this.labelX6.Size = new System.Drawing.Size(186, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX6, new DevComponents.DotNetBar.SuperTooltipInfo("Refresh Transitions", "", resources.GetString("labelX6.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(256, 175)));
|
||||
this.labelX6.TabIndex = 28;
|
||||
this.labelX6.Text = "Refresh Transitions";
|
||||
@@ -769,11 +734,11 @@
|
||||
this.warningBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(219)))), ((int)(((byte)(249)))));
|
||||
this.warningBox1.CloseButtonVisible = false;
|
||||
this.warningBox1.Image = ((System.Drawing.Image)(resources.GetObject("warningBox1.Image")));
|
||||
this.warningBox1.Location = new System.Drawing.Point(26, 278);
|
||||
this.warningBox1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
||||
this.warningBox1.Location = new System.Drawing.Point(17, 181);
|
||||
this.warningBox1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.warningBox1.Name = "warningBox1";
|
||||
this.warningBox1.OptionsButtonVisible = false;
|
||||
this.warningBox1.Size = new System.Drawing.Size(393, 66);
|
||||
this.warningBox1.Size = new System.Drawing.Size(262, 43);
|
||||
this.warningBox1.TabIndex = 7;
|
||||
this.warningBox1.Text = " Be sure there is a current backup of the \r\n database prior to running these func" +
|
||||
"tions";
|
||||
@@ -783,10 +748,9 @@
|
||||
this.btnFixLinks.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnFixLinks.Checked = true;
|
||||
this.btnFixLinks.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnFixLinks.Location = new System.Drawing.Point(15, 151);
|
||||
this.btnFixLinks.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnFixLinks.Location = new System.Drawing.Point(10, 98);
|
||||
this.btnFixLinks.Name = "btnFixLinks";
|
||||
this.btnFixLinks.Size = new System.Drawing.Size(420, 35);
|
||||
this.btnFixLinks.Size = new System.Drawing.Size(280, 23);
|
||||
this.btnFixLinks.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.btnFixLinks, new DevComponents.DotNetBar.SuperTooltipInfo("Process Links", "", "This will run the selected RO Links or Transitions Links tool.\r\n\r\nClick on the on" +
|
||||
"/off switches to turn on/off each tool.\r\n\r\nNote that only one of these tools can" +
|
||||
@@ -808,10 +772,9 @@
|
||||
this.sideNavPanel1.Controls.Add(this.labelX1);
|
||||
this.sideNavPanel1.Controls.Add(this.btnRunCheck);
|
||||
this.sideNavPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNavPanel1.Location = new System.Drawing.Point(134, 48);
|
||||
this.sideNavPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.sideNavPanel1.Location = new System.Drawing.Point(89, 31);
|
||||
this.sideNavPanel1.Name = "sideNavPanel1";
|
||||
this.sideNavPanel1.Size = new System.Drawing.Size(436, 760);
|
||||
this.sideNavPanel1.Size = new System.Drawing.Size(291, 494);
|
||||
this.sideNavPanel1.TabIndex = 2;
|
||||
this.sideNavPanel1.Visible = false;
|
||||
//
|
||||
@@ -820,11 +783,11 @@
|
||||
this.warningBox3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(219)))), ((int)(((byte)(249)))));
|
||||
this.warningBox3.CloseButtonVisible = false;
|
||||
this.warningBox3.Image = ((System.Drawing.Image)(resources.GetObject("warningBox3.Image")));
|
||||
this.warningBox3.Location = new System.Drawing.Point(26, 318);
|
||||
this.warningBox3.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
||||
this.warningBox3.Location = new System.Drawing.Point(17, 207);
|
||||
this.warningBox3.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.warningBox3.Name = "warningBox3";
|
||||
this.warningBox3.OptionsButtonVisible = false;
|
||||
this.warningBox3.Size = new System.Drawing.Size(396, 49);
|
||||
this.warningBox3.Size = new System.Drawing.Size(264, 32);
|
||||
this.warningBox3.TabIndex = 29;
|
||||
this.warningBox3.Text = "<b>NOTE</b> These tools can take a long time to run";
|
||||
//
|
||||
@@ -836,20 +799,18 @@
|
||||
//
|
||||
this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX7.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX7.Location = new System.Drawing.Point(8, 5);
|
||||
this.labelX7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX7.Location = new System.Drawing.Point(5, 3);
|
||||
this.labelX7.Name = "labelX7";
|
||||
this.labelX7.Size = new System.Drawing.Size(376, 34);
|
||||
this.labelX7.Size = new System.Drawing.Size(251, 22);
|
||||
this.labelX7.TabIndex = 19;
|
||||
this.labelX7.Text = "Check for these Data Issues:";
|
||||
//
|
||||
// line1
|
||||
//
|
||||
this.line1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.line1.Location = new System.Drawing.Point(12, 275);
|
||||
this.line1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.line1.Location = new System.Drawing.Point(8, 179);
|
||||
this.line1.Name = "line1";
|
||||
this.line1.Size = new System.Drawing.Size(428, 18);
|
||||
this.line1.Size = new System.Drawing.Size(285, 12);
|
||||
this.line1.TabIndex = 18;
|
||||
this.line1.Text = "line1";
|
||||
//
|
||||
@@ -859,10 +820,9 @@
|
||||
//
|
||||
//
|
||||
this.swCkObsoleteROData.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swCkObsoleteROData.Location = new System.Drawing.Point(15, 152);
|
||||
this.swCkObsoleteROData.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swCkObsoleteROData.Location = new System.Drawing.Point(10, 99);
|
||||
this.swCkObsoleteROData.Name = "swCkObsoleteROData";
|
||||
this.swCkObsoleteROData.Size = new System.Drawing.Size(136, 34);
|
||||
this.swCkObsoleteROData.Size = new System.Drawing.Size(91, 22);
|
||||
this.swCkObsoleteROData.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swCkObsoleteROData, new DevComponents.DotNetBar.SuperTooltipInfo("Obsolete RO Data", "", resources.GetString("swCkObsoleteROData.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 135)));
|
||||
this.swCkObsoleteROData.SwitchClickTogglesValue = true;
|
||||
@@ -877,10 +837,9 @@
|
||||
//
|
||||
//
|
||||
this.swHiddenDataLocs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swHiddenDataLocs.Location = new System.Drawing.Point(15, 109);
|
||||
this.swHiddenDataLocs.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swHiddenDataLocs.Location = new System.Drawing.Point(10, 71);
|
||||
this.swHiddenDataLocs.Name = "swHiddenDataLocs";
|
||||
this.swHiddenDataLocs.Size = new System.Drawing.Size(136, 34);
|
||||
this.swHiddenDataLocs.Size = new System.Drawing.Size(91, 22);
|
||||
this.swHiddenDataLocs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swHiddenDataLocs, new DevComponents.DotNetBar.SuperTooltipInfo("Hidden Data Locations", "", resources.GetString("swHiddenDataLocs.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.swHiddenDataLocs.SwitchClickTogglesValue = true;
|
||||
@@ -897,10 +856,9 @@
|
||||
//
|
||||
this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX3.Location = new System.Drawing.Point(160, 152);
|
||||
this.labelX3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX3.Location = new System.Drawing.Point(107, 99);
|
||||
this.labelX3.Name = "labelX3";
|
||||
this.labelX3.Size = new System.Drawing.Size(231, 34);
|
||||
this.labelX3.Size = new System.Drawing.Size(154, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX3, new DevComponents.DotNetBar.SuperTooltipInfo("Obsolete RO Data", "", resources.GetString("labelX3.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 135)));
|
||||
this.labelX3.TabIndex = 11;
|
||||
this.labelX3.Text = "Obsolete RO Data";
|
||||
@@ -913,10 +871,9 @@
|
||||
//
|
||||
this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX2.Location = new System.Drawing.Point(160, 109);
|
||||
this.labelX2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX2.Location = new System.Drawing.Point(107, 71);
|
||||
this.labelX2.Name = "labelX2";
|
||||
this.labelX2.Size = new System.Drawing.Size(210, 34);
|
||||
this.labelX2.Size = new System.Drawing.Size(140, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX2, new DevComponents.DotNetBar.SuperTooltipInfo("Hidden Data Locations", "", resources.GetString("labelX2.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.labelX2.TabIndex = 12;
|
||||
this.labelX2.Text = "Hidden Data Locations";
|
||||
@@ -927,10 +884,9 @@
|
||||
//
|
||||
//
|
||||
this.swCkOrphanDataRecs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swCkOrphanDataRecs.Location = new System.Drawing.Point(15, 66);
|
||||
this.swCkOrphanDataRecs.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swCkOrphanDataRecs.Location = new System.Drawing.Point(10, 43);
|
||||
this.swCkOrphanDataRecs.Name = "swCkOrphanDataRecs";
|
||||
this.swCkOrphanDataRecs.Size = new System.Drawing.Size(136, 34);
|
||||
this.swCkOrphanDataRecs.Size = new System.Drawing.Size(91, 22);
|
||||
this.swCkOrphanDataRecs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swCkOrphanDataRecs, new DevComponents.DotNetBar.SuperTooltipInfo("Orphan Data Records", "", resources.GetString("swCkOrphanDataRecs.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(275, 193)));
|
||||
this.swCkOrphanDataRecs.SwitchClickTogglesValue = true;
|
||||
@@ -947,10 +903,9 @@
|
||||
//
|
||||
this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX1.Location = new System.Drawing.Point(160, 66);
|
||||
this.labelX1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX1.Location = new System.Drawing.Point(107, 43);
|
||||
this.labelX1.Name = "labelX1";
|
||||
this.labelX1.Size = new System.Drawing.Size(258, 34);
|
||||
this.labelX1.Size = new System.Drawing.Size(172, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("Orphan Data Records", "", resources.GetString("labelX1.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(275, 190)));
|
||||
this.labelX1.TabIndex = 8;
|
||||
this.labelX1.Text = "Orphan Data Records";
|
||||
@@ -961,10 +916,9 @@
|
||||
this.btnRunCheck.Checked = true;
|
||||
this.btnRunCheck.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnRunCheck.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnRunCheck.Location = new System.Drawing.Point(8, 231);
|
||||
this.btnRunCheck.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnRunCheck.Location = new System.Drawing.Point(5, 150);
|
||||
this.btnRunCheck.Name = "btnRunCheck";
|
||||
this.btnRunCheck.Size = new System.Drawing.Size(429, 35);
|
||||
this.btnRunCheck.Size = new System.Drawing.Size(286, 23);
|
||||
this.btnRunCheck.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.btnRunCheck, new DevComponents.DotNetBar.SuperTooltipInfo("Run Check", "", "This will run the database check tools selected.\r\n\r\nClick on the on/off switches " +
|
||||
"to turn on/off each tool.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 100)));
|
||||
@@ -990,10 +944,9 @@
|
||||
this.sideNavPanel2.Controls.Add(this.line2);
|
||||
this.sideNavPanel2.Controls.Add(this.btnRunRepair);
|
||||
this.sideNavPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNavPanel2.Location = new System.Drawing.Point(134, 48);
|
||||
this.sideNavPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.sideNavPanel2.Location = new System.Drawing.Point(89, 31);
|
||||
this.sideNavPanel2.Name = "sideNavPanel2";
|
||||
this.sideNavPanel2.Size = new System.Drawing.Size(436, 760);
|
||||
this.sideNavPanel2.Size = new System.Drawing.Size(291, 494);
|
||||
this.sideNavPanel2.TabIndex = 6;
|
||||
this.sideNavPanel2.Visible = false;
|
||||
//
|
||||
@@ -1003,10 +956,9 @@
|
||||
//
|
||||
//
|
||||
this.swRefreshTblsForSrch.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swRefreshTblsForSrch.Location = new System.Drawing.Point(15, 235);
|
||||
this.swRefreshTblsForSrch.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swRefreshTblsForSrch.Location = new System.Drawing.Point(10, 153);
|
||||
this.swRefreshTblsForSrch.Name = "swRefreshTblsForSrch";
|
||||
this.swRefreshTblsForSrch.Size = new System.Drawing.Size(136, 34);
|
||||
this.swRefreshTblsForSrch.Size = new System.Drawing.Size(91, 22);
|
||||
this.swRefreshTblsForSrch.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swRefreshTblsForSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Refresh Word Attachments", "", resources.GetString("swRefreshTblsForSrch.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(300, 200)));
|
||||
this.swRefreshTblsForSrch.SwitchClickTogglesValue = true;
|
||||
@@ -1023,10 +975,9 @@
|
||||
//
|
||||
this.lblRefreshTblForSrch.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.lblRefreshTblForSrch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblRefreshTblForSrch.Location = new System.Drawing.Point(160, 235);
|
||||
this.lblRefreshTblForSrch.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.lblRefreshTblForSrch.Location = new System.Drawing.Point(107, 153);
|
||||
this.lblRefreshTblForSrch.Name = "lblRefreshTblForSrch";
|
||||
this.lblRefreshTblForSrch.Size = new System.Drawing.Size(279, 34);
|
||||
this.lblRefreshTblForSrch.Size = new System.Drawing.Size(186, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.lblRefreshTblForSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Refresh Word Attachments", "", resources.GetString("lblRefreshTblForSrch.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(300, 200)));
|
||||
this.lblRefreshTblForSrch.TabIndex = 31;
|
||||
this.lblRefreshTblForSrch.Text = "Refresh Tables For Search";
|
||||
@@ -1036,11 +987,11 @@
|
||||
this.warningBox4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(219)))), ((int)(((byte)(249)))));
|
||||
this.warningBox4.CloseButtonVisible = false;
|
||||
this.warningBox4.Image = ((System.Drawing.Image)(resources.GetObject("warningBox4.Image")));
|
||||
this.warningBox4.Location = new System.Drawing.Point(18, 406);
|
||||
this.warningBox4.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
||||
this.warningBox4.Location = new System.Drawing.Point(12, 264);
|
||||
this.warningBox4.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.warningBox4.Name = "warningBox4";
|
||||
this.warningBox4.OptionsButtonVisible = false;
|
||||
this.warningBox4.Size = new System.Drawing.Size(396, 49);
|
||||
this.warningBox4.Size = new System.Drawing.Size(264, 32);
|
||||
this.warningBox4.TabIndex = 30;
|
||||
this.warningBox4.Text = "<b>NOTE</b> These tools can take a long time to run";
|
||||
//
|
||||
@@ -1049,11 +1000,11 @@
|
||||
this.warningBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(219)))), ((int)(((byte)(249)))));
|
||||
this.warningBox2.CloseButtonVisible = false;
|
||||
this.warningBox2.Image = ((System.Drawing.Image)(resources.GetObject("warningBox2.Image")));
|
||||
this.warningBox2.Location = new System.Drawing.Point(18, 465);
|
||||
this.warningBox2.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
||||
this.warningBox2.Location = new System.Drawing.Point(12, 302);
|
||||
this.warningBox2.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.warningBox2.Name = "warningBox2";
|
||||
this.warningBox2.OptionsButtonVisible = false;
|
||||
this.warningBox2.Size = new System.Drawing.Size(396, 66);
|
||||
this.warningBox2.Size = new System.Drawing.Size(264, 43);
|
||||
this.warningBox2.TabIndex = 28;
|
||||
this.warningBox2.Text = " Be sure there is a current backup of the \r\n database prior to running these func" +
|
||||
"tions";
|
||||
@@ -1064,10 +1015,9 @@
|
||||
//
|
||||
//
|
||||
this.swRmObsoleteROData.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swRmObsoleteROData.Location = new System.Drawing.Point(15, 102);
|
||||
this.swRmObsoleteROData.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swRmObsoleteROData.Location = new System.Drawing.Point(10, 66);
|
||||
this.swRmObsoleteROData.Name = "swRmObsoleteROData";
|
||||
this.swRmObsoleteROData.Size = new System.Drawing.Size(136, 34);
|
||||
this.swRmObsoleteROData.Size = new System.Drawing.Size(91, 22);
|
||||
this.swRmObsoleteROData.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swRmObsoleteROData, new DevComponents.DotNetBar.SuperTooltipInfo("Remove Obsolete RO Data", "", resources.GetString("swRmObsoleteROData.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(230, 205)));
|
||||
this.swRmObsoleteROData.SwitchClickTogglesValue = true;
|
||||
@@ -1082,10 +1032,9 @@
|
||||
//
|
||||
//
|
||||
this.swRefreshWordAttmts.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swRefreshWordAttmts.Location = new System.Drawing.Point(15, 188);
|
||||
this.swRefreshWordAttmts.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swRefreshWordAttmts.Location = new System.Drawing.Point(10, 122);
|
||||
this.swRefreshWordAttmts.Name = "swRefreshWordAttmts";
|
||||
this.swRefreshWordAttmts.Size = new System.Drawing.Size(136, 34);
|
||||
this.swRefreshWordAttmts.Size = new System.Drawing.Size(91, 22);
|
||||
this.swRefreshWordAttmts.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swRefreshWordAttmts, new DevComponents.DotNetBar.SuperTooltipInfo("Refresh Word Attachments", "", resources.GetString("swRefreshWordAttmts.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(300, 200)));
|
||||
this.swRefreshWordAttmts.SwitchClickTogglesValue = true;
|
||||
@@ -1100,10 +1049,9 @@
|
||||
//
|
||||
//
|
||||
this.swStandardHypenChars.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swStandardHypenChars.Location = new System.Drawing.Point(15, 145);
|
||||
this.swStandardHypenChars.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swStandardHypenChars.Location = new System.Drawing.Point(10, 94);
|
||||
this.swStandardHypenChars.Name = "swStandardHypenChars";
|
||||
this.swStandardHypenChars.Size = new System.Drawing.Size(136, 34);
|
||||
this.swStandardHypenChars.Size = new System.Drawing.Size(91, 22);
|
||||
this.swStandardHypenChars.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swStandardHypenChars, new DevComponents.DotNetBar.SuperTooltipInfo("Standardize Hyphen Characters", "", resources.GetString("swStandardHypenChars.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(225, 129)));
|
||||
this.swStandardHypenChars.SwitchClickTogglesValue = true;
|
||||
@@ -1120,10 +1068,9 @@
|
||||
//
|
||||
this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX4.Location = new System.Drawing.Point(160, 102);
|
||||
this.labelX4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX4.Location = new System.Drawing.Point(107, 66);
|
||||
this.labelX4.Name = "labelX4";
|
||||
this.labelX4.Size = new System.Drawing.Size(250, 34);
|
||||
this.labelX4.Size = new System.Drawing.Size(167, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX4, new DevComponents.DotNetBar.SuperTooltipInfo("Remove Obsolete RO Data", "", resources.GetString("labelX4.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(230, 205)));
|
||||
this.labelX4.TabIndex = 24;
|
||||
this.labelX4.Text = "Remove Obsolete RO Data";
|
||||
@@ -1136,10 +1083,9 @@
|
||||
//
|
||||
this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX5.Location = new System.Drawing.Point(160, 188);
|
||||
this.labelX5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX5.Location = new System.Drawing.Point(107, 122);
|
||||
this.labelX5.Name = "labelX5";
|
||||
this.labelX5.Size = new System.Drawing.Size(279, 34);
|
||||
this.labelX5.Size = new System.Drawing.Size(186, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX5, new DevComponents.DotNetBar.SuperTooltipInfo("Refresh Word Attachments", "", resources.GetString("labelX5.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(300, 200)));
|
||||
this.labelX5.TabIndex = 25;
|
||||
this.labelX5.Text = "Refresh Word Attachments";
|
||||
@@ -1152,10 +1098,9 @@
|
||||
//
|
||||
this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX9.Location = new System.Drawing.Point(160, 145);
|
||||
this.labelX9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX9.Location = new System.Drawing.Point(107, 94);
|
||||
this.labelX9.Name = "labelX9";
|
||||
this.labelX9.Size = new System.Drawing.Size(279, 34);
|
||||
this.labelX9.Size = new System.Drawing.Size(186, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX9, new DevComponents.DotNetBar.SuperTooltipInfo("Standardize Hyphen Characters", "", resources.GetString("labelX9.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(225, 129)));
|
||||
this.labelX9.TabIndex = 25;
|
||||
this.labelX9.Text = "Standardize Hyphen Characters";
|
||||
@@ -1166,10 +1111,9 @@
|
||||
//
|
||||
//
|
||||
this.swRmOrphanDataRecs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swRmOrphanDataRecs.Location = new System.Drawing.Point(15, 58);
|
||||
this.swRmOrphanDataRecs.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.swRmOrphanDataRecs.Location = new System.Drawing.Point(10, 38);
|
||||
this.swRmOrphanDataRecs.Name = "swRmOrphanDataRecs";
|
||||
this.swRmOrphanDataRecs.Size = new System.Drawing.Size(136, 34);
|
||||
this.swRmOrphanDataRecs.Size = new System.Drawing.Size(91, 22);
|
||||
this.swRmOrphanDataRecs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.swRmOrphanDataRecs, new DevComponents.DotNetBar.SuperTooltipInfo("Remove Orphan Data Records", "", resources.GetString("swRmOrphanDataRecs.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(325, 140)));
|
||||
this.swRmOrphanDataRecs.SwitchClickTogglesValue = true;
|
||||
@@ -1186,10 +1130,9 @@
|
||||
//
|
||||
this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX10.Location = new System.Drawing.Point(160, 58);
|
||||
this.labelX10.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX10.Location = new System.Drawing.Point(107, 38);
|
||||
this.labelX10.Name = "labelX10";
|
||||
this.labelX10.Size = new System.Drawing.Size(276, 34);
|
||||
this.labelX10.Size = new System.Drawing.Size(184, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.labelX10, new DevComponents.DotNetBar.SuperTooltipInfo("Remove Orphan Data Records", "", resources.GetString("labelX10.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(325, 140)));
|
||||
this.labelX10.TabIndex = 22;
|
||||
this.labelX10.Text = "Remove Orphan Data Records";
|
||||
@@ -1202,20 +1145,18 @@
|
||||
//
|
||||
this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX8.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX8.Location = new System.Drawing.Point(8, 5);
|
||||
this.labelX8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.labelX8.Location = new System.Drawing.Point(5, 3);
|
||||
this.labelX8.Name = "labelX8";
|
||||
this.labelX8.Size = new System.Drawing.Size(376, 34);
|
||||
this.labelX8.Size = new System.Drawing.Size(251, 22);
|
||||
this.labelX8.TabIndex = 21;
|
||||
this.labelX8.Text = "Repair these Data Issues:";
|
||||
//
|
||||
// line2
|
||||
//
|
||||
this.line2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.line2.Location = new System.Drawing.Point(6, 365);
|
||||
this.line2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.line2.Location = new System.Drawing.Point(4, 237);
|
||||
this.line2.Name = "line2";
|
||||
this.line2.Size = new System.Drawing.Size(422, 18);
|
||||
this.line2.Size = new System.Drawing.Size(281, 12);
|
||||
this.line2.TabIndex = 20;
|
||||
this.line2.Text = "line2";
|
||||
//
|
||||
@@ -1225,10 +1166,9 @@
|
||||
this.btnRunRepair.Checked = true;
|
||||
this.btnRunRepair.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnRunRepair.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnRunRepair.Location = new System.Drawing.Point(8, 305);
|
||||
this.btnRunRepair.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnRunRepair.Location = new System.Drawing.Point(5, 198);
|
||||
this.btnRunRepair.Name = "btnRunRepair";
|
||||
this.btnRunRepair.Size = new System.Drawing.Size(420, 35);
|
||||
this.btnRunRepair.Size = new System.Drawing.Size(280, 23);
|
||||
this.btnRunRepair.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.btnRunRepair, new DevComponents.DotNetBar.SuperTooltipInfo("Run Repair", "", "This will run the database repair tools selected.\r\n\r\nClick on the on/off switches" +
|
||||
" to turn on/off each tool.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 103)));
|
||||
@@ -1240,10 +1180,9 @@
|
||||
//
|
||||
this.sideNavPanel5.Controls.Add(this.btn_ShowUsers);
|
||||
this.sideNavPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNavPanel5.Location = new System.Drawing.Point(122, 48);
|
||||
this.sideNavPanel5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.sideNavPanel5.Location = new System.Drawing.Point(81, 31);
|
||||
this.sideNavPanel5.Name = "sideNavPanel5";
|
||||
this.sideNavPanel5.Size = new System.Drawing.Size(448, 760);
|
||||
this.sideNavPanel5.Size = new System.Drawing.Size(299, 494);
|
||||
this.sideNavPanel5.TabIndex = 14;
|
||||
this.sideNavPanel5.Visible = false;
|
||||
//
|
||||
@@ -1252,10 +1191,9 @@
|
||||
this.btn_ShowUsers.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btn_ShowUsers.Checked = true;
|
||||
this.btn_ShowUsers.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btn_ShowUsers.Location = new System.Drawing.Point(86, 57);
|
||||
this.btn_ShowUsers.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btn_ShowUsers.Location = new System.Drawing.Point(57, 37);
|
||||
this.btn_ShowUsers.Name = "btn_ShowUsers";
|
||||
this.btn_ShowUsers.Size = new System.Drawing.Size(256, 35);
|
||||
this.btn_ShowUsers.Size = new System.Drawing.Size(171, 23);
|
||||
this.btn_ShowUsers.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.btn_ShowUsers, new DevComponents.DotNetBar.SuperTooltipInfo("Show Users", "", "This will return all of the users currently with open sessions in the database an" +
|
||||
"d the details of any items they have checked out.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 80)));
|
||||
@@ -1338,9 +1276,8 @@
|
||||
this.panelEx4.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelEx4.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelEx4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.panelEx4.Name = "panelEx4";
|
||||
this.panelEx4.Size = new System.Drawing.Size(1766, 87);
|
||||
this.panelEx4.Size = new System.Drawing.Size(1177, 57);
|
||||
this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
@@ -1367,10 +1304,9 @@
|
||||
this.stepItem3,
|
||||
this.stepItem4});
|
||||
this.progressSteps1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||
this.progressSteps1.Location = new System.Drawing.Point(184, 28);
|
||||
this.progressSteps1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.progressSteps1.Location = new System.Drawing.Point(123, 18);
|
||||
this.progressSteps1.Name = "progressSteps1";
|
||||
this.progressSteps1.Size = new System.Drawing.Size(1548, 40);
|
||||
this.progressSteps1.Size = new System.Drawing.Size(1032, 26);
|
||||
this.progressSteps1.TabIndex = 18;
|
||||
//
|
||||
// stepItem1
|
||||
@@ -1409,10 +1345,9 @@
|
||||
//
|
||||
this.lblAdmToolProgressType.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.lblAdmToolProgressType.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblAdmToolProgressType.Location = new System.Drawing.Point(28, 15);
|
||||
this.lblAdmToolProgressType.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.lblAdmToolProgressType.Location = new System.Drawing.Point(19, 10);
|
||||
this.lblAdmToolProgressType.Name = "lblAdmToolProgressType";
|
||||
this.lblAdmToolProgressType.Size = new System.Drawing.Size(147, 52);
|
||||
this.lblAdmToolProgressType.Size = new System.Drawing.Size(98, 34);
|
||||
this.lblAdmToolProgressType.TabIndex = 19;
|
||||
this.lblAdmToolProgressType.Text = "Checking:";
|
||||
//
|
||||
@@ -1428,11 +1363,10 @@
|
||||
//
|
||||
// frmBatchRefresh
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1766, 902);
|
||||
this.ClientSize = new System.Drawing.Size(1177, 586);
|
||||
this.Controls.Add(this.splitContainer3);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "frmBatchRefresh";
|
||||
|
@@ -1,7 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
@@ -10,7 +8,6 @@ using System.IO;
|
||||
using Volian.Controls.Library;
|
||||
using DevComponents.DotNetBar;
|
||||
using JR.Utils.GUI.Forms;
|
||||
using Volian.Controls.Library;
|
||||
using System.Linq;
|
||||
|
||||
namespace VEPROMS
|
||||
@@ -178,6 +175,8 @@ namespace VEPROMS
|
||||
myDocVersions.Clear();
|
||||
FolderInfo fi = FolderInfo.GetTop();
|
||||
|
||||
fi.RefreshChildFolders();
|
||||
|
||||
if (fi.ChildFolderCount > 0)
|
||||
{
|
||||
TreeNode tn = new TreeNode(fi.Name);
|
||||
@@ -233,7 +232,7 @@ namespace VEPROMS
|
||||
loadedWorkingDraft = true;
|
||||
}
|
||||
|
||||
if (tn.Parent != null && !loadedWorkingDraft)
|
||||
if (tn.Parent != null && !loadedWorkingDraft && fi.FolderDocVersionCount == 0)
|
||||
{
|
||||
tn.Remove();
|
||||
}
|
||||
@@ -340,6 +339,8 @@ namespace VEPROMS
|
||||
pbProcess.PerformStep();
|
||||
Application.DoEvents();
|
||||
}
|
||||
|
||||
ClearCache();
|
||||
}
|
||||
|
||||
Application.DoEvents();
|
||||
@@ -387,6 +388,23 @@ namespace VEPROMS
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||
//Clear what we can from the cache
|
||||
//runs after each section
|
||||
private void ClearCache()
|
||||
{
|
||||
txtProcess.AppendText("Reclaiming memory used during previous sections.");
|
||||
|
||||
PartInfo.ClearPartInfoCache();
|
||||
ItemInfo.ClearItemInfoCache();
|
||||
Item.ClearItemCache();
|
||||
ContentInfo.ClearContentInfoCache();
|
||||
GridInfo.ClearGridInfoCache();
|
||||
|
||||
GC.Collect();
|
||||
GC.WaitForPendingFinalizers();
|
||||
}
|
||||
|
||||
//C2022-028 check for Bad RO Links - we will check all of the RO links found in procedure step text
|
||||
//B2022-144 Allow to check individual procedures for bad RO links
|
||||
private void CheckROLinks()
|
||||
@@ -481,12 +499,14 @@ namespace VEPROMS
|
||||
// B2018-002 - Invalid Transitions - Define Transition Refresh Statistics
|
||||
private int numTransProcessed = 0;
|
||||
private int numTransFixed = 0;
|
||||
private int numTransCantFix = 0;
|
||||
private int numTransConverted = 0;
|
||||
// B2018-002 - Invalid Transitions - Initialize Transition Refresh Statistics
|
||||
private void ResetTransNumbers()
|
||||
{
|
||||
numTransProcessed = 0;
|
||||
numTransFixed = 0;
|
||||
numTransCantFix = 0;
|
||||
numTransConverted = 0;
|
||||
}
|
||||
private void RefreshTransitions()
|
||||
@@ -535,11 +555,12 @@ namespace VEPROMS
|
||||
numTransConverted += ProcedureInfo.TranConvertCount;
|
||||
numTransProcessed += ProcedureInfo.TranCheckCount;
|
||||
numTransFixed += ProcedureInfo.TranFixCount;
|
||||
numTransCantFix += ProcedureInfo.TranCantFixCount; //Bad Transition Link
|
||||
pbProcess.PerformStep();
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
if (numTransFixed == 0 && numTransConverted == 0)
|
||||
if (numTransFixed == 0 && numTransConverted == 0 && numTransCantFix == 0)
|
||||
{
|
||||
txtResults.AppendText("No Transitions Needed Updated.");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
@@ -551,16 +572,18 @@ namespace VEPROMS
|
||||
txtProcess.AppendText(string.Format("Transitions Checked: {0}", numTransProcessed));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
// B2018-002 - Invalid Transitions - Display Transition Refresh Statistics
|
||||
txtProcess.AppendText(string.Format("Transitions Correct As Is: {0}", numTransProcessed - (numTransConverted + numTransFixed)));
|
||||
txtProcess.AppendText(string.Format("Transitions Correct As Is: {0}", numTransProcessed - (numTransConverted + numTransFixed + numTransCantFix)));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Transitions Modified: {0}", numTransFixed));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Transitions Converted to text: {0}", numTransConverted));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Transitions Unable to be Automatically Fixed (Annotation: Bad Transition Link): {0}", numTransCantFix));
|
||||
Application.DoEvents();
|
||||
if (pil.Count > 0)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("The batch refresh process was not usccessful for all procedures selected.");
|
||||
sb.AppendLine("The batch refresh process was not successful for all procedures selected.");
|
||||
sb.AppendLine("The following procedures were not able to be refreshed...");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine(sbProcs.ToString());
|
||||
@@ -579,11 +602,11 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
this.Cursor = Cursors.Default;
|
||||
// B2018-002 - Invalid Transitions - Display Transition Refresh Statisitic
|
||||
if (numTransFixed == 0 && numTransConverted == 0)
|
||||
// B2018-002 - Invalid Transitions - Display Transition Refresh Statistic
|
||||
if (numTransFixed == 0 && numTransConverted == 0 && numTransCantFix == 0)
|
||||
MessageBox.Show(string.Format("{0} Transitions Checked.\n\nNo Transitions Modified.", numTransProcessed), "Refresh Transitions Completed");
|
||||
else
|
||||
MessageBox.Show(string.Format("{0} Transitions Checked.\n\n {1} Correct as is.\n\n {2} Transitions modified.\n\n {3} Transitions converted to text.", numTransProcessed, numTransProcessed - (numTransFixed + numTransConverted), numTransFixed, numTransConverted), "Refresh Transitions Completed");
|
||||
MessageBox.Show(string.Format("{0} Transitions Checked.\n\n {1} Correct as is.\n\n {2} Transitions modified.\n\n {3} Transitions converted to text.\n\n {4} Transitions unable to be automatically fixed (Annotation: Bad Transition Link).", numTransProcessed, numTransProcessed - (numTransFixed + numTransConverted + numTransCantFix), numTransFixed, numTransConverted, numTransCantFix), "Refresh Transitions Completed");
|
||||
}
|
||||
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
@@ -995,6 +1018,9 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||
//clear the list since no longer using it
|
||||
myItems.Clear();
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
@@ -1081,6 +1107,7 @@ namespace VEPROMS
|
||||
}
|
||||
roFstInfo.ROTableUpdate += new ROFstInfoROTableUpdateEvent(roFstInfo_ROTableUpdate);
|
||||
ROFst newrofst = ROFstInfo.RefreshROFst(dv, roFstInfo, DoProgressBarRefresh, txtProcess);
|
||||
//ROFst newrofst = ROFstInfo.RefreshROFst(dv, roFstInfo, DoProgressBarRefresh, null);
|
||||
roFstInfo.ROTableUpdate -= new ROFstInfoROTableUpdateEvent(roFstInfo_ROTableUpdate);
|
||||
}
|
||||
|
||||
@@ -1103,8 +1130,7 @@ namespace VEPROMS
|
||||
ProcedureInfo.RefreshTransitions(pq);//, transitionsToDisconnected, transitionsToNonEditable);
|
||||
TimeSpan ts = DateTime.Now - start;
|
||||
// B2018-002 - Invalid Transitions - Display Transition Refresh Statistics
|
||||
txtProcess.AppendText(string.Format("Procedure: {1}{0}Checked {2} Transitions{0}Fixed {3} Transitions{0}Converted to Text {4} Transitions{0}Elapsed Seconds:{5}{0}{0}", Environment.NewLine, pq.DisplayNumber, ProcedureInfo.TranCheckCount, ProcedureInfo.TranFixCount, ProcedureInfo.TranConvertCount, ts.TotalSeconds));
|
||||
//Console.WriteLine("\"{0}\"\t{1}\t{2}\t{3}\t{4}\t{5}\t{6}\t{7}", pq.DisplayNumber, ProcedureInfo.TranCheckCount, ProcedureInfo.TranFixCount, ProcedureInfo.TranConvertCount, ts.TotalSeconds, numTransProcessed, numTransFixed, numTransConverted);
|
||||
txtProcess.AppendText(string.Format("Procedure: {1}{0}Checked {2} Transitions{0}Fixed {3} Transitions{0}Converted to Text {4} Transitions{0}Cant Fix (Annotation: Bad Transition Link) {5} Transitions{0}Elapsed Seconds:{6}{0}{0}", Environment.NewLine, pq.DisplayNumber, ProcedureInfo.TranCheckCount, ProcedureInfo.TranFixCount, ProcedureInfo.TranConvertCount, ProcedureInfo.TranCantFixCount, ts.TotalSeconds));
|
||||
if (myFixes.Length > 0)
|
||||
{
|
||||
txtResults.AppendText(myFixes.ToString());
|
||||
@@ -1970,6 +1996,19 @@ namespace VEPROMS
|
||||
pil.Add(myProcedures[tn]);
|
||||
return pil;
|
||||
}
|
||||
|
||||
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||
private void txtProcess_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
//clears the stack to help with memory - should never need to undo text changes to this.
|
||||
txtProcess.ClearUndo();
|
||||
}
|
||||
|
||||
private void txtResults_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
//clears the stack to help with memory - should never need to undo text changes to this.
|
||||
txtResults.ClearUndo();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -183,19 +183,19 @@ It is recommended that this be done during off hours.
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="warningBox5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAplJREFUOE+N
|
||||
k11IU2Ecxv9zouK8CULrzo8SU3QKaSYmOJ2uFL8SK4igEIok6qKUwggySTShC41CRiiGdWNfYBcVWiGl
|
||||
FqN0lh+UTaekzuWcuu2c9316nSdKLPEHz817/s/zPv9zOPQ/nlVQEGulF3ILPe+8SIHK8eYR5lusLwHy
|
||||
Oy08RqpXjjfHVCMlsydbGbekg4/r4HmwRbLWUZzyeGNqD5NK1O5lw8L8NQHckgh5SAdXA3UqIxuzZKSj
|
||||
8ssI8Il9wMQeYDoVfD4HrsdhsNdRgTL2b4yl5Ce1qL+xcQOWxpKxMzwAMVEayIv7IU8XwVnv8+XuEfJV
|
||||
xtfjMlKZ/CYG3JYJ96wOPj6EoCBfMCkfnJdguSMG89eoVBlfS+tJCpCafa1stgBYzAZbzoFGo0ZIiD84
|
||||
KwJ350P+UQxHtfr7vUPkp9j+4GqiM1K3FtyVB8h5wlSI4GB/RIQHgjtzwWaywMb1WHwYg7lKOq3YVrlz
|
||||
jPw8RrWFOUoAJhpwcaNciNDQQMRGB4FNpIMNp4B93A2pXw/7ZbWlufCvFguNdNzzOta7J5S6fP4AdkVq
|
||||
kKQVAQNJYO8TwHq0kD8kwdkWhZkLdMJrrsonlfu2yszmSsA9Bat1p0XdsTTcvxmJtpowyL1ar/m3PKYM
|
||||
2MpVgzcySUWTdWRwd+wAXzoo3r5B7CnqDqVg+lW89yuoVARrR/SaANm0F46mUFjOUjYtN9BTaVQYJzPA
|
||||
RlPB+hNF3XjvP3C9bDuqTm2D9DZuTcCKXN1psJ2ndhGgnpJGciENGyB9zoJk1kMezFonySw0oIf0KVOs
|
||||
oIO7L3MlYITstVTsrKNHCzXU5aimnvmrZPp5hfrtlWS2X6LBuQoatJWTWQz3C5mEeoS6hNqt5yj7FysJ
|
||||
zJwL4b/EAAAAAElFTkSuQmCC
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAp5JREFUOE+F
|
||||
k11Ik1Ecxv9zouJ2E4TWnR8V5tAppJmYsLnNlaLTxAoiKIQiibpYSmEEmSSa0IVGISMUw7rpE+yiQiuk
|
||||
/IhROssPyjanpL4udeq29z3nCdcH+Wb1g+fq/zzP+R8Oh+gvPK4kNWujp1IrPek8S5Hy+X9hbXSN9aVC
|
||||
eq1FwEYN8vk/mWqiDPZwI+NOHbhLj8CdDaK7npLlvnWpO0AKqZV62YgO/GMquDMN0rAevkbqlHvXZdlG
|
||||
h6Rn8eATu4GJncB0Fvh8HnwPYuGpJ4vcvwZbGYWJrcpPzGXG8ngGtsZFQJOggrS0B9J0MbwNIR9uHqRQ
|
||||
ee4XPhuVSy814IIB/lk9QkIIanUomFgIzkux0qHB/CUqk+eCtB2jCLEl1M1mLcBSLthKHlQqJaKjw8FZ
|
||||
Mbi/ENKXEizUKD/f2k9h8jz5mumk2K0F9xUAUgE4K0JUVDji4yLBvflgMyYwlxFL9zSYq6ITa8I3DlNY
|
||||
wKZ0soVSgFkAXgwuFSEmJhJJiWqwCR3YSCbY2x0QB4zwnFc6W4p+22KxiY4EXiQF74kf6/L5vdi+TYV0
|
||||
rRpsMB2sPxWsRwvpTTq87QmYOUNHg+HqQlL4ryscbK4UPGD5vu60CWw8G7evbkN7bSykXm0w/FMBew6E
|
||||
CsXQFQMpaLKezP6OLeDL+8AFM5hLBzaciennKcFXUCgI7o7ENQWSfRcWmmPgPEW5tNJIj8QxM9hkDthY
|
||||
FthAGlh/SvAPXC7fjOrjmyC+Sl5TsCpfdzYEK92llUbllDiaD3HEDPG9CaLDCGnI9IdEhwnioBHiOwMC
|
||||
dj38fYbVglHy1FGJt57uL9ZS10IN9cxfJPvXCzTgqSKH5xwNzVXSkFBBDsFKA4KV7IKVegQrda2e7j5N
|
||||
ud8AKwnMnBpmYFAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="swUpdateROVals.SuperTooltip" xml:space="preserve">
|
||||
@@ -230,36 +230,36 @@ If more than one procedure is selected, it is recommended that this be performed
|
||||
</data>
|
||||
<data name="warningBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAplJREFUOE+N
|
||||
k11IU2Ecxv9zouK8CULrzo8SU3QKaSYmOJ2uFL8SK4igEIok6qKUwggySTShC41CRiiGdWNfYBcVWiGl
|
||||
FqN0lh+UTaekzuWcuu2c9316nSdKLPEHz817/s/zPv9zOPQ/nlVQEGulF3ILPe+8SIHK8eYR5lusLwHy
|
||||
Oy08RqpXjjfHVCMlsydbGbekg4/r4HmwRbLWUZzyeGNqD5NK1O5lw8L8NQHckgh5SAdXA3UqIxuzZKSj
|
||||
8ssI8Il9wMQeYDoVfD4HrsdhsNdRgTL2b4yl5Ce1qL+xcQOWxpKxMzwAMVEayIv7IU8XwVnv8+XuEfJV
|
||||
xtfjMlKZ/CYG3JYJ96wOPj6EoCBfMCkfnJdguSMG89eoVBlfS+tJCpCafa1stgBYzAZbzoFGo0ZIiD84
|
||||
KwJ350P+UQxHtfr7vUPkp9j+4GqiM1K3FtyVB8h5wlSI4GB/RIQHgjtzwWaywMb1WHwYg7lKOq3YVrlz
|
||||
jPw8RrWFOUoAJhpwcaNciNDQQMRGB4FNpIMNp4B93A2pXw/7ZbWlufCvFguNdNzzOta7J5S6fP4AdkVq
|
||||
kKQVAQNJYO8TwHq0kD8kwdkWhZkLdMJrrsonlfu2yszmSsA9Bat1p0XdsTTcvxmJtpowyL1ar/m3PKYM
|
||||
2MpVgzcySUWTdWRwd+wAXzoo3r5B7CnqDqVg+lW89yuoVARrR/SaANm0F46mUFjOUjYtN9BTaVQYJzPA
|
||||
RlPB+hNF3XjvP3C9bDuqTm2D9DZuTcCKXN1psJ2ndhGgnpJGciENGyB9zoJk1kMezFonySw0oIf0KVOs
|
||||
oIO7L3MlYITstVTsrKNHCzXU5aimnvmrZPp5hfrtlWS2X6LBuQoatJWTWQz3C5mEeoS6hNqt5yj7FysJ
|
||||
zJwL4b/EAAAAAElFTkSuQmCC
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAp5JREFUOE+F
|
||||
k11Ik1Ecxv9zouJ2E4TWnR8V5tAppJmYsLnNlaLTxAoiKIQiibpYSmEEmSSa0IVGISMUw7rpE+yiQiuk
|
||||
/IhROssPyjanpL4udeq29z3nCdcH+Wb1g+fq/zzP+R8Oh+gvPK4kNWujp1IrPek8S5Hy+X9hbXSN9aVC
|
||||
eq1FwEYN8vk/mWqiDPZwI+NOHbhLj8CdDaK7npLlvnWpO0AKqZV62YgO/GMquDMN0rAevkbqlHvXZdlG
|
||||
h6Rn8eATu4GJncB0Fvh8HnwPYuGpJ4vcvwZbGYWJrcpPzGXG8ngGtsZFQJOggrS0B9J0MbwNIR9uHqRQ
|
||||
ee4XPhuVSy814IIB/lk9QkIIanUomFgIzkux0qHB/CUqk+eCtB2jCLEl1M1mLcBSLthKHlQqJaKjw8FZ
|
||||
Mbi/ENKXEizUKD/f2k9h8jz5mumk2K0F9xUAUgE4K0JUVDji4yLBvflgMyYwlxFL9zSYq6ITa8I3DlNY
|
||||
wKZ0soVSgFkAXgwuFSEmJhJJiWqwCR3YSCbY2x0QB4zwnFc6W4p+22KxiY4EXiQF74kf6/L5vdi+TYV0
|
||||
rRpsMB2sPxWsRwvpTTq87QmYOUNHg+HqQlL4ryscbK4UPGD5vu60CWw8G7evbkN7bSykXm0w/FMBew6E
|
||||
CsXQFQMpaLKezP6OLeDL+8AFM5hLBzaciennKcFXUCgI7o7ENQWSfRcWmmPgPEW5tNJIj8QxM9hkDthY
|
||||
FthAGlh/SvAPXC7fjOrjmyC+Sl5TsCpfdzYEK92llUbllDiaD3HEDPG9CaLDCGnI9IdEhwnioBHiOwMC
|
||||
dj38fYbVglHy1FGJt57uL9ZS10IN9cxfJPvXCzTgqSKH5xwNzVXSkFBBDsFKA4KV7IKVegQrda2e7j5N
|
||||
ud8AKwnMnBpmYFAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="warningBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAplJREFUOE+N
|
||||
k11IU2Ecxv9zouK8CULrzo8SU3QKaSYmOJ2uFL8SK4igEIok6qKUwggySTShC41CRiiGdWNfYBcVWiGl
|
||||
FqN0lh+UTaekzuWcuu2c9316nSdKLPEHz817/s/zPv9zOPQ/nlVQEGulF3ILPe+8SIHK8eYR5lusLwHy
|
||||
Oy08RqpXjjfHVCMlsydbGbekg4/r4HmwRbLWUZzyeGNqD5NK1O5lw8L8NQHckgh5SAdXA3UqIxuzZKSj
|
||||
8ssI8Il9wMQeYDoVfD4HrsdhsNdRgTL2b4yl5Ce1qL+xcQOWxpKxMzwAMVEayIv7IU8XwVnv8+XuEfJV
|
||||
xtfjMlKZ/CYG3JYJ96wOPj6EoCBfMCkfnJdguSMG89eoVBlfS+tJCpCafa1stgBYzAZbzoFGo0ZIiD84
|
||||
KwJ350P+UQxHtfr7vUPkp9j+4GqiM1K3FtyVB8h5wlSI4GB/RIQHgjtzwWaywMb1WHwYg7lKOq3YVrlz
|
||||
jPw8RrWFOUoAJhpwcaNciNDQQMRGB4FNpIMNp4B93A2pXw/7ZbWlufCvFguNdNzzOta7J5S6fP4AdkVq
|
||||
kKQVAQNJYO8TwHq0kD8kwdkWhZkLdMJrrsonlfu2yszmSsA9Bat1p0XdsTTcvxmJtpowyL1ar/m3PKYM
|
||||
2MpVgzcySUWTdWRwd+wAXzoo3r5B7CnqDqVg+lW89yuoVARrR/SaANm0F46mUFjOUjYtN9BTaVQYJzPA
|
||||
RlPB+hNF3XjvP3C9bDuqTm2D9DZuTcCKXN1psJ2ndhGgnpJGciENGyB9zoJk1kMezFonySw0oIf0KVOs
|
||||
oIO7L3MlYITstVTsrKNHCzXU5aimnvmrZPp5hfrtlWS2X6LBuQoatJWTWQz3C5mEeoS6hNqt5yj7FysJ
|
||||
zJwL4b/EAAAAAElFTkSuQmCC
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAp5JREFUOE+F
|
||||
k11Ik1Ecxv9zouJ2E4TWnR8V5tAppJmYsLnNlaLTxAoiKIQiibpYSmEEmSSa0IVGISMUw7rpE+yiQiuk
|
||||
/IhROssPyjanpL4udeq29z3nCdcH+Wb1g+fq/zzP+R8Oh+gvPK4kNWujp1IrPek8S5Hy+X9hbXSN9aVC
|
||||
eq1FwEYN8vk/mWqiDPZwI+NOHbhLj8CdDaK7npLlvnWpO0AKqZV62YgO/GMquDMN0rAevkbqlHvXZdlG
|
||||
h6Rn8eATu4GJncB0Fvh8HnwPYuGpJ4vcvwZbGYWJrcpPzGXG8ngGtsZFQJOggrS0B9J0MbwNIR9uHqRQ
|
||||
ee4XPhuVSy814IIB/lk9QkIIanUomFgIzkux0qHB/CUqk+eCtB2jCLEl1M1mLcBSLthKHlQqJaKjw8FZ
|
||||
Mbi/ENKXEizUKD/f2k9h8jz5mumk2K0F9xUAUgE4K0JUVDji4yLBvflgMyYwlxFL9zSYq6ITa8I3DlNY
|
||||
wKZ0soVSgFkAXgwuFSEmJhJJiWqwCR3YSCbY2x0QB4zwnFc6W4p+22KxiY4EXiQF74kf6/L5vdi+TYV0
|
||||
rRpsMB2sPxWsRwvpTTq87QmYOUNHg+HqQlL4ryscbK4UPGD5vu60CWw8G7evbkN7bSykXm0w/FMBew6E
|
||||
CsXQFQMpaLKezP6OLeDL+8AFM5hLBzaciennKcFXUCgI7o7ENQWSfRcWmmPgPEW5tNJIj8QxM9hkDthY
|
||||
FthAGlh/SvAPXC7fjOrjmyC+Sl5TsCpfdzYEK92llUbllDiaD3HEDPG9CaLDCGnI9IdEhwnioBHiOwMC
|
||||
dj38fYbVglHy1FGJt57uL9ZS10IN9cxfJPvXCzTgqSKH5xwNzVXSkFBBDsFKA4KV7IKVegQrda2e7j5N
|
||||
ud8AKwnMnBpmYFAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="swCkObsoleteROData.SuperTooltip" xml:space="preserve">
|
||||
@@ -324,36 +324,36 @@ This function will remove all of the saved attachment PDFS stored in the databas
|
||||
</data>
|
||||
<data name="warningBox4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAplJREFUOE+N
|
||||
k11IU2Ecxv9zouK8CULrzo8SU3QKaSYmOJ2uFL8SK4igEIok6qKUwggySTShC41CRiiGdWNfYBcVWiGl
|
||||
FqN0lh+UTaekzuWcuu2c9316nSdKLPEHz817/s/zPv9zOPQ/nlVQEGulF3ILPe+8SIHK8eYR5lusLwHy
|
||||
Oy08RqpXjjfHVCMlsydbGbekg4/r4HmwRbLWUZzyeGNqD5NK1O5lw8L8NQHckgh5SAdXA3UqIxuzZKSj
|
||||
8ssI8Il9wMQeYDoVfD4HrsdhsNdRgTL2b4yl5Ce1qL+xcQOWxpKxMzwAMVEayIv7IU8XwVnv8+XuEfJV
|
||||
xtfjMlKZ/CYG3JYJ96wOPj6EoCBfMCkfnJdguSMG89eoVBlfS+tJCpCafa1stgBYzAZbzoFGo0ZIiD84
|
||||
KwJ350P+UQxHtfr7vUPkp9j+4GqiM1K3FtyVB8h5wlSI4GB/RIQHgjtzwWaywMb1WHwYg7lKOq3YVrlz
|
||||
jPw8RrWFOUoAJhpwcaNciNDQQMRGB4FNpIMNp4B93A2pXw/7ZbWlufCvFguNdNzzOta7J5S6fP4AdkVq
|
||||
kKQVAQNJYO8TwHq0kD8kwdkWhZkLdMJrrsonlfu2yszmSsA9Bat1p0XdsTTcvxmJtpowyL1ar/m3PKYM
|
||||
2MpVgzcySUWTdWRwd+wAXzoo3r5B7CnqDqVg+lW89yuoVARrR/SaANm0F46mUFjOUjYtN9BTaVQYJzPA
|
||||
RlPB+hNF3XjvP3C9bDuqTm2D9DZuTcCKXN1psJ2ndhGgnpJGciENGyB9zoJk1kMezFonySw0oIf0KVOs
|
||||
oIO7L3MlYITstVTsrKNHCzXU5aimnvmrZPp5hfrtlWS2X6LBuQoatJWTWQz3C5mEeoS6hNqt5yj7FysJ
|
||||
zJwL4b/EAAAAAElFTkSuQmCC
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAp5JREFUOE+F
|
||||
k11Ik1Ecxv9zouJ2E4TWnR8V5tAppJmYsLnNlaLTxAoiKIQiibpYSmEEmSSa0IVGISMUw7rpE+yiQiuk
|
||||
/IhROssPyjanpL4udeq29z3nCdcH+Wb1g+fq/zzP+R8Oh+gvPK4kNWujp1IrPek8S5Hy+X9hbXSN9aVC
|
||||
eq1FwEYN8vk/mWqiDPZwI+NOHbhLj8CdDaK7npLlvnWpO0AKqZV62YgO/GMquDMN0rAevkbqlHvXZdlG
|
||||
h6Rn8eATu4GJncB0Fvh8HnwPYuGpJ4vcvwZbGYWJrcpPzGXG8ngGtsZFQJOggrS0B9J0MbwNIR9uHqRQ
|
||||
ee4XPhuVSy814IIB/lk9QkIIanUomFgIzkux0qHB/CUqk+eCtB2jCLEl1M1mLcBSLthKHlQqJaKjw8FZ
|
||||
Mbi/ENKXEizUKD/f2k9h8jz5mumk2K0F9xUAUgE4K0JUVDji4yLBvflgMyYwlxFL9zSYq6ITa8I3DlNY
|
||||
wKZ0soVSgFkAXgwuFSEmJhJJiWqwCR3YSCbY2x0QB4zwnFc6W4p+22KxiY4EXiQF74kf6/L5vdi+TYV0
|
||||
rRpsMB2sPxWsRwvpTTq87QmYOUNHg+HqQlL4ryscbK4UPGD5vu60CWw8G7evbkN7bSykXm0w/FMBew6E
|
||||
CsXQFQMpaLKezP6OLeDL+8AFM5hLBzaciennKcFXUCgI7o7ENQWSfRcWmmPgPEW5tNJIj8QxM9hkDthY
|
||||
FthAGlh/SvAPXC7fjOrjmyC+Sl5TsCpfdzYEK92llUbllDiaD3HEDPG9CaLDCGnI9IdEhwnioBHiOwMC
|
||||
dj38fYbVglHy1FGJt57uL9ZS10IN9cxfJPvXCzTgqSKH5xwNzVXSkFBBDsFKA4KV7IKVegQrda2e7j5N
|
||||
ud8AKwnMnBpmYFAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="warningBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAplJREFUOE+N
|
||||
k11IU2Ecxv9zouK8CULrzo8SU3QKaSYmOJ2uFL8SK4igEIok6qKUwggySTShC41CRiiGdWNfYBcVWiGl
|
||||
FqN0lh+UTaekzuWcuu2c9316nSdKLPEHz817/s/zPv9zOPQ/nlVQEGulF3ILPe+8SIHK8eYR5lusLwHy
|
||||
Oy08RqpXjjfHVCMlsydbGbekg4/r4HmwRbLWUZzyeGNqD5NK1O5lw8L8NQHckgh5SAdXA3UqIxuzZKSj
|
||||
8ssI8Il9wMQeYDoVfD4HrsdhsNdRgTL2b4yl5Ce1qL+xcQOWxpKxMzwAMVEayIv7IU8XwVnv8+XuEfJV
|
||||
xtfjMlKZ/CYG3JYJ96wOPj6EoCBfMCkfnJdguSMG89eoVBlfS+tJCpCafa1stgBYzAZbzoFGo0ZIiD84
|
||||
KwJ350P+UQxHtfr7vUPkp9j+4GqiM1K3FtyVB8h5wlSI4GB/RIQHgjtzwWaywMb1WHwYg7lKOq3YVrlz
|
||||
jPw8RrWFOUoAJhpwcaNciNDQQMRGB4FNpIMNp4B93A2pXw/7ZbWlufCvFguNdNzzOta7J5S6fP4AdkVq
|
||||
kKQVAQNJYO8TwHq0kD8kwdkWhZkLdMJrrsonlfu2yszmSsA9Bat1p0XdsTTcvxmJtpowyL1ar/m3PKYM
|
||||
2MpVgzcySUWTdWRwd+wAXzoo3r5B7CnqDqVg+lW89yuoVARrR/SaANm0F46mUFjOUjYtN9BTaVQYJzPA
|
||||
RlPB+hNF3XjvP3C9bDuqTm2D9DZuTcCKXN1psJ2ndhGgnpJGciENGyB9zoJk1kMezFonySw0oIf0KVOs
|
||||
oIO7L3MlYITstVTsrKNHCzXU5aimnvmrZPp5hfrtlWS2X6LBuQoatJWTWQz3C5mEeoS6hNqt5yj7FysJ
|
||||
zJwL4b/EAAAAAElFTkSuQmCC
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAp5JREFUOE+F
|
||||
k11Ik1Ecxv9zouJ2E4TWnR8V5tAppJmYsLnNlaLTxAoiKIQiibpYSmEEmSSa0IVGISMUw7rpE+yiQiuk
|
||||
/IhROssPyjanpL4udeq29z3nCdcH+Wb1g+fq/zzP+R8Oh+gvPK4kNWujp1IrPek8S5Hy+X9hbXSN9aVC
|
||||
eq1FwEYN8vk/mWqiDPZwI+NOHbhLj8CdDaK7npLlvnWpO0AKqZV62YgO/GMquDMN0rAevkbqlHvXZdlG
|
||||
h6Rn8eATu4GJncB0Fvh8HnwPYuGpJ4vcvwZbGYWJrcpPzGXG8ngGtsZFQJOggrS0B9J0MbwNIR9uHqRQ
|
||||
ee4XPhuVSy814IIB/lk9QkIIanUomFgIzkux0qHB/CUqk+eCtB2jCLEl1M1mLcBSLthKHlQqJaKjw8FZ
|
||||
Mbi/ENKXEizUKD/f2k9h8jz5mumk2K0F9xUAUgE4K0JUVDji4yLBvflgMyYwlxFL9zSYq6ITa8I3DlNY
|
||||
wKZ0soVSgFkAXgwuFSEmJhJJiWqwCR3YSCbY2x0QB4zwnFc6W4p+22KxiY4EXiQF74kf6/L5vdi+TYV0
|
||||
rRpsMB2sPxWsRwvpTTq87QmYOUNHg+HqQlL4ryscbK4UPGD5vu60CWw8G7evbkN7bSykXm0w/FMBew6E
|
||||
CsXQFQMpaLKezP6OLeDL+8AFM5hLBzaciennKcFXUCgI7o7ENQWSfRcWmmPgPEW5tNJIj8QxM9hkDthY
|
||||
FthAGlh/SvAPXC7fjOrjmyC+Sl5TsCpfdzYEK92llUbllDiaD3HEDPG9CaLDCGnI9IdEhwnioBHiOwMC
|
||||
dj38fYbVglHy1FGJt57uL9ZS10IN9cxfJPvXCzTgqSKH5xwNzVXSkFBBDsFKA4KV7IKVegQrda2e7j5N
|
||||
ud8AKwnMnBpmYFAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="swRmObsoleteROData.SuperTooltip" xml:space="preserve">
|
||||
|
@@ -88,6 +88,12 @@ namespace VEPROMS
|
||||
this.btnFormat = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
|
||||
this.tcSectionProp = new DevComponents.DotNetBar.TabControl();
|
||||
this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.ppCbShowRplWords = new System.Windows.Forms.CheckBox();
|
||||
this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.ppCbAutoIndent = new System.Windows.Forms.CheckBox();
|
||||
this.ppCbEditableData = new System.Windows.Forms.CheckBox();
|
||||
@@ -95,11 +101,6 @@ namespace VEPROMS
|
||||
this.ppSectNumberStpRTB = new Volian.Controls.Library.StepRTB(this.components);
|
||||
this.ppSectTitleStpRTB = new Volian.Controls.Library.StepRTB(this.components);
|
||||
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.ppCbNoDuplexFoldout = new System.Windows.Forms.CheckBox();
|
||||
this.gpTOC = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
@@ -120,9 +121,9 @@ namespace VEPROMS
|
||||
this.panSectBtns.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit();
|
||||
this.tcSectionProp.SuspendLayout();
|
||||
this.tcpGeneral.SuspendLayout();
|
||||
this.tcpFormat.SuspendLayout();
|
||||
this.ppGpbxSignoffCheckoff.SuspendLayout();
|
||||
this.tcpGeneral.SuspendLayout();
|
||||
this.tcpAutomation.SuspendLayout();
|
||||
this.gpTOC.SuspendLayout();
|
||||
this.grpLnkEnh.SuspendLayout();
|
||||
@@ -871,8 +872,8 @@ namespace VEPROMS
|
||||
this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tcSectionProp.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tcSectionProp.CanReorderTabs = true;
|
||||
this.tcSectionProp.Controls.Add(this.tcpGeneral);
|
||||
this.tcSectionProp.Controls.Add(this.tcpFormat);
|
||||
this.tcSectionProp.Controls.Add(this.tcpGeneral);
|
||||
this.tcSectionProp.Controls.Add(this.tcpAutomation);
|
||||
this.tcSectionProp.Controls.Add(this.tcpLibDoc);
|
||||
this.tcSectionProp.Controls.Add(this.tabControlPanel4);
|
||||
@@ -892,6 +893,151 @@ namespace VEPROMS
|
||||
this.tcSectionProp.TabsVisible = false;
|
||||
this.tcSectionProp.Text = "tabControl2";
|
||||
//
|
||||
// tcpFormat
|
||||
//
|
||||
this.tcpFormat.Controls.Add(this.ppCbShowRplWords);
|
||||
this.tcpFormat.Controls.Add(this.cbIsFoldoutSection);
|
||||
this.tcpFormat.Controls.Add(this.ppCbDefaultStepSection);
|
||||
this.tcpFormat.Controls.Add(this.cbKeepWordDocMargins);
|
||||
this.tcpFormat.Controls.Add(this.ppLblDefaultNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppLblDefPaginationStyle);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultPaginationStyle);
|
||||
this.tcpFormat.Controls.Add(this.rbWordSect);
|
||||
this.tcpFormat.Controls.Add(this.rbStepSect);
|
||||
this.tcpFormat.Controls.Add(this.ppGpbxSignoffCheckoff);
|
||||
this.tcpFormat.Controls.Add(this.lblFormat);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.lblColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxSectPagination);
|
||||
this.tcpFormat.Controls.Add(this.lblSectType);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxStyleSectionType);
|
||||
this.tcpFormat.Controls.Add(this.lblPagination);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultFmt);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxFormat);
|
||||
this.tcpFormat.Controls.Add(this.ppLblFormatDefault);
|
||||
this.tcpFormat.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpFormat.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpFormat.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpFormat.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpFormat.Name = "tcpFormat";
|
||||
this.tcpFormat.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpFormat.Size = new System.Drawing.Size(557, 318);
|
||||
this.tcpFormat.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpFormat.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpFormat.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpFormat.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpFormat.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpFormat.Style.GradientAngle = 90;
|
||||
this.tcpFormat.TabIndex = 2;
|
||||
this.tcpFormat.TabItem = this.tiFormat;
|
||||
this.tcpFormat.Enter += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// ppCbShowRplWords
|
||||
//
|
||||
this.ppCbShowRplWords.AutoSize = true;
|
||||
this.ppCbShowRplWords.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppCbShowRplWords.Location = new System.Drawing.Point(272, 252);
|
||||
this.ppCbShowRplWords.Name = "ppCbShowRplWords";
|
||||
this.ppCbShowRplWords.Size = new System.Drawing.Size(130, 17);
|
||||
this.ppCbShowRplWords.TabIndex = 62;
|
||||
this.ppCbShowRplWords.Text = "Show Replace Words";
|
||||
this.ppCbShowRplWords.UseVisualStyleBackColor = false;
|
||||
this.ppCbShowRplWords.CheckedChanged += new System.EventHandler(this.ppCbShowRplWords_CheckedChanged);
|
||||
//
|
||||
// rbWordSect
|
||||
//
|
||||
this.rbWordSect.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.rbWordSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.rbWordSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.rbWordSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rbWordSect.Location = new System.Drawing.Point(247, 60);
|
||||
this.rbWordSect.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.rbWordSect.Name = "rbWordSect";
|
||||
this.rbWordSect.Size = new System.Drawing.Size(88, 19);
|
||||
this.rbWordSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.rbWordSect.TabIndex = 23;
|
||||
this.rbWordSect.TabStop = false;
|
||||
this.rbWordSect.Text = "Word Section";
|
||||
//
|
||||
// rbStepSect
|
||||
//
|
||||
this.rbStepSect.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.rbStepSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.rbStepSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.rbStepSect.Checked = true;
|
||||
this.rbStepSect.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.rbStepSect.CheckValue = "Y";
|
||||
this.rbStepSect.FocusCuesEnabled = false;
|
||||
this.rbStepSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rbStepSect.Location = new System.Drawing.Point(138, 60);
|
||||
this.rbStepSect.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.rbStepSect.Name = "rbStepSect";
|
||||
this.rbStepSect.Size = new System.Drawing.Size(86, 19);
|
||||
this.rbStepSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.rbStepSect.TabIndex = 22;
|
||||
this.rbStepSect.TabStop = false;
|
||||
this.rbStepSect.Text = "Step Section";
|
||||
this.rbStepSect.CheckedChanged += new System.EventHandler(this.rbStepSect_CheckedChanged);
|
||||
//
|
||||
// ppGpbxSignoffCheckoff
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppGpbxSignoffCheckoff.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.ppGpbxSignoffCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffHeading);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffType);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffHeading);
|
||||
this.ppGpbxSignoffCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(272, 123);
|
||||
this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff";
|
||||
this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(206, 117);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColorGradientAngle = 90;
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderBottomWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderLeftWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderRightWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderTopWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.CornerDiameter = 4;
|
||||
this.ppGpbxSignoffCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppGpbxSignoffCheckoff.TabIndex = 51;
|
||||
this.ppGpbxSignoffCheckoff.Text = "Signoffs / Checkoffs";
|
||||
//
|
||||
// tiFormat
|
||||
//
|
||||
this.tiFormat.AttachedControl = this.tcpFormat;
|
||||
this.tiFormat.Name = "tiFormat";
|
||||
this.tiFormat.Text = "Format";
|
||||
//
|
||||
// tcpGeneral
|
||||
//
|
||||
this.tcpGeneral.Controls.Add(this.ppCbAutoIndent);
|
||||
@@ -1046,138 +1192,6 @@ namespace VEPROMS
|
||||
this.tiGeneral.Name = "tiGeneral";
|
||||
this.tiGeneral.Text = "General";
|
||||
//
|
||||
// tcpFormat
|
||||
//
|
||||
this.tcpFormat.Controls.Add(this.cbIsFoldoutSection);
|
||||
this.tcpFormat.Controls.Add(this.ppCbDefaultStepSection);
|
||||
this.tcpFormat.Controls.Add(this.cbKeepWordDocMargins);
|
||||
this.tcpFormat.Controls.Add(this.ppLblDefaultNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppLblDefPaginationStyle);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultPaginationStyle);
|
||||
this.tcpFormat.Controls.Add(this.rbWordSect);
|
||||
this.tcpFormat.Controls.Add(this.rbStepSect);
|
||||
this.tcpFormat.Controls.Add(this.ppGpbxSignoffCheckoff);
|
||||
this.tcpFormat.Controls.Add(this.lblFormat);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.lblColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxSectPagination);
|
||||
this.tcpFormat.Controls.Add(this.lblSectType);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxStyleSectionType);
|
||||
this.tcpFormat.Controls.Add(this.lblPagination);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultFmt);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxFormat);
|
||||
this.tcpFormat.Controls.Add(this.ppLblFormatDefault);
|
||||
this.tcpFormat.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpFormat.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpFormat.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpFormat.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpFormat.Name = "tcpFormat";
|
||||
this.tcpFormat.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpFormat.Size = new System.Drawing.Size(557, 318);
|
||||
this.tcpFormat.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpFormat.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpFormat.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpFormat.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpFormat.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpFormat.Style.GradientAngle = 90;
|
||||
this.tcpFormat.TabIndex = 2;
|
||||
this.tcpFormat.TabItem = this.tiFormat;
|
||||
this.tcpFormat.Enter += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// rbWordSect
|
||||
//
|
||||
this.rbWordSect.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.rbWordSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.rbWordSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.rbWordSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rbWordSect.Location = new System.Drawing.Point(247, 60);
|
||||
this.rbWordSect.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.rbWordSect.Name = "rbWordSect";
|
||||
this.rbWordSect.Size = new System.Drawing.Size(88, 19);
|
||||
this.rbWordSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.rbWordSect.TabIndex = 23;
|
||||
this.rbWordSect.TabStop = false;
|
||||
this.rbWordSect.Text = "Word Section";
|
||||
//
|
||||
// rbStepSect
|
||||
//
|
||||
this.rbStepSect.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.rbStepSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.rbStepSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.rbStepSect.Checked = true;
|
||||
this.rbStepSect.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.rbStepSect.CheckValue = "Y";
|
||||
this.rbStepSect.FocusCuesEnabled = false;
|
||||
this.rbStepSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rbStepSect.Location = new System.Drawing.Point(138, 60);
|
||||
this.rbStepSect.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.rbStepSect.Name = "rbStepSect";
|
||||
this.rbStepSect.Size = new System.Drawing.Size(86, 19);
|
||||
this.rbStepSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.rbStepSect.TabIndex = 22;
|
||||
this.rbStepSect.TabStop = false;
|
||||
this.rbStepSect.Text = "Step Section";
|
||||
this.rbStepSect.CheckedChanged += new System.EventHandler(this.rbStepSect_CheckedChanged);
|
||||
//
|
||||
// ppGpbxSignoffCheckoff
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppGpbxSignoffCheckoff.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.ppGpbxSignoffCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffHeading);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffType);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffHeading);
|
||||
this.ppGpbxSignoffCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(272, 123);
|
||||
this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff";
|
||||
this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(206, 117);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColorGradientAngle = 90;
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderBottomWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderLeftWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderRightWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderTopWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.CornerDiameter = 4;
|
||||
this.ppGpbxSignoffCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppGpbxSignoffCheckoff.TabIndex = 51;
|
||||
this.ppGpbxSignoffCheckoff.Text = "Signoffs / Checkoffs";
|
||||
//
|
||||
// tiFormat
|
||||
//
|
||||
this.tiFormat.AttachedControl = this.tcpFormat;
|
||||
this.tiFormat.Name = "tiFormat";
|
||||
this.tiFormat.Text = "Format";
|
||||
//
|
||||
// tcpAutomation
|
||||
//
|
||||
this.tcpAutomation.Controls.Add(this.ppCbNoDuplexFoldout);
|
||||
@@ -1465,7 +1479,7 @@ namespace VEPROMS
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ClientSize = new System.Drawing.Size(730, 398);
|
||||
this.ClientSize = new System.Drawing.Size(722, 390);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.tcSectionProp);
|
||||
this.Controls.Add(this.panSectBtns);
|
||||
@@ -1489,12 +1503,12 @@ namespace VEPROMS
|
||||
this.panSectBtns.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).EndInit();
|
||||
this.tcSectionProp.ResumeLayout(false);
|
||||
this.tcpGeneral.ResumeLayout(false);
|
||||
this.tcpGeneral.PerformLayout();
|
||||
this.tcpFormat.ResumeLayout(false);
|
||||
this.tcpFormat.PerformLayout();
|
||||
this.ppGpbxSignoffCheckoff.ResumeLayout(false);
|
||||
this.ppGpbxSignoffCheckoff.PerformLayout();
|
||||
this.tcpGeneral.ResumeLayout(false);
|
||||
this.tcpGeneral.PerformLayout();
|
||||
this.tcpAutomation.ResumeLayout(false);
|
||||
this.tcpAutomation.PerformLayout();
|
||||
this.gpTOC.ResumeLayout(false);
|
||||
@@ -1598,5 +1612,6 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.ButtonX ppBtnConvertToDocX;
|
||||
private System.Windows.Forms.CheckBox cbIsFoldoutSection;
|
||||
private System.Windows.Forms.CheckBox ppCbNoDuplexFoldout;
|
||||
private System.Windows.Forms.CheckBox ppCbShowRplWords;
|
||||
}
|
||||
}
|
||||
|
@@ -523,6 +523,23 @@ namespace VEPROMS
|
||||
else
|
||||
ppCbDefaultStepSection.Text = "Make this the Default Step Section";
|
||||
}
|
||||
// Show Replace Words
|
||||
ppCbShowRplWords.Visible = false;
|
||||
if (_isStepSection && _SectionConfig.MySection.MySectionInfo.MyActiveParent.IsProcedure)
|
||||
{
|
||||
ppCbShowRplWords.Visible = true;
|
||||
ppCbShowRplWords.Checked = _SectionConfig.Section_ShwRplWords == "Y";
|
||||
// Use checkbox text to clarify what is case for this section, i.e. is it already
|
||||
// the default or can it be set. Note that this is used when printing of page numbers
|
||||
// that use the 'WithSteps' numbering sequence.
|
||||
if (_SectionConfig.Section_OriginalSteps == "Y")
|
||||
{
|
||||
ppCbShowRplWords.Text = "Show Replace Words"; // C2020-021 add the word "the"
|
||||
_isDefaultStepSection = true;
|
||||
}
|
||||
else
|
||||
ppCbShowRplWords.Text = "Show Replace Words";
|
||||
}
|
||||
|
||||
// if the parent has enhanced documents (and is not an enhanced document, i.e. the test
|
||||
// ed.Type != 0 proves that) put up the group panel on the automation tab that allows for setting of
|
||||
@@ -1211,6 +1228,7 @@ namespace VEPROMS
|
||||
ppGpbxSignoffCheckoff.Visible = _isStepSection;
|
||||
cbKeepWordDocMargins.Visible = !_isStepSection;
|
||||
ppCbDefaultStepSection.Visible = _isStepSection;
|
||||
ppCbShowRplWords.Visible = _isStepSection;
|
||||
}
|
||||
|
||||
private void rbStepSect_CheckedChanged(object sender, EventArgs e)
|
||||
@@ -1380,6 +1398,7 @@ namespace VEPROMS
|
||||
_SectionConfig.Section_OriginalSteps = ppCbDefaultStepSection.Checked ? "Y" : "N";
|
||||
}
|
||||
}
|
||||
|
||||
private void ppBtnConvertToDocX_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Get Document as file
|
||||
@@ -1447,6 +1466,14 @@ namespace VEPROMS
|
||||
{
|
||||
_SectionConfig.Section_DontIncludeDuplexFoldout = ppCbNoDuplexFoldout.Checked;
|
||||
}
|
||||
// C2029-025 Show or hide replace words. Can highlight replace words in editor.
|
||||
private void ppCbShowRplWords_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_Initializing)
|
||||
{
|
||||
_SectionConfig.Section_ShwRplWords = ppCbShowRplWords.Checked ? "Y" : "N";
|
||||
}
|
||||
}
|
||||
|
||||
//private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e)
|
||||
//{
|
||||
|
@@ -142,6 +142,9 @@ When a format other than the inherited one is selected, a button labeled "Defaul
|
||||
Pressing the "Default" button will revert back to using the inherited format for this section.
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="sectionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>128, 18</value>
|
||||
</metadata>
|
||||
<data name="cbIsFoldoutSection.SuperTooltip" xml:space="preserve">
|
||||
<value>If the format supports duplex Foldouts:
|
||||
|
||||
|
@@ -77,8 +77,10 @@ namespace VEPROMS
|
||||
this.btnReset = new DevComponents.DotNetBar.ButtonX();
|
||||
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
|
||||
this.cbOTRemember = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbShwRplWrdsColor = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbOTAutoOpen = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.gpOpenTabs = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.gpShwRplWords = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.gpSystemColor.SuspendLayout();
|
||||
this.panButtons.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSysOpts)).BeginInit();
|
||||
@@ -95,6 +97,7 @@ namespace VEPROMS
|
||||
this.gpTransRangeColor.SuspendLayout();
|
||||
this.gpPropPageStyle.SuspendLayout();
|
||||
this.gpOpenTabs.SuspendLayout();
|
||||
this.gpShwRplWords.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnCancel
|
||||
@@ -301,6 +304,7 @@ namespace VEPROMS
|
||||
// tabControlPanel3
|
||||
//
|
||||
this.tabControlPanel3.Controls.Add(this.gpOpenTabs);
|
||||
this.tabControlPanel3.Controls.Add(this.gpShwRplWords);
|
||||
this.tabControlPanel3.Controls.Add(this.grPanUCFImpOpt);
|
||||
this.tabControlPanel3.Controls.Add(this.gpVisioPath);
|
||||
this.tabControlPanel3.Controls.Add(this.gpSeparateWindows);
|
||||
@@ -1120,6 +1124,20 @@ namespace VEPROMS
|
||||
this.cbOTRemember.Text = "Remember Setting";
|
||||
this.cbOTRemember.CheckedChanged += new System.EventHandler(this.cbOTRemember_CheckedChanged);
|
||||
//
|
||||
// cbShwRplWrdsColor
|
||||
//
|
||||
//
|
||||
this.cbShwRplWrdsColor.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbShwRplWrdsColor.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbShwRplWrdsColor.Location = new System.Drawing.Point(8, 5);
|
||||
this.cbShwRplWrdsColor.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cbShwRplWrdsColor.Name = "cbShwRplWrdsColor";
|
||||
this.cbShwRplWrdsColor.Size = new System.Drawing.Size(119, 19);
|
||||
this.cbShwRplWrdsColor.TabIndex = 9;
|
||||
this.cbShwRplWrdsColor.Text = "Color Replace Words";
|
||||
this.cbShwRplWrdsColor.CheckedChanged += new System.EventHandler(this.cbShwRplWrdsColor_CheckedChanged);
|
||||
//this.cbShwRplWrdsColor.Checked;
|
||||
//
|
||||
// cbOTAutoOpen
|
||||
//
|
||||
//
|
||||
@@ -1179,6 +1197,48 @@ namespace VEPROMS
|
||||
this.gpOpenTabs.TabIndex = 13;
|
||||
this.gpOpenTabs.Text = "Open Tabs";
|
||||
//
|
||||
// gpShwRplWords
|
||||
//
|
||||
this.gpShwRplWords.BackColor = System.Drawing.Color.Transparent;
|
||||
this.gpShwRplWords.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.gpShwRplWords.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpShwRplWords.Controls.Add(this.cbShwRplWrdsColor);
|
||||
this.gpShwRplWords.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpShwRplWords.Location = new System.Drawing.Point(462, 165);
|
||||
this.gpShwRplWords.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.gpShwRplWords.Name = "gpShwRplWords";
|
||||
this.gpShwRplWords.Size = new System.Drawing.Size(139, 72);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpShwRplWords.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.gpShwRplWords.Style.BackColorGradientAngle = 90;
|
||||
this.gpShwRplWords.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.gpShwRplWords.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpShwRplWords.Style.BorderBottomWidth = 1;
|
||||
this.gpShwRplWords.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.gpShwRplWords.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpShwRplWords.Style.BorderLeftWidth = 1;
|
||||
this.gpShwRplWords.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpShwRplWords.Style.BorderRightWidth = 1;
|
||||
this.gpShwRplWords.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpShwRplWords.Style.BorderTopWidth = 1;
|
||||
this.gpShwRplWords.Style.CornerDiameter = 4;
|
||||
this.gpShwRplWords.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.gpShwRplWords.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.gpShwRplWords.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.gpShwRplWords.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpShwRplWords.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpShwRplWords.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.gpShwRplWords.TabIndex = 13;
|
||||
this.gpShwRplWords.Text = "Replace Words";
|
||||
//
|
||||
// frmSysOptions
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
@@ -1214,6 +1274,8 @@ namespace VEPROMS
|
||||
this.gpTransRangeColor.ResumeLayout(false);
|
||||
this.gpPropPageStyle.ResumeLayout(false);
|
||||
this.gpOpenTabs.ResumeLayout(false);
|
||||
this.gpShwRplWords.ResumeLayout(false);
|
||||
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -1268,7 +1330,9 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFLNotUsed;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFIgnore;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel gpOpenTabs;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel gpShwRplWords;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbOTRemember;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbOTAutoOpen;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbShwRplWrdsColor;
|
||||
}
|
||||
}
|
||||
|
@@ -68,6 +68,7 @@ namespace VEPROMS
|
||||
colorPickerButton1.SelectedColor = Settings.Default.TransitionRangeColor;
|
||||
cbAnnotationPopup.Checked = Settings.Default.AutoPopUpAnnotations;
|
||||
cbStepTypeToolTip.Checked = Settings.Default.StepTypeToolTip;
|
||||
cbShwRplWrdsColor.Checked = Settings.Default.cbShwRplWrdsColor;
|
||||
cbTVExpand.Checked = Settings.Default.SaveTreeviewExpanded;
|
||||
cbPasteNoReturns.Checked = Settings.Default.PasteNoReturns;
|
||||
cbPastePlainText.Checked = Settings.Default.PastePlainText;
|
||||
@@ -180,6 +181,7 @@ namespace VEPROMS
|
||||
private Color ss_TransRangeColor;
|
||||
private bool ss_PopUPAnnotations;
|
||||
private bool ss_StepTypeToolTip;
|
||||
private bool ss_cbShwRplWrdsColor;
|
||||
private bool ss_SaveTreeviewExpanded;
|
||||
private bool ss_PasteNoReturns;
|
||||
private bool ss_PastePlainText;
|
||||
@@ -195,6 +197,8 @@ namespace VEPROMS
|
||||
ss_TransRangeColor = Settings.Default.TransitionRangeColor;
|
||||
ss_PopUPAnnotations = Settings.Default.AutoPopUpAnnotations;
|
||||
ss_StepTypeToolTip = Settings.Default.StepTypeToolTip;
|
||||
|
||||
ss_cbShwRplWrdsColor = Settings.Default.cbShwRplWrdsColor;
|
||||
ss_SaveTreeviewExpanded = Settings.Default.SaveTreeviewExpanded;
|
||||
ss_PasteNoReturns = Settings.Default.PasteNoReturns;
|
||||
ss_PastePlainText = Settings.Default.PastePlainText;
|
||||
@@ -211,6 +215,7 @@ namespace VEPROMS
|
||||
Settings.Default.TransitionRangeColor = ss_TransRangeColor;
|
||||
Settings.Default.AutoPopUpAnnotations = ss_PopUPAnnotations;
|
||||
Settings.Default.StepTypeToolTip = ss_StepTypeToolTip;
|
||||
Settings.Default.cbShwRplWrdsColor = ss_cbShwRplWrdsColor;
|
||||
Settings.Default.SaveTreeviewExpanded = ss_SaveTreeviewExpanded;
|
||||
Settings.Default.PasteNoReturns = ss_PasteNoReturns;
|
||||
Settings.Default.PastePlainText = ss_PastePlainText;
|
||||
@@ -344,10 +349,16 @@ namespace VEPROMS
|
||||
Settings.Default.UCFImportOpt = 4;
|
||||
}
|
||||
}
|
||||
|
||||
private void cbOTRemember_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
cbOTAutoOpen.Enabled = cbOTAutoOpen.Visible = cbOTRemember.Checked;
|
||||
cbOTAutoOpen.Enabled = cbOTAutoOpen.Visible = cbShwRplWrdsColor.Checked;
|
||||
}
|
||||
private void cbShwRplWrdsColor_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.cbShwRplWrdsColor = cbShwRplWrdsColor.Checked;
|
||||
VlnSettings.cbShwRplWrdsColor = cbShwRplWrdsColor.Checked;
|
||||
Properties.Settings.Default.cbShwRplWrdsColor = cbShwRplWrdsColor.Checked; // update setting value
|
||||
Properties.Settings.Default.Save(); // save settings
|
||||
}
|
||||
}
|
||||
}
|
@@ -524,6 +524,7 @@ namespace VEPROMS
|
||||
this.Activated += new EventHandler(frmVEPROMS_Activated);
|
||||
|
||||
VlnSettings.StepTypeToolType = Settings.Default.StepTypeToolTip;
|
||||
VlnSettings.cbShwRplWrdsColor = Settings.Default.cbShwRplWrdsColor;
|
||||
displayLibDocs.PrintRequest += new DisplayLibDocEvent(displayLibDocs_PrintRequest);
|
||||
ContentInfo.InfoChanged += new ContentInfoEvent(RefreshDisplayHistory);
|
||||
AnnotationInfo.InfoChanged += new AnnotationInfoEvent(RefreshDisplayHistory);
|
||||
@@ -816,6 +817,11 @@ namespace VEPROMS
|
||||
set { frmVEPROMS._ErrorLogFileName = value; }
|
||||
}
|
||||
|
||||
public static bool colorReplaceWords()
|
||||
{
|
||||
return Properties.Settings.Default.cbShwRplWrdsColor;
|
||||
}
|
||||
|
||||
static bool ChangeLogFileName(string AppenderName, string NewFilename)
|
||||
{
|
||||
log4net.Repository.ILoggerRepository RootRep;
|
||||
@@ -2385,6 +2391,16 @@ namespace VEPROMS
|
||||
OpenItem(_Procedure);
|
||||
// SelectedStepTabPanel needs to be set so the print buttons on the ribbon will work.
|
||||
SelectedStepTabPanel = tc.MyEditItem.MyStepPanel.MyStepTabPanel;
|
||||
|
||||
//CSM B2024-090 - if last displaytab item,
|
||||
//select the steptab panel for it
|
||||
//and set the EditItem for Find/Replace
|
||||
//otherwise will cause PROMS to crash if Find clicked before a Tab is given Focus
|
||||
if ((DisPlayTabState.Rows.IndexOf(TabState) == DisPlayTabState.Rows.Count - 1))
|
||||
{
|
||||
SelectedStepTabPanel.Select();
|
||||
dlgFindReplace.MyEditItem = tc.MyEditItem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -517,6 +517,57 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
#endregion CheckOff
|
||||
#region ShwRplWds
|
||||
[Serializable]
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
public class ShwRplWds
|
||||
{
|
||||
private string _MenuItem;
|
||||
[XmlAttribute("MenuItem")]
|
||||
[Browsable(false)]
|
||||
public string MenuItem
|
||||
{
|
||||
get { return _MenuItem; }
|
||||
set { _MenuItem = value; }
|
||||
}
|
||||
private string _Index;
|
||||
[XmlAttribute("Index")]
|
||||
[Browsable(false)] // Don't show in the property grid
|
||||
public string Index
|
||||
{
|
||||
get { return _Index; }
|
||||
set { _Index = value; }
|
||||
}
|
||||
|
||||
private bool? _Active;
|
||||
[DisplayName("Active ShwRplWds")]
|
||||
[Description("Allow use of this ShwRplWds")]
|
||||
public bool? Active
|
||||
{
|
||||
get { return _Active; }
|
||||
set { _Active = value; }
|
||||
}
|
||||
private bool? _OrigActive;
|
||||
[XmlIgnore]
|
||||
[Browsable(false)]
|
||||
public bool? OrigActive
|
||||
{
|
||||
get { return _OrigActive; }
|
||||
set { _OrigActive = value; }
|
||||
}
|
||||
public ShwRplWds()
|
||||
{
|
||||
}
|
||||
public string ConvertToString()
|
||||
{
|
||||
return GenericSerializer<ShwRplWds>.StringSerialize(this);
|
||||
}
|
||||
public override string ToString()
|
||||
{
|
||||
return MenuItem;
|
||||
}
|
||||
}
|
||||
#endregion ShwRplWds
|
||||
#region StepData (list)
|
||||
[Serializable]
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
|
@@ -528,6 +528,24 @@ namespace VEPROMS.CSLA.Library
|
||||
OnPropertyChanged("Section_OriginalSteps");
|
||||
}
|
||||
}
|
||||
[Browsable(false)]
|
||||
[DisplayName("Section ShowReplaceWords")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
[Description("Section ShowReplaceWords")]
|
||||
public string Section_ShwRplWords
|
||||
{
|
||||
get
|
||||
{
|
||||
//return _Xp["Section", "ShwRplWords"];
|
||||
string tmp = _Xp["Section", "ShwRplWords"];
|
||||
return tmp == null || tmp == "" ? "Y" : tmp;
|
||||
}
|
||||
set
|
||||
{
|
||||
_Xp["Section", "ShwRplWords"] = value;
|
||||
OnPropertyChanged("Section_ShwRplWords");
|
||||
}
|
||||
}
|
||||
[Category("Section")]
|
||||
//PROPGRID: Hide Section NumPages
|
||||
[Browsable(false)]
|
||||
|
@@ -493,6 +493,34 @@ namespace VEPROMS.CSLA.Library
|
||||
OnPropertyChanged("Step_DisableInitialLine");
|
||||
}
|
||||
}
|
||||
//C2019-025 Ability to Toggle Replace Words
|
||||
public int Step_ShwRplWdsIndex
|
||||
{
|
||||
get
|
||||
{
|
||||
string s = _Xp["Step", "ShwRplWdsIndex"];
|
||||
|
||||
if (s == string.Empty) return 0;
|
||||
|
||||
if (s == "0") return 0;
|
||||
|
||||
if (s == "1") return 1;
|
||||
|
||||
if (s == "2") return 2;
|
||||
|
||||
if (s == "3") return 3;
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
set
|
||||
{
|
||||
string s = _Xp["Step", ""];
|
||||
if (value.ToString() == s) return;
|
||||
_Xp["Step", "ShwRplWdsIndex"] = value.ToString();
|
||||
OnPropertyChanged("Step_ShwRplWdsIndex");
|
||||
}
|
||||
}
|
||||
#region RO image sizing
|
||||
// if the RO image (figure) is resized, save it in the step config, not in the ROImageConfig. If stored in ROImageConfig
|
||||
// the size is set for ALL uses.
|
||||
|
@@ -687,19 +687,46 @@ namespace VEPROMS.CSLA.Library
|
||||
myLength += mg.Groups[3].Length;
|
||||
}
|
||||
string gg = MyGrid.Data.Substring(myIndex, myLength);
|
||||
//CSM B2024-003 Updating RO Values inside a text Grid, adding a karat
|
||||
// and/or dash into the RO value changes to question marks in the UI,
|
||||
if (newvalue.Contains(@"\u8209?"))
|
||||
{
|
||||
Match m = Regex.Match(newvalue, @"(\\f[0-9]+)(\\u[0-9]{1,4}\?)(\\f[0-9]+ ?)");
|
||||
if (m == null)
|
||||
newvalue = newvalue.Replace(@"\u8209?", "-");
|
||||
else if (m.Groups[1].Value == "")
|
||||
newvalue = newvalue.Replace(@"\u8209?", "-");
|
||||
else
|
||||
newvalue = newvalue.Replace(@"\u8209?", m.Groups[1].Value + @"\u8209?" + m.Groups[3].Value);
|
||||
}
|
||||
int indx_to_addfont = -1;
|
||||
if (newvalue.Contains(@"\u916?"))
|
||||
{
|
||||
Match m = Regex.Match(newvalue, @"(\\f[0-9]+)(\\u[0-9]{1,4}\?)(\\f[0-9]+ ?)");
|
||||
if (m == null)
|
||||
newvalue = newvalue.Replace(@"\u916?", "^");
|
||||
else if (m.Groups[1].Value == "" && !ContentItems[0].MyItem.MyItemInfo.MyDocVersion.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta)
|
||||
newvalue = newvalue.Replace(@"\u916?", "^");
|
||||
else if (m.Groups[1].Value == "")
|
||||
{
|
||||
//B2024-003, B2023-113, B2024-093 - Updating RO Values inside a text Grid,
|
||||
// adding a caret and/or dash into the RO value and then updating RO values changed to question marks in the UI.
|
||||
// This is to handle if ConvertCaretToDelta is true
|
||||
// since delta is not part of the standard ascii
|
||||
// may need to add a font to handle it.
|
||||
newvalue = newvalue.Replace(@"\u916?", @"\f9\u916?\f0 ");
|
||||
indx_to_addfont = GetLocationToInsertFontInGrid(myIndex);
|
||||
}
|
||||
else
|
||||
newvalue = newvalue.Replace(@"\u916?", m.Groups[1].Value + @"\u916?" + m.Groups[3].Value);
|
||||
}
|
||||
if (newvalue.Contains(@"\u8593?"))
|
||||
{
|
||||
Match m = Regex.Match(newvalue, @"(\\f[0-9]+)(\\u[0-9]{1,4}\?)(\\f[0-9]+ ?)");
|
||||
if (m == null)
|
||||
newvalue = newvalue.Replace(@"\u8593?", "^");
|
||||
else if (m.Groups[1].Value == "")
|
||||
newvalue = newvalue.Replace(@"\u8593?", "^");
|
||||
else
|
||||
newvalue = newvalue.Replace(@"\u8593?", m.Groups[1].Value + @"\u8593?" + m.Groups[3].Value);
|
||||
}
|
||||
@@ -708,6 +735,8 @@ namespace VEPROMS.CSLA.Library
|
||||
Match m = Regex.Match(newvalue, @"(\\f[0-9]+)(\\u[0-9]{1,4}\?)(\\f[0-9]+ ?)");
|
||||
if (m == null)
|
||||
newvalue = newvalue.Replace(@"\u9586?", @"\\");
|
||||
else if (m.Groups[1].Value == "")
|
||||
newvalue = newvalue.Replace(@"\u9586?", @"\\");
|
||||
else
|
||||
newvalue = newvalue.Replace(@"\u9586?", m.Groups[1].Value + @"\u9586?" + m.Groups[3].Value);
|
||||
}
|
||||
@@ -719,7 +748,17 @@ namespace VEPROMS.CSLA.Library
|
||||
if (gg != newvalue)
|
||||
{
|
||||
retval = gg;
|
||||
MyGrid.Data = MyGrid.Data.Substring(0, myIndex) + newvalue + MyGrid.Data.Substring(myIndex + myLength);
|
||||
//B2024-003, B2023-113, B2024-093 - Updating RO Values inside a text Grid,
|
||||
// adding a caret and/or dash into the RO value and then updating RO values changed to question marks in the UI.
|
||||
// This is to handle if ConvertCaretToDelta is true
|
||||
// since delta is not part of the standard ascii
|
||||
// may need to add a font to handle it.
|
||||
string begin_str = MyGrid.Data.Substring(0, myIndex);
|
||||
if (indx_to_addfont > -1)
|
||||
begin_str = begin_str.Insert(indx_to_addfont, @"{\f9\fnil\fcharset0 FreeMono;}");
|
||||
|
||||
MyGrid.Data = begin_str + newvalue + MyGrid.Data.Substring(myIndex + myLength);
|
||||
MyGrid.Save();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -729,6 +768,64 @@ namespace VEPROMS.CSLA.Library
|
||||
return retval;
|
||||
}
|
||||
|
||||
//B2024-003, B2023-113, B2024-093 - Updating RO Values inside a text Grid,
|
||||
// adding a caret and/or dash into the RO value and then updating RO values changed to question marks in the UI.
|
||||
// This is to handle if ConvertCaretToDelta is true
|
||||
// since delta is not part of the standard ascii
|
||||
// may need to add a font to handle it.
|
||||
// startIndex = Index in the Grid at which the text we want to replace is starting
|
||||
//basic Grid data partitioning using the variables in this sub is as follows:
|
||||
//
|
||||
// [indexOfPrefix] [indx]
|
||||
// | |
|
||||
// [text before last occurrence of prefix] {prefix} [rest of fonts] [text after fonts]
|
||||
private int GetLocationToInsertFontInGrid(int startIndex)
|
||||
{
|
||||
//searches backwards from the srtIndex for the last previous occurrence of the prefix
|
||||
string prefix = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{";
|
||||
int indexOfPrefix = MyGrid.Data.LastIndexOf(prefix, startIndex);
|
||||
|
||||
//find the end of the font section
|
||||
//by passing in the Grid data
|
||||
//with the following removed:
|
||||
// - Everything before the last occurrence of the prefix
|
||||
// - the prefix itself removed
|
||||
int indx = GetIndexOfCloseBracket(MyGrid.Data.Substring(indexOfPrefix + prefix.Length, startIndex - indexOfPrefix - prefix.Length));
|
||||
|
||||
if (indx > -1)
|
||||
{
|
||||
indx += indexOfPrefix;
|
||||
indx += prefix.Length;
|
||||
}
|
||||
|
||||
//indx will contain last spot inside the font section
|
||||
return indx;
|
||||
|
||||
}
|
||||
|
||||
//B2024-003, B2023-113, B2024-093 - Updating RO Values inside a text Grid,
|
||||
// this function will find the corresponding occurrence of a closing bracket :
|
||||
// usage is you pass in some text after an opening bracket, and it will tell you what the index is for it closing
|
||||
private int GetIndexOfCloseBracket(string text)
|
||||
{
|
||||
int indx = 0;
|
||||
Stack<char> stk = new System.Collections.Generic.Stack<char>();
|
||||
|
||||
foreach (char c in text)
|
||||
{
|
||||
if (c == '{')
|
||||
stk.Push('{');
|
||||
else if (c == '}' && stk.Count == 0)
|
||||
return indx;
|
||||
else if (c == '}')
|
||||
stk.Pop();
|
||||
|
||||
indx++;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static string MakeConsistentFormat(string gg)
|
||||
{
|
||||
// replace degree, bullet dash, hardspace
|
||||
@@ -1255,6 +1352,16 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
gg = ItemInfo.ConvertToDisplayText(gg);
|
||||
newvalue = ItemInfo.ConvertToDisplayText(newvalue);
|
||||
|
||||
//CSM B2024-094 - Carats (as Deltas) print as question marks in tables when unit <u> is used in RO Definition Value
|
||||
//If there is a grid, need to keep these as the \u code
|
||||
//Otherwise they will not use the correct font and end up as question marks
|
||||
if (MyGrid != null)
|
||||
{
|
||||
gg = gg.Replace($"{(char)916}", @"\u916?");
|
||||
newvalue = newvalue.Replace($"{(char)916}", @"\u916?");
|
||||
}
|
||||
|
||||
// Debug - jsj 5-19-2017 - left in for initial check-in
|
||||
//string xx_gg = gg_org.Replace(@"\'b0", @"\'B0").Replace(@"\u8209?", "-").Replace(@"\u160?", " ").Replace("\xA0", " ");
|
||||
//string xx_nv = newval_org.Replace(@"\'b0", @"\'B0").Replace(@"\u8209?", "-").Replace(@"\u160?", " ").Replace("\xA0", " ");
|
||||
@@ -1307,7 +1414,19 @@ namespace VEPROMS.CSLA.Library
|
||||
else
|
||||
newvalue = newvalue.Replace(@"\u8209?", m.Groups[1].Value + @"\u8209?" + m.Groups[3].Value);
|
||||
}
|
||||
|
||||
//B2024-003, B2023-113, B2024-093 - Updating RO Values inside a text Grid,
|
||||
// This will handle if there is a delta and the column/row of the grid is removed
|
||||
//then restored from history
|
||||
if (newvalue.Contains(@"\u916?"))
|
||||
{
|
||||
Match m = Regex.Match(gg, @"(\\f[0-9]+)(\\u[0-9]{1,4}\?)(\\f[0-9]+ ?)");
|
||||
if (m.Groups.Count < 3 && !ContentItems[0].MyDocVersion.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta)
|
||||
newvalue = newvalue.Replace(@"\u916?", "^");
|
||||
else if (m.Groups.Count < 3)
|
||||
newvalue = newvalue.Replace(@"\u916?", $"{(char)916}");
|
||||
else
|
||||
newvalue = newvalue.Replace(@"\u916?", m.Groups[1].Value + @"\u916?" + m.Groups[3].Value);
|
||||
}
|
||||
if (newvalue.Contains(@"\u8593?"))
|
||||
{
|
||||
Match m = Regex.Match(newvalue, @"(\\f[0-9]+)(\\u[0-9]{1,4}\?)(\\f[0-9]+ ?)");
|
||||
|
@@ -6,11 +6,18 @@ using System.Text.RegularExpressions;
|
||||
using System.Drawing;
|
||||
using Volian.Base.Library;
|
||||
using JR.Utils.GUI.Forms;
|
||||
//using VEPROMS.colorReplaceWords;
|
||||
|
||||
// This was moved from volian.controls.library
|
||||
namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
public enum E_FieldToEdit { StepText, Text, Number, PSI };
|
||||
public enum ReplaceWords
|
||||
{
|
||||
Inherit = 0,
|
||||
Show = 1,
|
||||
DoNotShow = 2
|
||||
}
|
||||
public class DisplayText
|
||||
{
|
||||
private static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
@@ -46,6 +53,45 @@ namespace VEPROMS.CSLA.Library
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
private string ShwRplWords(ItemInfo _MyItemInfo)
|
||||
{
|
||||
//if (_Initalizing) return "N";
|
||||
//_MyItemInfo.
|
||||
SectionConfig sc = _MyItemInfo.MyConfig as SectionConfig;
|
||||
if (sc == null) return "N";
|
||||
return sc.Section_ShwRplWords;
|
||||
}
|
||||
// C2019-025 c2025-010 Ability-to-Toggle-Replace-Words
|
||||
private bool ShwRplWdsIndex(ItemInfo _MyItemInfo)
|
||||
{
|
||||
StepConfig sc = _MyItemInfo.MyConfig as StepConfig;
|
||||
int setting = sc.Step_ShwRplWdsIndex;
|
||||
switch (setting)
|
||||
{
|
||||
case (int)ReplaceWords.DoNotShow:
|
||||
return false;
|
||||
break;
|
||||
case (int)ReplaceWords.Show:
|
||||
return true;
|
||||
break;
|
||||
case (int)ReplaceWords.Inherit:
|
||||
//SectionConfig sc2 = _MyItemInfo.ActiveParent.MyConfig as SectionConfig;
|
||||
SectionConfig sc2 = _MyItemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||
if (sc2 == null || sc2.Section_ShwRplWords == "Y")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private Item _MyItem;
|
||||
private string EditText
|
||||
{
|
||||
@@ -357,9 +403,34 @@ namespace VEPROMS.CSLA.Library
|
||||
// But don't do ReplaceWords if the TurnOffReplaceWords format flag is set
|
||||
if (wordsShouldBeReplaced && !_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.TurnOffReplaceWords)
|
||||
{
|
||||
|
||||
int profileDepth1 = ProfileTimer.Push(">>>> DoReplaceWords2");
|
||||
|
||||
text = DoReplaceWords2(text);
|
||||
// C2029-025 Show or hide replace words. Can highlight replace words in editor.
|
||||
if (_MyItemInfo.IsSection)
|
||||
{
|
||||
string ShwRplWrds = ShwRplWords(_MyItemInfo);
|
||||
if (ShwRplWrds == "Y")
|
||||
{
|
||||
text = DoReplaceWords2(text, epMode);
|
||||
}
|
||||
}
|
||||
if (_MyItemInfo.IsStep)
|
||||
{
|
||||
bool ShwRplWrds = ShwRplWdsIndex(_MyItemInfo);
|
||||
if (ShwRplWrds == true)
|
||||
{
|
||||
text = DoReplaceWords2(text, epMode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (_MyItemInfo.IsFolder || _MyItemInfo.IsProcedure)
|
||||
{
|
||||
text = DoReplaceWords2(text, epMode);
|
||||
}
|
||||
|
||||
|
||||
ProfileTimer.Pop(profileDepth1);
|
||||
}
|
||||
if (_MyItemInfo != null && ROsShouldBeAdjusted) // B2017-019 - added check for ROsShouldBeAdjusted so that these token are not "cooked" on property pages
|
||||
@@ -2101,7 +2172,7 @@ namespace VEPROMS.CSLA.Library
|
||||
return (bool) _ProcessReplaceWords;
|
||||
}
|
||||
}
|
||||
private string DoReplaceWords2(string Text)
|
||||
private string DoReplaceWords2(string Text, E_EditPrintMode epMode)
|
||||
{
|
||||
if(!ProcessReplaceWords) return Text;
|
||||
// F2021-053: BNPP Alarm - need ability to have super/sub scripts in the text of Alarm Tables (ROs).
|
||||
@@ -2162,6 +2233,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// CASEINSENS: Do ReplaceWords for all words that match, regardless of case, and replace with the ReplaceWith string as is
|
||||
//RegexOptions myOptions = (rs.Flag & E_ReplaceFlags.CaseInsens) == E_ReplaceFlags.CaseInsens ? RegexOptions.IgnoreCase & RegexOptions.Singleline : RegexOptions.None & RegexOptions.Singleline;
|
||||
string replaceWord = Regex.Replace(rs.ReplaceWord, @"[[\]\\()]", @"\$0");
|
||||
|
||||
// if first or last character in replaceword is a non-word character, for example, ',', ')', or '.',
|
||||
// don't use the \W, i.e. don't bother to look for a non-word character.
|
||||
string wordMatchBeg = Regex.IsMatch(replaceWord.Substring(0, 1), @"\W") ? "" : @"(?<=\W|^)";
|
||||
@@ -2188,7 +2260,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
//ProfileTimer.Pop(profileDepth);
|
||||
//int profileDepth5 = ProfileTimer.Push(">>>> DoReplaceWords2.ReplaceMatches");
|
||||
Text = myMatches.ReplaceMatches();
|
||||
Text = myMatches.ReplaceMatches(epMode);
|
||||
//ProfileTimer.Pop(profileDepth5);
|
||||
Text = Text.Replace(@"\xA0", @"\u160?"); //replace hard space
|
||||
return Text;
|
||||
@@ -2480,7 +2552,8 @@ namespace VEPROMS.CSLA.Library
|
||||
if (str.Length == index && str == text.Substring(0, str.Length)) return true;
|
||||
return false;
|
||||
}
|
||||
public string ReplaceMatches()
|
||||
|
||||
public string ReplaceMatches(E_EditPrintMode epMode)
|
||||
{
|
||||
int offset = 0;
|
||||
string text = _Text;
|
||||
@@ -2572,6 +2645,11 @@ namespace VEPROMS.CSLA.Library
|
||||
with = with.Replace(@"\ul ", "");
|
||||
with = with.Replace(@"\ulnone ", "");
|
||||
}
|
||||
//if (Properties.Settings.Default.cbShwRplWrdsColor && !(epMode == E_EditPrintMode.Print))
|
||||
if (Properties.Settings.Default.cbShwRplWrdsColor && !(epMode == E_EditPrintMode.Print))
|
||||
{
|
||||
with = $@"\cf2{with}\cf0 ";
|
||||
}
|
||||
|
||||
text = text.Substring(0, offset + foundMatch.MyMatch.Index) + with + text.Substring(offset + foundMatch.MyMatch.Index + foundMatch.MyMatch.Length);
|
||||
//offset += foundMatch.MyWord.ReplaceWith.Length - foundMatch.MyMatch.Length;
|
||||
|
@@ -49,9 +49,10 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
if (DocVersionAssociations == null || DocVersionAssociations.Count == 0) return false;
|
||||
|
||||
ROFstInfo roFstInfo = ROFstInfo.GetJustROFst(DocVersionAssociations[0].ROFstID);
|
||||
|
||||
RODbInfo rdi = RODbInfo.GetJustRODB(roFstInfo.RODbID);
|
||||
using (ROFstInfo roFstInfo = ROFstInfo.GetJustROFst(DocVersionAssociations[0].ROFstID))
|
||||
{
|
||||
using (RODbInfo rdi = RODbInfo.GetJustRODB(roFstInfo.RODbID))
|
||||
{
|
||||
string rofstPath = rdi.FolderPath + @"\ro.fst";
|
||||
if (!File.Exists(rofstPath)) return false;
|
||||
|
||||
@@ -73,6 +74,11 @@ namespace VEPROMS.CSLA.Library
|
||||
// rofsts of the size of the file & compare bytes.
|
||||
return ROFstInfoList.ROFstDiffBySize(rofstPath, rdi.RODbID, (int)fiRofst.Length);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
public bool ROfstLastCompleted
|
||||
{
|
||||
|
@@ -11,6 +11,7 @@ using System.Xml;
|
||||
using System.Drawing;
|
||||
using System.Text.RegularExpressions;
|
||||
using Volian.Base.Library;
|
||||
using System.Linq;
|
||||
|
||||
namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
@@ -39,6 +40,17 @@ namespace VEPROMS.CSLA.Library
|
||||
Console.WriteLine("- - - - - -");
|
||||
}
|
||||
|
||||
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||
//clears everything in cache - to run between sections in the Admin Tool to reclaim memory
|
||||
public static void ClearItemCache()
|
||||
{
|
||||
_CacheByPrimaryKey.Clear();
|
||||
while (_CacheList.Count > 0)
|
||||
{
|
||||
_CacheList[0].DisposeOfContent = true;
|
||||
_CacheList[0].Dispose();
|
||||
}
|
||||
}
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("{0} {1}", MyContent.Number, MyContent.Text).Trim();
|
||||
@@ -325,6 +337,32 @@ namespace VEPROMS.CSLA.Library
|
||||
#region ItemInfo
|
||||
public partial class ItemInfo : IVEDrillDownReadOnly
|
||||
{
|
||||
|
||||
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||
//clears everything in cache - to run between sections in the Admin Tool to reclaim memory
|
||||
public static void ClearItemInfoCache()
|
||||
{
|
||||
while (_CacheByPrimaryKey.Count > 0)
|
||||
{
|
||||
var ii = _CacheByPrimaryKey.FirstOrDefault();
|
||||
|
||||
while (ii.Value.Count > 0)
|
||||
{
|
||||
if (ii.Value[0]?.MyContent?.ContentParts != null)
|
||||
{ foreach (PartInfo pi in ii.Value[0]?.MyContent?.ContentParts) pi.Dispose(); }
|
||||
ii.Value[0].Dispose();
|
||||
}
|
||||
_CacheByPrimaryKey.Remove(ii.Key);
|
||||
}
|
||||
|
||||
while (_CacheList.Count > 0)
|
||||
{
|
||||
if (_CacheList[0]?.MyContent?.ContentParts != null)
|
||||
{foreach (PartInfo pi in _CacheList[0]?.MyContent?.ContentParts) pi.Dispose(); }
|
||||
_CacheList[0].Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
private bool _PrintAllAtOnce = false;
|
||||
|
||||
public bool PrintAllAtOnce
|
||||
@@ -402,6 +440,99 @@ namespace VEPROMS.CSLA.Library
|
||||
return tmpForLink;
|
||||
}
|
||||
|
||||
//CSM B2021-043 Step numbering is out of order in RO usage report if RO values exist on steps 10 or higher.
|
||||
// This will be used to simulate the non-high level part of a tab
|
||||
// for case where sorting and all other fields match
|
||||
// Note: This is cut down to improve the sort's performance
|
||||
// but congruent to Volian.Print.Library.PDFReport-> BuildStepTab(ItemInfo item)
|
||||
public string BuildStepTab()
|
||||
{
|
||||
StringBuilder sret = new StringBuilder();
|
||||
ItemInfo pitem = this;
|
||||
|
||||
while (!pitem.IsSection && !pitem.IsHigh)
|
||||
{
|
||||
using (StepInfo stpinfo = StepInfo.Get(pitem.ItemID))
|
||||
{
|
||||
string thisTab = stpinfo.MyTab.CleanText;
|
||||
|
||||
string typeName = stpinfo.FormatStepData.StepEditData.TypeMenu.MenuItem;
|
||||
|
||||
if (!string.IsNullOrEmpty(thisTab))
|
||||
{
|
||||
thisTab = thisTab.Trim();
|
||||
}
|
||||
|
||||
// if the tab is null or
|
||||
// if the the tab is not a letter or number OR
|
||||
// the tab is an AND or OR type and is the letter "o"
|
||||
// then reset the tab an empty string so that the type name along with the count of that type
|
||||
// (ex. "AND 2", "OR 3")
|
||||
if (string.IsNullOrEmpty(thisTab) || (thisTab != string.Empty && (!(char.IsLetterOrDigit(thisTab[0])) || ((pitem.IsAnd || pitem.IsOr || pitem.IsCaution || pitem.IsNote) && thisTab.Contains("o")))))
|
||||
{
|
||||
thisTab = string.Empty;
|
||||
}
|
||||
|
||||
if (pitem.IsRNOPart)
|
||||
{
|
||||
if (string.IsNullOrEmpty(thisTab))
|
||||
{
|
||||
sret.Insert(0, "RNO.");
|
||||
}
|
||||
else
|
||||
{
|
||||
thisTab = thisTab.Trim();
|
||||
|
||||
if (!thisTab.EndsWith(".") && !thisTab.EndsWith(")"))
|
||||
{
|
||||
thisTab += ".";
|
||||
}
|
||||
|
||||
sret.Insert(0, "RNO." + thisTab);
|
||||
}
|
||||
}
|
||||
else if (pitem.IsCaution || pitem.IsNote)
|
||||
{
|
||||
// add the Caution or Note count to the tab (ex "Caution 1", "Note 2")
|
||||
if (string.IsNullOrEmpty(thisTab))
|
||||
{
|
||||
sret.Append("{" + typeName + " " + pitem.Ordinal.ToString() + "}");
|
||||
}
|
||||
else
|
||||
{
|
||||
thisTab = thisTab.Trim(" ".ToCharArray());
|
||||
sret.Append(thisTab + " " + pitem.Ordinal.ToString() + sret);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!string.IsNullOrEmpty(thisTab))
|
||||
{
|
||||
thisTab = thisTab.Trim(" ".ToCharArray());
|
||||
|
||||
if (!thisTab.EndsWith(".") && !thisTab.EndsWith(")"))
|
||||
{
|
||||
thisTab += ".";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
thisTab = "{" + typeName + " " + pitem.Ordinal.ToString() + "}.";
|
||||
}
|
||||
|
||||
sret.Insert(0, thisTab);
|
||||
}
|
||||
}
|
||||
|
||||
pitem = pitem.ActiveParent as ItemInfo;
|
||||
|
||||
if (pitem == null)
|
||||
break;
|
||||
}
|
||||
|
||||
return sret.ToString().Trim(" .)".ToCharArray());
|
||||
}
|
||||
|
||||
public void SetHeader(VE_Font myFont, string myText)
|
||||
{
|
||||
_MyHeader = new MetaTag(myFont);
|
||||
@@ -619,12 +750,14 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
TranCheckCount = 0;
|
||||
TranFixCount = 0;
|
||||
TranCantFixCount = 0;
|
||||
TranConvertCount = 0;// B2018-002 - Invalid Transitions - Initialize Transition Conversion Count
|
||||
}
|
||||
|
||||
public static int TranCheckCount = 0;
|
||||
public static int TranFixCount = 0;
|
||||
public static int TranConvertCount = 0;// B2018-002 - Invalid Transitions - Declare Transition Conversion Count
|
||||
public static int TranCantFixCount = 0;
|
||||
internal static TransitionInfoList TransitionsToDisconnected;
|
||||
internal static TransitionInfoList TransitionsToNonEditable;
|
||||
|
||||
@@ -731,6 +864,15 @@ namespace VEPROMS.CSLA.Library
|
||||
content.Save();
|
||||
}
|
||||
}
|
||||
else if (newText.Contains("<CTID=-"))
|
||||
{
|
||||
//CSM C2024-028 - Bad Transition Link - Make an annotation
|
||||
using (Item itm = Item.Get(itemInfo.ItemID))
|
||||
{
|
||||
TranCantFixCount++;
|
||||
Annotation.MakeAnnotation(itm, AnnotationType.GetByNameOrCreate("Bad Transition Link"), "", $"Invalid Transition Link: ({ItemInfo.ConvertToDisplayText(newValue)})", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2386,16 +2528,20 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public ItemInfo LastChild(E_FromType partType)
|
||||
{
|
||||
ItemInfoList myitems = Lookup((int)partType);
|
||||
using (ItemInfoList myitems = Lookup((int)partType))
|
||||
{
|
||||
if (myitems != null) return myitems[myitems.Count - 1];
|
||||
return null;
|
||||
}
|
||||
}
|
||||
public ItemInfo FirstChild(E_FromType partType)
|
||||
{
|
||||
ItemInfoList myitems = Lookup((int)partType);
|
||||
using (ItemInfoList myitems = Lookup((int)partType))
|
||||
{
|
||||
if (myitems != null) return myitems[0];
|
||||
return null;
|
||||
}
|
||||
}
|
||||
public bool HasAncestor(ItemInfo ancestor)
|
||||
{
|
||||
if (ancestor == null) return false;
|
||||
@@ -2752,6 +2898,29 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
#endregion UnlinkEnhanced
|
||||
#region Search
|
||||
|
||||
//CSM C2024-025 Removing the strange tall box characters that appear in the search results tree
|
||||
//Create cleaned version of variable for use in DisplaySearch
|
||||
//This is the Function that does the cleaning
|
||||
public string CleanSearchString(string value)
|
||||
{
|
||||
// \u000C = PageBreak
|
||||
// \u0009 = Tab
|
||||
// \u160? = Hard Space
|
||||
// \u0007 = Bell (Separates Parent Path and Child Path)
|
||||
// \u0011 - Separates DisplayNumber & DisplayText of Step
|
||||
|
||||
if (value == null)
|
||||
return null;
|
||||
|
||||
string tmp = value.Replace("\a", "\\").Replace("\u0007", "\\");
|
||||
tmp = tmp.Replace("\u000C", " ").Replace("\u0009", " ").Replace(@"\u160?", " ").Replace("\u0011", " ");
|
||||
|
||||
if (tmp.StartsWith("\\"))
|
||||
tmp = tmp.Substring(1);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
internal string _SearchDVPath;
|
||||
public string SearchDVPath
|
||||
{
|
||||
@@ -2767,6 +2936,10 @@ namespace VEPROMS.CSLA.Library
|
||||
return _SearchDVPath;
|
||||
}
|
||||
}
|
||||
//CSM C2024-025 Removing the strange tall box characters that appear in the search results tree
|
||||
//Create cleaned version of variable for use in DisplaySearch
|
||||
public string SearchDVPath_clean => CleanSearchString(SearchDVPath);
|
||||
|
||||
internal string _SearchPath;
|
||||
public string SearchPath
|
||||
{
|
||||
@@ -2790,6 +2963,10 @@ namespace VEPROMS.CSLA.Library
|
||||
return _SearchPath;
|
||||
}
|
||||
}
|
||||
//CSM C2024-025 Removing the strange tall box characters that appear in the search results tree
|
||||
//Create cleaned version of variable for use in DisplaySearch
|
||||
public string SearchPath_clean => CleanSearchString(SearchPath);
|
||||
|
||||
public string ShortSearchPath
|
||||
{
|
||||
get
|
||||
@@ -2800,6 +2977,9 @@ namespace VEPROMS.CSLA.Library
|
||||
return dtext;
|
||||
}
|
||||
}
|
||||
//CSM C2024-025 Removing the strange tall box characters that appear in the search results tree
|
||||
//Create cleaned version of variable for use in DisplaySearch
|
||||
public string ShortSearchPath_clean => CleanSearchString(ShortSearchPath);
|
||||
|
||||
// B2021-076: Proms search results are not presented in order when printed to PDF
|
||||
internal string _SearchDefaultSort;
|
||||
@@ -3100,6 +3280,24 @@ namespace VEPROMS.CSLA.Library
|
||||
//get { return ConvertToDisplayText(MyContent.Number); }
|
||||
}
|
||||
|
||||
//CSM B2021-043 Step numbering is out of order in RO usage report if RO values exist on steps 10 or higher.
|
||||
//Get Numeric part of HLS Tab
|
||||
//Used for Certain sorting situations
|
||||
//If no numeric part then use 999 (will be at end of that level of the sort if there are other items with numbered HLS)
|
||||
public int NumericSortNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
string numericpart = null;
|
||||
if (MyHLS != null)
|
||||
numericpart = new string(MyHLS?.MyTab?.CleanTextNoSymbols.TakeWhile(Char.IsDigit).ToArray());
|
||||
if (!string.IsNullOrEmpty(numericpart) && numericpart.All(char.IsNumber))
|
||||
return int.Parse(numericpart);
|
||||
else
|
||||
return 999;
|
||||
}
|
||||
}
|
||||
|
||||
// for step designators (a redefined caution type used in Comanche Peak with the SameRowAsParentMultiLines format flag)
|
||||
// we what to allow for a hard return to allow for multiple designator lines - jsj 5/21/2015
|
||||
public static string ConvertToMulitLineStepDesignatorDisplayText(string txt)
|
||||
@@ -3706,17 +3904,19 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
#endregion
|
||||
#region IVEReadOnlyItem
|
||||
PartInfoList _PartInfoList;
|
||||
public System.Collections.IList GetChildren()
|
||||
{
|
||||
_PartInfoList = this.MyContent.ContentParts;
|
||||
using (PartInfoList _PartInfoList = this.MyContent.ContentParts)
|
||||
{
|
||||
if (_PartInfoList.Count == 1 && ((IsProcedure && _PartInfoList[0].ToString() == "Sections") || _PartInfoList[0].ToString() == "Steps"))
|
||||
return _PartInfoList[0].GetChildren();
|
||||
return _PartInfoList;
|
||||
}
|
||||
}
|
||||
public System.Collections.IList GetChildren(bool allParts)
|
||||
{
|
||||
_PartInfoList = this.MyContent.ContentParts;
|
||||
using (PartInfoList _PartInfoList = this.MyContent.ContentParts)
|
||||
{
|
||||
if (allParts)
|
||||
{
|
||||
if (_PartInfoList.Count == 1 && ((IsProcedure && _PartInfoList[0].ToString() == "Sections") || _PartInfoList[0].ToString() == "Steps"))
|
||||
@@ -3732,6 +3932,7 @@ namespace VEPROMS.CSLA.Library
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
//public bool ChildrenAreLoaded
|
||||
//{
|
||||
// get { return _PartInfoList == null; }
|
||||
@@ -4252,7 +4453,7 @@ namespace VEPROMS.CSLA.Library
|
||||
tstr = tbformat.Replace("{!.+?}", " "); // Comanche Peak Indented Paragraph
|
||||
_MyTab.Text = tstr;
|
||||
//CSM F2024 - 080: For South Texas - if format contains initial line and it is not disabled, show an initial line
|
||||
if (!string.IsNullOrEmpty(FormatStepData.TabData.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled)
|
||||
if (!string.IsNullOrEmpty(FormatStepData?.TabData?.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled)
|
||||
{
|
||||
if (tstr.StartsWith(" "))
|
||||
tstr = tstr.Substring(1);
|
||||
@@ -4350,7 +4551,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
//CSM F2024 - 080: For South Texas - if format contains initial line and it is not disabled, show an initial line
|
||||
string tstr = MyParent.MyTab.CleanText.Trim() + "." + incSub;
|
||||
if (!string.IsNullOrEmpty(FormatStepData.TabData.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled && !tstr.StartsWith("_"))
|
||||
if (!string.IsNullOrEmpty(FormatStepData?.TabData?.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled && !tstr.StartsWith("_"))
|
||||
{
|
||||
if (tstr.StartsWith(" "))
|
||||
tstr = tstr.Substring(1);
|
||||
@@ -4367,7 +4568,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
//CSM F2024 - 080: For South Texas - if format contains initial line and it is not disabled, show an initial line
|
||||
string tstr = MyParent.MyTab.CleanText.Trim() + "." + incSub + " ";
|
||||
if (!string.IsNullOrEmpty(FormatStepData.TabData.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled && !tstr.StartsWith("_"))
|
||||
if (!string.IsNullOrEmpty(FormatStepData?.TabData?.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled && !tstr.StartsWith("_"))
|
||||
{
|
||||
if (tstr.StartsWith(" "))
|
||||
tstr = tstr.Substring(1);
|
||||
@@ -4383,7 +4584,7 @@ namespace VEPROMS.CSLA.Library
|
||||
string tmprnotab = MyParent.MyTab.CleanText.Substring(0, MyParent.MyTab.CleanText.IndexOf(".") + 1) + incSub;
|
||||
//CSM F2024 - 080: For South Texas - if format contains initial line and it is not disabled, show an initial line
|
||||
tmprnotab = tmprnotab.TrimStart();
|
||||
if (!string.IsNullOrEmpty(FormatStepData.TabData.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled && !tmprnotab.StartsWith("_"))
|
||||
if (!string.IsNullOrEmpty(FormatStepData?.TabData?.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled && !tmprnotab.StartsWith("_"))
|
||||
{
|
||||
if (tmprnotab.StartsWith(" "))
|
||||
tmprnotab = tmprnotab.Substring(1);
|
||||
@@ -4401,7 +4602,7 @@ namespace VEPROMS.CSLA.Library
|
||||
_MyTab.CleanText = ((ItemInfo)ActiveParent).MyTab.CleanText;
|
||||
_MyTab.Text = ((ItemInfo)ActiveParent).MyTab.Text;
|
||||
//CSM F2024 - 080: For South Texas - if format contains initial line and it is not disabled, show an initial line
|
||||
if (!string.IsNullOrEmpty(FormatStepData.TabData.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled && !_MyTab.CleanText.StartsWith("_"))
|
||||
if (!string.IsNullOrEmpty(FormatStepData?.TabData?.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled && !_MyTab.CleanText.StartsWith("_"))
|
||||
{
|
||||
if (_MyTab.CleanText.StartsWith(" "))
|
||||
_MyTab.CleanText = _MyTab.CleanText.Substring(1);
|
||||
@@ -4749,7 +4950,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// Note could have modified logic for clock macro (above) but older logic uses the IdentEdit setting
|
||||
// for CAS (Continuous Action Summary steps) that have a circle printed around the step number
|
||||
// this is the least impact of current code/formats
|
||||
if (!string.IsNullOrEmpty(FormatStepData.TabData.MacroEditTag))
|
||||
if (!string.IsNullOrEmpty(FormatStepData?.TabData?.MacroEditTag))
|
||||
{
|
||||
int eidx = tbformat.IndexOf("}", macroindx);
|
||||
if (eidx > -1)
|
||||
@@ -4772,12 +4973,14 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
//CSM F2024 - 080: For South Texas - if format contains initial line and it is not disabled, show an initial line
|
||||
else if (macroindx == -1 && !string.IsNullOrEmpty(FormatStepData.TabData.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled)
|
||||
else if (macroindx == -1 && !string.IsNullOrEmpty(FormatStepData?.TabData?.MacroEditTag) && FormatStepData.TabData.MacroList != null && FormatStepData.TabData.MacroList.Count > 0 && !(this.IsRNOPart && FormatStepData.TabData.MacroList[0].NotInRNO) && !IsInitialLineDisabled)
|
||||
{
|
||||
if (cltext == null)
|
||||
cltext = tbformat;
|
||||
if (cltext.StartsWith(" "))
|
||||
cltext = cltext.Substring(1);
|
||||
if (tbformat.StartsWith(" "))
|
||||
tbformat = tbformat.Substring(1);
|
||||
cltext = FormatStepData.TabData.MacroEditTag + cltext;
|
||||
}
|
||||
}
|
||||
@@ -5586,7 +5789,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
|
||||
//CSM F2024 - 080: For South Texas - if initial line is disabled for this step, do not add the macro
|
||||
if (macro.Name.ToUpper() == "CHECKOFF" && ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ShowInitialLineDisable && !string.IsNullOrEmpty(FormatStepData.TabData.MacroEditTag) && FormatStepData.TabData.MacroEditTag == "_" && IsInitialLineDisabled)
|
||||
if (macro.Name.ToUpper() == "CHECKOFF" && ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ShowInitialLineDisable && !string.IsNullOrEmpty(FormatStepData?.TabData?.MacroEditTag) && FormatStepData.TabData.MacroEditTag == "_" && IsInitialLineDisabled)
|
||||
addToList = false;
|
||||
|
||||
if (addToList) tmp.Add(macro);
|
||||
@@ -6026,8 +6229,8 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new MoveItemCriteria(itemID, index));
|
||||
return tmp;
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new MoveItemCriteria(itemID, index)))
|
||||
{ return tmp; }
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -6039,14 +6242,16 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListCriteria(itemID, type));
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListCriteria(itemID, type)))
|
||||
{
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
||||
#endif
|
||||
#endif
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||
@@ -6056,14 +6261,17 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemTranToListCriteria());
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemTranToListCriteria()))
|
||||
{
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
||||
#endif
|
||||
#endif
|
||||
return tmp;
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetTranToList", ex);
|
||||
@@ -6073,14 +6281,16 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemTranFromListCriteria());
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemTranFromListCriteria()))
|
||||
{
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
||||
#endif
|
||||
#endif
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetTranFromList", ex);
|
||||
@@ -6090,19 +6300,183 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListPartTypeCriteria(fromType));
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListPartTypeCriteria(fromType)))
|
||||
{
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
||||
#endif
|
||||
#endif
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||
}
|
||||
}
|
||||
|
||||
//CSM B2021-043 Step numbering is out of order in RO usage report if RO values exist on steps 10 or higher.
|
||||
// Found various inconsistencies in the reports so adding this to manually sort
|
||||
//instead of binding the sort to 1 or 2 individual fields
|
||||
public List<ItemInfo> SortedList(bool sortbyFoundRoid = false)
|
||||
{
|
||||
List<ItemInfo> tmp = new List<ItemInfo>(this);
|
||||
if (sortbyFoundRoid)
|
||||
{
|
||||
// Priority of Sorting order:
|
||||
// 1. FoundRoid (by Referenced Object ID)
|
||||
// 2. SearchDVPath_clean (Which Procedure Set it is in - I.E. EOPs, Background, SAMGs, etc...)
|
||||
// 3. Keep in order of the Procedures within the set
|
||||
// 4. Keep in the order of the Section within the Procedure
|
||||
// 5. NumericSortNumber - numeric part of the HLS if there is one
|
||||
// 6. Substep Tab - will sort as a string since combined numbers/text
|
||||
tmp.Sort(comparison: delegate (ItemInfo x, ItemInfo y)
|
||||
{
|
||||
int cmp = 0;
|
||||
int FoundROID_cmp = x.FoundROID.CompareTo(y.FoundROID);
|
||||
switch (FoundROID_cmp)
|
||||
{
|
||||
case int result when result < 0:
|
||||
cmp -= 10000000;
|
||||
break;
|
||||
case int result when result == 0:
|
||||
break;
|
||||
case int result when result > 0:
|
||||
cmp += 10000000;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
int DVPath_cmp = x.SearchDVPath_clean.CompareTo(y.SearchDVPath_clean);
|
||||
switch (DVPath_cmp)
|
||||
{
|
||||
case int result when result < 0:
|
||||
cmp -= 1000000;
|
||||
break;
|
||||
case int result when result == 0:
|
||||
break;
|
||||
case int result when result > 0:
|
||||
cmp += 1000000;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (x.MyProcedure != null && y.MyProcedure != null)
|
||||
{
|
||||
cmp += (x.MyProcedure.Ordinal.CompareTo(y.MyProcedure.Ordinal) * 100000);
|
||||
}
|
||||
|
||||
if (x.ActiveSection != null && y.ActiveSection != null)
|
||||
{
|
||||
cmp += (x.ActiveSection.Ordinal.CompareTo(y.ActiveSection.Ordinal) * 100000);
|
||||
}
|
||||
|
||||
cmp += x.NumericSortNumber.CompareTo(y.NumericSortNumber) * 10;
|
||||
|
||||
if (cmp == 0)
|
||||
{
|
||||
int StepTab_cmp = (x.BuildStepTab()).CompareTo(y.BuildStepTab());
|
||||
switch (StepTab_cmp)
|
||||
{
|
||||
case int result when result < 0:
|
||||
cmp -= 1;
|
||||
break;
|
||||
case int result when result == 0:
|
||||
break;
|
||||
case int result when result > 0:
|
||||
cmp += 1;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return cmp;
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
// Priority of Sorting order:
|
||||
// 1. SearchDVPath_clean (Which Procedure Set it is in - I.E. EOPs, Background, SAMGs, etc...)
|
||||
// 2. Keep in order of the Procedures within the set
|
||||
// 3. Keep in the order of the Section within the Procedure
|
||||
// 4. NumericSortNumber - numeric part of the HLS if there is one
|
||||
// 5. Substep Tab - will sort as a string since combined numbers/text
|
||||
// 6. FoundRoid (by Referenced Object ID)
|
||||
tmp.Sort(comparison: delegate (ItemInfo x, ItemInfo y)
|
||||
{
|
||||
int cmp = 0;
|
||||
|
||||
int DVPath_cmp = x.SearchDVPath_clean.CompareTo(y.SearchDVPath_clean);
|
||||
switch (DVPath_cmp)
|
||||
{
|
||||
case int result when result < 0:
|
||||
cmp -= 10000000;
|
||||
break;
|
||||
case int result when result == 0:
|
||||
break;
|
||||
case int result when result > 0:
|
||||
cmp += 10000000;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (x.MyProcedure != null && y.MyProcedure != null)
|
||||
{
|
||||
cmp += (x.MyProcedure.Ordinal.CompareTo(y.MyProcedure.Ordinal) * 1000000);
|
||||
}
|
||||
|
||||
if (x.ActiveSection != null && y.ActiveSection != null)
|
||||
{
|
||||
cmp += (x.ActiveSection.Ordinal.CompareTo(y.ActiveSection.Ordinal) * 100000);
|
||||
}
|
||||
|
||||
cmp += (x.NumericSortNumber.CompareTo(y.NumericSortNumber) * 100);
|
||||
|
||||
if (cmp == 0)
|
||||
{
|
||||
int StepTab_cmp = (x.BuildStepTab()).CompareTo(y.BuildStepTab());
|
||||
switch (StepTab_cmp)
|
||||
{
|
||||
case int result when result < 0:
|
||||
cmp -= 10;
|
||||
break;
|
||||
case int result when result == 0:
|
||||
break;
|
||||
case int result when result > 0:
|
||||
cmp += 10;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
int FoundROID_cmp = x.FoundROID.CompareTo(y.FoundROID);
|
||||
switch (FoundROID_cmp)
|
||||
{
|
||||
case int result when result < 0:
|
||||
cmp -= 1;
|
||||
break;
|
||||
case int result when result == 0:
|
||||
break;
|
||||
case int result when result > 0:
|
||||
cmp += 1;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return cmp;
|
||||
});
|
||||
}
|
||||
|
||||
return tmp;
|
||||
}
|
||||
|
||||
[Serializable()]
|
||||
private class MoveItemCriteria
|
||||
{
|
||||
@@ -6419,8 +6793,8 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListEnhancedTextDifferencesCriteria(procItem.ItemID));
|
||||
return tmp;
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListEnhancedTextDifferencesCriteria(procItem.ItemID)))
|
||||
{ return tmp; }
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -6488,8 +6862,8 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListEnhancedMissingCriteria(srcItem.ItemID, enhType));
|
||||
return tmp;
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListEnhancedMissingCriteria(srcItem.ItemID, enhType)))
|
||||
{ return tmp; }
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -6558,12 +6932,14 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListSearchCriteria(docVersionList, stepTypeList, searchString, caseSensitive, includeLinks, includeRtfFormatting, includeSpecialCharacters, unitPrefix, byWordPrefix, byWordSuffix));
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListSearchCriteria(docVersionList, stepTypeList, searchString, caseSensitive, includeLinks, includeRtfFormatting, includeSpecialCharacters, unitPrefix, byWordPrefix, byWordSuffix)))
|
||||
{
|
||||
tmp.SourceOfList = "Search";
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetListFromTextSearch", ex);
|
||||
@@ -6717,11 +7093,13 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListROSearchCriteria(docVersionList, stepTypeList, roSearchString, unitPrefix));
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListROSearchCriteria(docVersionList, stepTypeList, roSearchString, unitPrefix)))
|
||||
{
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||
@@ -6821,11 +7199,13 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListAnnotationSearchCriteria(docVersionList, stepTypeList, annotationTypeList, searchString, caseSensitive, unitPrefix));
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListAnnotationSearchCriteria(docVersionList, stepTypeList, annotationTypeList, searchString, caseSensitive, unitPrefix)))
|
||||
{
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||
@@ -6945,11 +7325,13 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListTransitionSearchCriteria(docVersionList, tranType, tranCategory, stepTypeList));
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListTransitionSearchCriteria(docVersionList, tranType, tranCategory, stepTypeList)))
|
||||
{
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetListFromTransitionSearch", ex);
|
||||
@@ -7034,11 +7416,13 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListROReportCriteria(docVersionList, stepTypeList, roSearchString, unitPrefix));
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListROReportCriteria(docVersionList, stepTypeList, roSearchString, unitPrefix)))
|
||||
{
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||
@@ -7139,12 +7523,14 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListApplicabilitySearchCriteria(docVersionList, stepTypeList, searchString, caseSensitive, includeLinks, includeRtfFormatting, includeSpecialCharacters, unitPrefix, applicSetting));
|
||||
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListApplicabilitySearchCriteria(docVersionList, stepTypeList, searchString, caseSensitive, includeLinks, includeRtfFormatting, includeSpecialCharacters, unitPrefix, applicSetting)))
|
||||
{
|
||||
tmp.SourceOfList = "Search";
|
||||
ItemInfo.AddList(tmp);
|
||||
tmp.AddEvents();
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetListFromApplicabilitySearch", ex);
|
||||
@@ -7793,7 +8179,9 @@ namespace VEPROMS.CSLA.Library
|
||||
|
||||
// get list of differences from sql. This list does not resolve links and may have other rtf commands.
|
||||
// also this list is source items, not enhanced.
|
||||
ItemInfoList iil = ItemInfoList.GetListEnhancedTextDifferences(this);
|
||||
|
||||
using (ItemInfoList iil = ItemInfoList.GetListEnhancedTextDifferences(this))
|
||||
{
|
||||
if (iil == null || iil.Count == 0) return null; // no differences were found.
|
||||
|
||||
// from sql list, get display text of source items & compare to this procedure's items. This
|
||||
@@ -7815,6 +8203,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
return retiil;
|
||||
}
|
||||
}
|
||||
public void EnhancedProcedureRefreshTextDifferences(ItemInfoList iil)
|
||||
{
|
||||
// the input list is a list of enhanced items within a procedure where
|
||||
@@ -8126,97 +8515,7 @@ namespace VEPROMS.CSLA.Library
|
||||
Dr = dr;
|
||||
}
|
||||
}
|
||||
public static DataTable GetDisplayTabs(int itemID) //, string displayTabID, string displayTabName)
|
||||
{
|
||||
try
|
||||
{
|
||||
DataTable tmp = DataPortal.Fetch<DataTable>(new DisplayTabs(itemID, "", "")); //, displayTabID, displayTabName));
|
||||
//ItemInfo.AddList(tmp);
|
||||
//tmp.AddEvents();
|
||||
return tmp;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||
}
|
||||
}
|
||||
private DataTable dt = new DataTable();
|
||||
private DataTable DataPortal_Fetch(DisplayTabs criteria)
|
||||
{
|
||||
|
||||
using (SqlConnection cn = Database.VEPROMS_SqlConnection)
|
||||
{
|
||||
using (SqlCommand cm = cn.CreateCommand())
|
||||
{
|
||||
try
|
||||
{
|
||||
cm.CommandType = CommandType.StoredProcedure;
|
||||
cm.CommandText = "GetDisplayTabData";
|
||||
cm.CommandTimeout = Database.DefaultTimeout;
|
||||
SqlDataAdapter da = new SqlDataAdapter(cm);
|
||||
da.Fill(dt);
|
||||
cn.Close();
|
||||
da.Dispose();
|
||||
return dt;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//if (_MyLog.IsErrorEnabled) _MyLog.Error("ItemExt.DataPortal_Fetch", ex);
|
||||
throw new DbCslaException("ItemExt.DataPortal_Fetch", ex);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
//public static void AddDisplayTabsState(int itemID, string displayTabID, string displayTabName)
|
||||
//{
|
||||
// try
|
||||
// {
|
||||
// //DisplayTabs tmp =
|
||||
// DataPortal.Fetch<DisplayTabs>(new DisplayTabs(itemID, displayTabID, displayTabName)); //, displayTabID, displayTabName));
|
||||
// //ItemInfo.AddList(tmp);
|
||||
// //tmp.AddEvents();
|
||||
// //return tmp;
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||
// }
|
||||
//}
|
||||
//private DataTable dt = new DataTable();
|
||||
//private void DataPortal_Fetch(int itemID, string displayTabID, string displayTabName)
|
||||
//{
|
||||
|
||||
// using (SqlConnection cn = Database.VEPROMS_SqlConnection)
|
||||
// {
|
||||
// using (SqlCommand cm = cn.CreateCommand())
|
||||
// {
|
||||
// try
|
||||
// {
|
||||
// cm.CommandType = CommandType.StoredProcedure;
|
||||
// cm.CommandText = "AddDisplayTabState";
|
||||
// cm.CommandTimeout = Database.DefaultTimeout;
|
||||
// cm.Parameters.AddWithValue("@ItemID", ItemID);
|
||||
// cm.Parameters.AddWithValue("@displayTabID", displayTabID);
|
||||
// cm.Parameters.AddWithValue("@displayTabName", displayTabName);
|
||||
// cm.ExecuteNonQuery();
|
||||
// //SqlDataAdapter da = new SqlDataAdapter(cm);
|
||||
// //da.Fill(dt);
|
||||
// //cn.Close();
|
||||
// //da.Dispose();
|
||||
// //return dt; // fix
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// //if (_MyLog.IsErrorEnabled) _MyLog.Error("ItemExt.DataPortal_Fetch", ex);
|
||||
// throw new DbCslaException("ItemExt.DataPortal_Fetch", ex);
|
||||
// }
|
||||
|
||||
// }
|
||||
// }
|
||||
|
||||
//}
|
||||
public static void AddDisplayTabsState(int itemID, string displayTabID, string displayTabName)
|
||||
//private void DataPortal_Fetch(int itemID, string displayTabID, string displayTabName)
|
||||
{
|
||||
|
@@ -2650,10 +2650,12 @@ namespace VEPROMS.CSLA.Library
|
||||
firstTrans = false;
|
||||
if (!CanDeleteObject())
|
||||
throw new System.Security.SecurityException("User not authorized to remove a Item");
|
||||
// B2016-009 check source and desintation types and display message box if needed
|
||||
// B2016-009 check source and destination types and display message box if needed
|
||||
// C2022-017 moved the CheckSourceDestinationType call to btnPasteReplace_Click in StepTabRibbon
|
||||
// B2023-101 Handle Paste Replace when procedure to be replaced has Incoming Transitions, i.e. do a separate try/catch for this case
|
||||
ItemInfo newItemInfo = null;
|
||||
using (ItemInfo copyItemInfo = ItemInfo.Get(copyStartID))
|
||||
{
|
||||
try
|
||||
{
|
||||
// C2017-031: Support for paste/replace an enhanced step, if this is replacing enhanced, do a specific query
|
||||
@@ -2662,6 +2664,80 @@ namespace VEPROMS.CSLA.Library
|
||||
newItemInfo = ItemInfo.CopyPasteReplaceEnhancedItemInfoFetch(copyStartID, itemInfo);
|
||||
if (newItemInfo == null) return null;
|
||||
}
|
||||
//C2025-003 Enhanced Copy/Paste Upgrade - Added support for paste/replace on a master step
|
||||
else if (itemInfo.HasEnhancedLinkedStep || copyItemInfo.HasEnhancedLinkedStep)
|
||||
{
|
||||
DialogResult rslt = DialogResult.No;
|
||||
|
||||
SectionConfig secCfg = itemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||
if (copyItemInfo.HasEnhancedLinkedStep && secCfg.MyEnhancedDocuments.Count > 0)
|
||||
rslt = FlexibleMessageBox.Show("The step you are copying contains linked background documents." +
|
||||
"\r\n\r\nDo you also wish to make a copy of the background documents?",
|
||||
"Paste background documents", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
|
||||
//unlink and remove any background documents attached to where you are copying to
|
||||
//and then delete them
|
||||
//if selected want to replace BG step (DialogResult.Yes)
|
||||
if (itemInfo.HasEnhancedLinkedStep && rslt == DialogResult.Yes)
|
||||
{
|
||||
foreach (EnhancedDocument ed in itemInfo.GetMyEnhancedDocuments())
|
||||
{
|
||||
using (ItemInfo exEnh = ItemInfo.Get(ed.ItemID))
|
||||
{
|
||||
exEnh.DoUnlinkEnhanced(exEnh, 0, false);
|
||||
DeleteItemAndChildren(exEnh);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//do copy/paste replace of the master step
|
||||
newItemInfo = ItemInfo.CopyPasteReplaceItemInfoFetch(copyStartID, itemInfo);
|
||||
if (newItemInfo == null) return null;
|
||||
|
||||
//copy any background documents
|
||||
//if selected want to replace BG step (DialogResult.Yes)
|
||||
if (copyItemInfo.HasEnhancedLinkedStep && rslt == DialogResult.Yes)
|
||||
{
|
||||
foreach (EnhancedDocument ed in copyItemInfo.GetMyEnhancedDocuments())
|
||||
{
|
||||
using (ItemInfo exEnh = newItemInfo.DoAddMissingEnhancedItems(ed.Type))
|
||||
{
|
||||
PasteReplace(exEnh, ed.ItemID, chgid, ref firstTrans);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
else if (rslt == DialogResult.No)
|
||||
{
|
||||
//if selected didn't want to copy BG documents (DialogResult.No)
|
||||
//need to unlink BG doc from old removed content (what was pasted over top of)
|
||||
//re-link BG document to new paste replace master doc
|
||||
//this should also auto update the text of the main linked item
|
||||
//to match the new master doc wording
|
||||
|
||||
//get original BG documents
|
||||
EnhancedDocuments orig_eds = itemInfo.GetMyEnhancedDocuments();
|
||||
|
||||
//remove link from pre-existing BG docs
|
||||
foreach (EnhancedDocument ed in orig_eds)
|
||||
{
|
||||
using (ItemInfo exEnh = ItemInfo.Get(ed.ItemID))
|
||||
{ exEnh.DoUnlinkEnhanced(exEnh, 0, false); }
|
||||
}
|
||||
|
||||
//remove link from steps just copied
|
||||
ItemInfo.PasteClearEnhanced(newItemInfo);
|
||||
|
||||
//re-link pre-existing BG docs to newly replaced master step
|
||||
foreach (EnhancedDocument ed in orig_eds)
|
||||
{
|
||||
using (ItemInfo orig_ed_item = ItemInfo.Get(ed.ItemID))
|
||||
{ newItemInfo.DoCreateLinksEnhancedSingleItem(orig_ed_item, ed.Type); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
newItemInfo = ItemInfo.CopyPasteReplaceItemInfoFetch(copyStartID, itemInfo); if (newItemInfo == null) return null;
|
||||
@@ -2684,7 +2760,7 @@ namespace VEPROMS.CSLA.Library
|
||||
ItemInfo.DeleteItemInfoAndChildren(itemInfo.ItemID); // Dispose ItemInfo and Children
|
||||
using (Item item = Get(newItemInfo.ItemID)) ItemInfo.Refresh(item);
|
||||
ItemInfo.PasteSetChangeId(newItemInfo, chgid);
|
||||
ItemInfo.PasteClearEnhanced(newItemInfo);
|
||||
if (!copyItemInfo.HasEnhancedLinkedStep && !itemInfo.HasEnhancedLinkedStep) ItemInfo.PasteClearEnhanced(newItemInfo);
|
||||
if (newItemInfo.NextItem != null) using (Item item = newItemInfo.NextItem.Get()) ItemInfo.Refresh(item);
|
||||
newItemInfo.RefreshNextItems();
|
||||
// if inserting after a caution or note, refreshes tabs. This will adjust bullets
|
||||
@@ -2733,9 +2809,9 @@ namespace VEPROMS.CSLA.Library
|
||||
if (ex.Message.Contains("has External Transitions and has no next step")
|
||||
|| ex.Message.Contains("has External Transitions to Procedure")
|
||||
|| ex.Message.Contains("has External Transitions to it's children")
|
||||
|| ex.Message.Contains("This step has been deleted")
|
||||
)
|
||||
|| ex.Message.Contains("This step has been deleted"))
|
||||
throw ex;
|
||||
|
||||
FlexibleMessageBox.Show("Details were written to the Error Log.", "Paste Replace Failed", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Error);
|
||||
return itemInfo;
|
||||
}
|
||||
@@ -2743,6 +2819,7 @@ namespace VEPROMS.CSLA.Library
|
||||
return itemInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
private static bool HandleSqlExceptionOnCopy(Exception ex)
|
||||
{
|
||||
|
@@ -84,7 +84,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LastChanged", true);
|
||||
return _LastChanged;
|
||||
}
|
||||
set { _LastChanged = value; }
|
||||
|
@@ -80,7 +80,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LastChanged", true);
|
||||
return _LastChanged;
|
||||
}
|
||||
set { _LastChanged = value; }
|
||||
|
@@ -2173,6 +2173,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
#region CheckOff
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
@@ -2284,6 +2285,49 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ShwRplWds
|
||||
// C2029-025 Show or hide replace words. Can highlight replace words in editor.
|
||||
public class ShwRplWds : vlnFormatItem, IVlnIndexedFormatItem
|
||||
{
|
||||
public ShwRplWds(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public ShwRplWds() : base() { }
|
||||
private LazyLoad<int?> _Index;
|
||||
public int? Index
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _Index, "@Index");
|
||||
}
|
||||
}
|
||||
|
||||
// User Interface Mark (UIMark) is the deimal number of an ASCII character that is desplayed in the step editor
|
||||
// to indicate the selected checkoff
|
||||
private LazyLoad<int?> _UIMark;
|
||||
public int? UIMark
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _UIMark, "@UIMark");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Descriptive text shown in the checkoff selection list
|
||||
private LazyLoad<string> _MenuItem;
|
||||
public string MenuItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _MenuItem, "@MenuItem");
|
||||
}
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return MenuItem;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region CheckOffList
|
||||
[TypeConverter(typeof(vlnIndexedListConverter<CheckOffList, CheckOff>))]
|
||||
public class CheckOffList : vlnIndexedFormatList<CheckOff>
|
||||
@@ -6213,6 +6257,36 @@ public StepData Equation // equation has a parent of embedded object.
|
||||
}
|
||||
}
|
||||
|
||||
// F2024-078 adjusts the the spacing before the Note/Caution tab - the space betwee the top of the box and the tab text
|
||||
private LazyLoad<float?> _AdjSpB4Tab;
|
||||
public float? AdjSpB4Tab
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _AdjSpB4Tab, "@AdjSpB4Tab");
|
||||
}
|
||||
}
|
||||
|
||||
// F2024-078 adjusts the the spacing after the Note/Caution tab - the space betwee the tab text and the first line of of Note/Caution text
|
||||
private LazyLoad<float?> _AdjSpAftTab;
|
||||
public float? AdjSpAftTab
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _AdjSpAftTab, "@AdjSpAftTab");
|
||||
}
|
||||
}
|
||||
|
||||
// F2024-078 adjusts the the spacing after the last line of Note/Caution text - between the last line of text and the bottom of the box
|
||||
private LazyLoad<float?> _AdjLastBlnkLn;
|
||||
public float? AdjLastBlnkLn
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _AdjLastBlnkLn, "@AdjLastBlnkLn");
|
||||
}
|
||||
}
|
||||
|
||||
// this will adjust the line spacing when an extra thick line is used for a box, so that the text below the box doesn't hit up against the bottom of the box
|
||||
private LazyLoad<bool> _ThickDouble; // F2021-026: Barakah single column 2 thick double lines around Warnings
|
||||
public bool ThickDouble
|
||||
|
@@ -108,7 +108,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationID", true);
|
||||
return _AnnotationID;
|
||||
}
|
||||
}
|
||||
@@ -118,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||
return _ItemID;
|
||||
}
|
||||
@@ -129,14 +127,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItem", true);
|
||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||
return _MyItem;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyItem", true);
|
||||
if (_MyItem != value)
|
||||
{
|
||||
_MyItem = value;
|
||||
@@ -151,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TypeID", true);
|
||||
if (_MyAnnotationType != null) _TypeID = _MyAnnotationType.TypeID;
|
||||
return _TypeID;
|
||||
}
|
||||
@@ -162,14 +157,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyAnnotationType", true);
|
||||
if (_MyAnnotationType == null && _TypeID != 0) _MyAnnotationType = AnnotationType.Get(_TypeID);
|
||||
return _MyAnnotationType;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyAnnotationType", true);
|
||||
if (_MyAnnotationType != value)
|
||||
{
|
||||
_MyAnnotationType = value;
|
||||
@@ -184,13 +177,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RtfText", true);
|
||||
return _RtfText;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("RtfText", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_RtfText != value)
|
||||
{
|
||||
@@ -205,13 +196,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("SearchText", true);
|
||||
return _SearchText;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("SearchText", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_SearchText != value)
|
||||
{
|
||||
@@ -226,13 +215,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -247,13 +234,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -267,13 +252,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
|
@@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationID", true);
|
||||
return _AnnotationID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("AnnotationID", true);
|
||||
if (_AnnotationID != value)
|
||||
{
|
||||
_AnnotationID = value;
|
||||
@@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
return _ItemID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ItemID", true);
|
||||
if (_ItemID != value)
|
||||
{
|
||||
_ItemID = value;
|
||||
@@ -156,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TypeID", true);
|
||||
return _TypeID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("TypeID", true);
|
||||
if (_TypeID != value)
|
||||
{
|
||||
_TypeID = value;
|
||||
@@ -176,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RtfText", true);
|
||||
return _RtfText;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("RtfText", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_RtfText != value)
|
||||
{
|
||||
@@ -197,13 +188,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("SearchText", true);
|
||||
return _SearchText;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("SearchText", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_SearchText != value)
|
||||
{
|
||||
@@ -218,13 +207,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -239,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -259,13 +244,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -280,13 +263,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DeleteStatus", true);
|
||||
if (_DeleteStatus != value)
|
||||
{
|
||||
_DeleteStatus = value;
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationID", true);
|
||||
return _AnnotationID;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
return _ItemID;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TypeID", true);
|
||||
return _TypeID;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RtfText", true);
|
||||
return _RtfText;
|
||||
}
|
||||
}
|
||||
@@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("SearchText", true);
|
||||
return _SearchText;
|
||||
}
|
||||
}
|
||||
@@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
}
|
||||
|
@@ -109,7 +109,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationID", true);
|
||||
return _AnnotationID;
|
||||
}
|
||||
}
|
||||
@@ -119,7 +118,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||
return _ItemID;
|
||||
}
|
||||
@@ -130,7 +128,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItem", true);
|
||||
if (_MyItem == null && _ItemID != 0) _MyItem = ItemInfo.Get(_ItemID);
|
||||
return _MyItem;
|
||||
}
|
||||
@@ -141,7 +138,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TypeID", true);
|
||||
if (_MyAnnotationType != null) _TypeID = _MyAnnotationType.TypeID;
|
||||
return _TypeID;
|
||||
}
|
||||
@@ -152,7 +148,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyAnnotationType", true);
|
||||
if (_MyAnnotationType == null && _TypeID != 0) _MyAnnotationType = AnnotationTypeInfo.Get(_TypeID);
|
||||
return _MyAnnotationType;
|
||||
}
|
||||
@@ -163,7 +158,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RtfText", true);
|
||||
return _RtfText;
|
||||
}
|
||||
}
|
||||
@@ -173,7 +167,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("SearchText", true);
|
||||
return _SearchText;
|
||||
}
|
||||
}
|
||||
@@ -183,7 +176,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -193,7 +185,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -203,7 +194,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
|
@@ -129,7 +129,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TypeID", true);
|
||||
return _TypeID;
|
||||
}
|
||||
}
|
||||
@@ -139,13 +138,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Name", true);
|
||||
return _Name;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Name", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Name != value)
|
||||
{
|
||||
@@ -160,13 +157,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -181,13 +176,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -201,13 +194,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -226,7 +217,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationTypeAnnotationCount", true);
|
||||
return _AnnotationTypeAnnotationCount;
|
||||
}
|
||||
}
|
||||
@@ -240,7 +230,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationTypeAnnotations", true);
|
||||
if (_AnnotationTypeAnnotationCount < 0 || (_AnnotationTypeAnnotationCount > 0 && _AnnotationTypeAnnotations == null))
|
||||
_AnnotationTypeAnnotations = AnnotationTypeAnnotations.GetByTypeID(TypeID);
|
||||
if (_AnnotationTypeAnnotationCount < 0 )
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationID", true);
|
||||
if (_MyAnnotation != null) _AnnotationID = _MyAnnotation.AnnotationID;
|
||||
return _AnnotationID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyAnnotation", true);
|
||||
if (_MyAnnotation == null && _AnnotationID != 0) _MyAnnotation = Annotation.Get(_AnnotationID);
|
||||
return _MyAnnotation;
|
||||
}
|
||||
@@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||
return _ItemID;
|
||||
}
|
||||
@@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItem", true);
|
||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||
return _MyItem;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyItem", true);
|
||||
if (_MyItem != value)
|
||||
{
|
||||
_MyItem = value;
|
||||
@@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RtfText", true);
|
||||
return _RtfText;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("RtfText", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_RtfText != value)
|
||||
{
|
||||
@@ -120,13 +113,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("SearchText", true);
|
||||
return _SearchText;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("SearchText", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_SearchText != value)
|
||||
{
|
||||
@@ -141,13 +132,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -162,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -182,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -204,7 +189,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_PreviousID", true);
|
||||
return _Item_PreviousID;
|
||||
}
|
||||
}
|
||||
@@ -214,7 +198,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_ContentID", true);
|
||||
return _Item_ContentID;
|
||||
}
|
||||
}
|
||||
@@ -224,7 +207,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_DTS", true);
|
||||
return _Item_DTS;
|
||||
}
|
||||
}
|
||||
@@ -234,7 +216,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_UserID", true);
|
||||
return _Item_UserID;
|
||||
}
|
||||
}
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TypeID", true);
|
||||
return _TypeID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Name", true);
|
||||
return _Name;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -149,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationTypeAnnotationCount", true);
|
||||
if (_AnnotationTypeAnnotationCount < 0)
|
||||
_AnnotationTypeAnnotationCount = AnnotationTypeAnnotations.Count;
|
||||
return _AnnotationTypeAnnotationCount;
|
||||
@@ -162,7 +156,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationTypeAnnotations", true);
|
||||
if (_AnnotationTypeAnnotationCount < 0 || (_AnnotationTypeAnnotationCount > 0 && _AnnotationTypeAnnotations == null))
|
||||
_AnnotationTypeAnnotations = AnnotationInfoList.GetByTypeID(_TypeID);
|
||||
if (_AnnotationTypeAnnotationCount < 0)
|
||||
|
@@ -109,7 +109,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AID", true);
|
||||
return _AID;
|
||||
}
|
||||
}
|
||||
@@ -119,7 +118,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("GID", true);
|
||||
if (_MyGroup != null) _GID = _MyGroup.GID;
|
||||
return _GID;
|
||||
}
|
||||
@@ -130,14 +128,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyGroup", true);
|
||||
if (_MyGroup == null && _GID != 0) _MyGroup = Group.Get(_GID);
|
||||
return _MyGroup;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyGroup", true);
|
||||
if (_MyGroup != value)
|
||||
{
|
||||
_MyGroup = value;
|
||||
@@ -152,7 +148,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RID", true);
|
||||
if (_MyRole != null) _RID = _MyRole.RID;
|
||||
return _RID;
|
||||
}
|
||||
@@ -163,14 +158,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRole", true);
|
||||
if (_MyRole == null && _RID != 0) _MyRole = Role.Get(_RID);
|
||||
return _MyRole;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyRole", true);
|
||||
if (_MyRole != value)
|
||||
{
|
||||
_MyRole = value;
|
||||
@@ -185,7 +178,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderID", true);
|
||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||
return _FolderID;
|
||||
}
|
||||
@@ -196,14 +188,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFolder", true);
|
||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||
return _MyFolder;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyFolder", true);
|
||||
if (_MyFolder != value)
|
||||
{
|
||||
_MyFolder = value;
|
||||
@@ -218,13 +208,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("StartDate", true);
|
||||
return _StartDate;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("StartDate", true);
|
||||
if (value == null) value = string.Empty;
|
||||
_StartDate = value;
|
||||
try
|
||||
@@ -248,13 +236,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("EndDate", true);
|
||||
return _EndDate;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("EndDate", true);
|
||||
if (value == null) value = string.Empty;
|
||||
_EndDate = value;
|
||||
try
|
||||
@@ -278,13 +264,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -298,13 +282,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UsrID", true);
|
||||
return _UsrID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UsrID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UsrID != value)
|
||||
{
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AID", true);
|
||||
return _AID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("GID", true);
|
||||
if (_MyGroup != null) _GID = _MyGroup.GID;
|
||||
return _GID;
|
||||
}
|
||||
@@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyGroup", true);
|
||||
if (_MyGroup == null && _GID != 0) _MyGroup = GroupInfo.Get(_GID);
|
||||
return _MyGroup;
|
||||
}
|
||||
@@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RID", true);
|
||||
if (_MyRole != null) _RID = _MyRole.RID;
|
||||
return _RID;
|
||||
}
|
||||
@@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRole", true);
|
||||
if (_MyRole == null && _RID != 0) _MyRole = RoleInfo.Get(_RID);
|
||||
return _MyRole;
|
||||
}
|
||||
@@ -150,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderID", true);
|
||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||
return _FolderID;
|
||||
}
|
||||
@@ -161,7 +155,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFolder", true);
|
||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = FolderInfo.Get(_FolderID);
|
||||
return _MyFolder;
|
||||
}
|
||||
@@ -172,7 +165,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("StartDate", true);
|
||||
return _StartDate;
|
||||
}
|
||||
}
|
||||
@@ -182,7 +174,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("EndDate", true);
|
||||
return _EndDate;
|
||||
}
|
||||
}
|
||||
@@ -192,7 +183,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -202,7 +192,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UsrID", true);
|
||||
return _UsrID;
|
||||
}
|
||||
}
|
||||
|
@@ -118,7 +118,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AssociationID", true);
|
||||
return _AssociationID;
|
||||
}
|
||||
}
|
||||
@@ -128,7 +127,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("VersionID", true);
|
||||
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
||||
return _VersionID;
|
||||
}
|
||||
@@ -139,14 +137,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyDocVersion", true);
|
||||
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
||||
return _MyDocVersion;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyDocVersion", true);
|
||||
if (_MyDocVersion != value)
|
||||
{
|
||||
_MyDocVersion = value;
|
||||
@@ -161,7 +157,7 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFstID", true);
|
||||
|
||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||
return _ROFstID;
|
||||
}
|
||||
@@ -172,14 +168,13 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyROFst", true);
|
||||
|
||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
||||
return _MyROFst;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyROFst", true);
|
||||
if (_MyROFst != value)
|
||||
{
|
||||
_MyROFst = value;
|
||||
@@ -194,13 +189,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -215,13 +208,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -235,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -255,7 +244,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -273,7 +262,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocVersion == null ? true : _MyDocVersion.IsValidList(list)) && (_MyROFst == null ? true : _MyROFst.IsValidList(list));
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AssociationID", true);
|
||||
return _AssociationID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("VersionID", true);
|
||||
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
||||
return _VersionID;
|
||||
}
|
||||
@@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyDocVersion", true);
|
||||
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersionInfo.Get(_VersionID);
|
||||
return _MyDocVersion;
|
||||
}
|
||||
@@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFstID", true);
|
||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||
return _ROFstID;
|
||||
}
|
||||
@@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyROFst", true);
|
||||
//if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.Get(_ROFstID);
|
||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.GetJustROFst(_ROFstID);// Improve performance by not loading all ROImages
|
||||
return _MyROFst;
|
||||
@@ -151,7 +146,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -161,7 +155,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -171,7 +164,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
|
@@ -108,7 +108,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("CheckID", true);
|
||||
return _CheckID;
|
||||
}
|
||||
}
|
||||
@@ -118,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RevisionID", true);
|
||||
if (_MyRevision != null) _RevisionID = _MyRevision.RevisionID;
|
||||
return _RevisionID;
|
||||
}
|
||||
@@ -129,14 +127,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRevision", true);
|
||||
if (_MyRevision == null && _RevisionID != 0) _MyRevision = Revision.Get(_RevisionID);
|
||||
return _MyRevision;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyRevision", true);
|
||||
if (_MyRevision != value)
|
||||
{
|
||||
_MyRevision = value;
|
||||
@@ -151,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("StageID", true);
|
||||
if (_MyStage != null) _StageID = _MyStage.StageID;
|
||||
return _StageID;
|
||||
}
|
||||
@@ -162,14 +157,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyStage", true);
|
||||
if (_MyStage == null && _StageID != 0) _MyStage = Stage.GetJustStage(_StageID);
|
||||
return _MyStage;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyStage", true);
|
||||
if (_MyStage != value)
|
||||
{
|
||||
_MyStage = value;
|
||||
@@ -184,13 +177,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ConsistencyChecks", true);
|
||||
return _ConsistencyChecks;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ConsistencyChecks", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_ConsistencyChecks != value)
|
||||
{
|
||||
@@ -205,13 +196,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -225,13 +214,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -245,7 +232,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -263,7 +250,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRevision == null ? true : _MyRevision.IsValidList(list)) && (_MyStage == null ? true : _MyStage.IsValidList(list));
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("CheckID", true);
|
||||
return _CheckID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RevisionID", true);
|
||||
if (_MyRevision != null) _RevisionID = _MyRevision.RevisionID;
|
||||
return _RevisionID;
|
||||
}
|
||||
@@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRevision", true);
|
||||
if (_MyRevision == null && _RevisionID != 0) _MyRevision = RevisionInfo.Get(_RevisionID);
|
||||
return _MyRevision;
|
||||
}
|
||||
@@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("StageID", true);
|
||||
if (_MyStage != null) _StageID = _MyStage.StageID;
|
||||
return _StageID;
|
||||
}
|
||||
@@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyStage", true);
|
||||
if (_MyStage == null && _StageID != 0) _MyStage = StageInfo.GetJustStage(_StageID);
|
||||
return _MyStage;
|
||||
}
|
||||
@@ -150,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ConsistencyChecks", true);
|
||||
return _ConsistencyChecks;
|
||||
}
|
||||
}
|
||||
@@ -160,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -170,7 +163,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
|
@@ -129,7 +129,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DBID", true);
|
||||
return _DBID;
|
||||
}
|
||||
}
|
||||
@@ -139,13 +138,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Name", true);
|
||||
return _Name;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Name", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Name != value)
|
||||
{
|
||||
@@ -160,13 +157,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Title", true);
|
||||
return _Title;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Title", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Title != value)
|
||||
{
|
||||
@@ -181,13 +176,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ConnectionString", true);
|
||||
return _ConnectionString;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ConnectionString", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_ConnectionString != value)
|
||||
{
|
||||
@@ -205,13 +198,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ServerType", true);
|
||||
return _ServerType;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ServerType", true);
|
||||
if (_ServerType != value)
|
||||
{
|
||||
_ServerType = value;
|
||||
@@ -225,13 +216,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -246,13 +235,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -266,13 +253,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UsrID", true);
|
||||
return _UsrID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UsrID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UsrID != value)
|
||||
{
|
||||
@@ -291,7 +276,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ConnectionFolderCount", true);
|
||||
return _ConnectionFolderCount;
|
||||
}
|
||||
}
|
||||
@@ -305,10 +289,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ConnectionFolders", true);
|
||||
if (_ConnectionFolderCount < 0 || (_ConnectionFolderCount > 0 && _ConnectionFolders == null))
|
||||
_ConnectionFolders = ConnectionFolders.GetByDBID(DBID);
|
||||
if (_ConnectionFolderCount < 0 )
|
||||
if (_ConnectionFolderCount < 0)
|
||||
_ConnectionFolderCount = _ConnectionFolders == null ? 0 : _ConnectionFolders.Count;
|
||||
if (_ConnectionFolders == null)
|
||||
_ConnectionFolders = ConnectionFolders.New();
|
||||
@@ -323,7 +306,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -341,7 +324,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_ConnectionFolders == null ? true : _ConnectionFolders.IsValidList(list));
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderID", true);
|
||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||
return _FolderID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFolder", true);
|
||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||
return _MyFolder;
|
||||
}
|
||||
@@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ParentID", true);
|
||||
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
||||
return _ParentID;
|
||||
}
|
||||
@@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyParent", true);
|
||||
if (_MyParent == null && _ParentID != _FolderID) _MyParent = Folder.Get(_ParentID);
|
||||
return _MyParent;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyParent", true);
|
||||
if (_MyParent != value)
|
||||
{
|
||||
_MyParent = value;
|
||||
@@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Name", true);
|
||||
return _Name;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Name", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Name != value)
|
||||
{
|
||||
@@ -120,13 +113,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Title", true);
|
||||
return _Title;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Title", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Title != value)
|
||||
{
|
||||
@@ -141,13 +132,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ShortName", true);
|
||||
return _ShortName;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ShortName", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_ShortName != value)
|
||||
{
|
||||
@@ -162,7 +151,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||
return _FormatID;
|
||||
}
|
||||
@@ -173,14 +161,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFormat", true);
|
||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||
return _MyFormat;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyFormat", true);
|
||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||
{
|
||||
_MyFormat = value;
|
||||
@@ -195,13 +181,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ManualOrder", true);
|
||||
return _ManualOrder;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ManualOrder", true);
|
||||
if (_ManualOrder != value)
|
||||
{
|
||||
_ManualOrder = value;
|
||||
@@ -215,13 +199,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -236,13 +218,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -256,13 +236,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UsrID", true);
|
||||
return _UsrID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UsrID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UsrID != value)
|
||||
{
|
||||
@@ -294,7 +272,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -312,7 +290,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DBID", true);
|
||||
return _DBID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Name", true);
|
||||
return _Name;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Title", true);
|
||||
return _Title;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ConnectionString", true);
|
||||
return _ConnectionString;
|
||||
}
|
||||
}
|
||||
@@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ServerType", true);
|
||||
return _ServerType;
|
||||
}
|
||||
}
|
||||
@@ -149,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -159,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -169,7 +162,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UsrID", true);
|
||||
return _UsrID;
|
||||
}
|
||||
}
|
||||
@@ -182,7 +174,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ConnectionFolderCount", true);
|
||||
if (_ConnectionFolderCount < 0)
|
||||
_ConnectionFolderCount = ConnectionFolders.Count;
|
||||
return _ConnectionFolderCount;
|
||||
@@ -195,7 +186,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ConnectionFolders", true);
|
||||
if (_ConnectionFolderCount < 0 || (_ConnectionFolderCount > 0 && _ConnectionFolders == null))
|
||||
_ConnectionFolders = FolderInfoList.GetByDBID(_DBID);
|
||||
if (_ConnectionFolderCount < 0)
|
||||
|
@@ -175,7 +175,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
}
|
||||
@@ -188,13 +187,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Number", true);
|
||||
return _Number;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Number", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Number != value)
|
||||
{
|
||||
@@ -210,14 +207,12 @@ namespace VEPROMS.CSLA.Library
|
||||
get
|
||||
{
|
||||
if (Disposed) throw new Exception("Attempt to access Disposed Object");
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
if (Disposed) throw new Exception("Attempt to access Disposed Object");
|
||||
CanWriteProperty("Text", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Text != value)
|
||||
{
|
||||
@@ -235,13 +230,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Type", true);
|
||||
return _Type;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Type", true);
|
||||
if (_Type != value)
|
||||
{
|
||||
_Type = value;
|
||||
@@ -255,7 +248,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||
return _FormatID;
|
||||
}
|
||||
@@ -266,14 +258,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFormat", true);
|
||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||
return _MyFormat;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyFormat", true);
|
||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||
{
|
||||
_MyFormat = value;
|
||||
@@ -288,13 +278,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -309,13 +297,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -329,13 +315,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -350,7 +334,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LastChanged", true);
|
||||
return _LastChanged;
|
||||
}
|
||||
set { _LastChanged = value; }
|
||||
@@ -364,7 +347,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentDetailCount", true);
|
||||
return _ContentDetailCount;
|
||||
}
|
||||
}
|
||||
@@ -378,10 +360,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentDetails", true);
|
||||
if (_ContentDetailCount < 0 || (_ContentDetailCount > 0 && _ContentDetails == null))
|
||||
_ContentDetails = ContentDetails.GetByContentID(ContentID);
|
||||
if (_ContentDetailCount < 0 )
|
||||
if (_ContentDetailCount < 0)
|
||||
_ContentDetailCount = _ContentDetails == null ? 0 : _ContentDetails.Count;
|
||||
if (_ContentDetails == null)
|
||||
_ContentDetails = ContentDetails.New();
|
||||
@@ -401,7 +382,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentEntryCount", true);
|
||||
return _ContentEntryCount;
|
||||
}
|
||||
}
|
||||
@@ -415,7 +395,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyEntry", true);
|
||||
if (_MyEntry == null) _MyEntry = Entry.New(this);
|
||||
return _MyEntry;
|
||||
}
|
||||
@@ -435,7 +414,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentGridCount", true);
|
||||
return _ContentGridCount;
|
||||
}
|
||||
}
|
||||
@@ -449,7 +427,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyGrid", true);
|
||||
if (_MyGrid == null) _MyGrid = Grid.New(this);
|
||||
return _MyGrid;
|
||||
}
|
||||
@@ -467,7 +444,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentImageCount", true);
|
||||
return _ContentImageCount;
|
||||
}
|
||||
}
|
||||
@@ -481,7 +457,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyImage", true);
|
||||
if (_MyImage == null) _MyImage = Image.New(this);
|
||||
return _MyImage;
|
||||
}
|
||||
@@ -495,7 +470,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentItemCount", true);
|
||||
return _ContentItemCount;
|
||||
}
|
||||
}
|
||||
@@ -509,10 +483,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentItems", true);
|
||||
if (_ContentItemCount < 0 || (_ContentItemCount > 0 && _ContentItems == null))
|
||||
_ContentItems = ContentItems.GetByContentID(ContentID);
|
||||
if (_ContentItemCount < 0 )
|
||||
if (_ContentItemCount < 0)
|
||||
_ContentItemCount = _ContentItems == null ? 0 : _ContentItems.Count;
|
||||
if (_ContentItems == null)
|
||||
_ContentItems = ContentItems.New();
|
||||
@@ -532,7 +505,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentPartCount", true);
|
||||
return _ContentPartCount;
|
||||
}
|
||||
}
|
||||
@@ -546,10 +518,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentParts", true);
|
||||
if (_ContentPartCount < 0 || (_ContentPartCount > 0 && _ContentParts == null))
|
||||
_ContentParts = ContentParts.GetByContentID(ContentID);
|
||||
if (_ContentPartCount < 0 )
|
||||
if (_ContentPartCount < 0)
|
||||
_ContentPartCount = _ContentParts == null ? 0 : _ContentParts.Count;
|
||||
if (_ContentParts == null)
|
||||
_ContentParts = ContentParts.New();
|
||||
@@ -569,7 +540,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentRoUsageCount", true);
|
||||
if (_ContentRoUsageCount < 0)
|
||||
_ContentRoUsageCount = ContentRoUsages.Count;
|
||||
return _ContentRoUsageCount;
|
||||
@@ -585,10 +555,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentRoUsages", true);
|
||||
if (_ContentRoUsageCount < 0 || (_ContentRoUsageCount > 0 && _ContentRoUsages == null))
|
||||
_ContentRoUsages = ContentRoUsages.GetByContentID(ContentID);
|
||||
if (_ContentRoUsageCount < 0 )
|
||||
if (_ContentRoUsageCount < 0)
|
||||
_ContentRoUsageCount = _ContentRoUsages == null ? 0 : _ContentRoUsages.Count;
|
||||
if (_ContentRoUsages == null)
|
||||
_ContentRoUsages = ContentRoUsages.New();
|
||||
@@ -608,7 +577,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentTransitionCount", true);
|
||||
if (_ContentTransitionCount < 0)
|
||||
_ContentTransitionCount = ContentTransitions.Count;
|
||||
return _ContentTransitionCount;
|
||||
@@ -624,10 +592,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentTransitions", true);
|
||||
if (_ContentTransitionCount < 0 || (_ContentTransitionCount > 0 && _ContentTransitions == null))
|
||||
_ContentTransitions = ContentTransitions.GetByFromID(ContentID);
|
||||
if (_ContentTransitionCount < 0 )
|
||||
if (_ContentTransitionCount < 0)
|
||||
_ContentTransitionCount = _ContentTransitions == null ? 0 : _ContentTransitions.Count;
|
||||
if (_ContentTransitions == null)
|
||||
_ContentTransitions = ContentTransitions.New();
|
||||
@@ -647,7 +614,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentZContentCount", true);
|
||||
return _ContentZContentCount;
|
||||
}
|
||||
}
|
||||
@@ -661,7 +627,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyZContent", true);
|
||||
if (_MyZContent == null) _MyZContent = ZContent.New(this);
|
||||
return _MyZContent;
|
||||
}
|
||||
@@ -670,7 +635,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -688,7 +653,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_ContentDetails == null ? true : _ContentDetails.IsValidList(list)) && (_MyEntry == null ? true : _MyEntry.IsValidList(list)) && (_MyGrid == null ? true : _MyGrid.IsValidList(list)) && (_MyImage == null ? true : _MyImage.IsValidList(list)) && (_ContentItems == null ? true : _ContentItems.IsValidList(list)) && (_ContentParts == null ? true : _ContentParts.IsValidList(list)) && (_ContentRoUsages == null ? true : _ContentRoUsages.IsValidList(list)) && (_ContentTransitions == null ? true : _ContentTransitions.IsValidList(list)) && (_MyZContent == null ? true : _MyZContent.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list));
|
||||
|
@@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ContentID", true);
|
||||
if (_ContentID != value)
|
||||
{
|
||||
_ContentID = value;
|
||||
@@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Number", true);
|
||||
return _Number;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Number", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Number != value)
|
||||
{
|
||||
@@ -157,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Text", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Text != value)
|
||||
{
|
||||
@@ -178,13 +171,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Type", true);
|
||||
return _Type;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Type", true);
|
||||
if (_Type != value)
|
||||
{
|
||||
_Type = value;
|
||||
@@ -198,13 +189,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
return _FormatID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("FormatID", true);
|
||||
if (_FormatID != value)
|
||||
{
|
||||
_FormatID = value;
|
||||
@@ -218,13 +207,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -239,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -259,13 +244,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -280,13 +263,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DeleteStatus", true);
|
||||
if (_DeleteStatus != value)
|
||||
{
|
||||
_DeleteStatus = value;
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Number", true);
|
||||
return _Number;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Type", true);
|
||||
return _Type;
|
||||
}
|
||||
}
|
||||
@@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
return _FormatID;
|
||||
}
|
||||
}
|
||||
@@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
}
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DetailID", true);
|
||||
if (_MyDetail != null) _DetailID = _MyDetail.DetailID;
|
||||
return _DetailID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyDetail", true);
|
||||
if (_MyDetail == null && _DetailID != 0) _MyDetail = Detail.Get(_DetailID);
|
||||
return _MyDetail;
|
||||
}
|
||||
@@ -66,13 +64,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemType", true);
|
||||
return _ItemType;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ItemType", true);
|
||||
if (_ItemType != value)
|
||||
{
|
||||
_ItemType = value;
|
||||
@@ -86,13 +82,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Text", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Text != value)
|
||||
{
|
||||
@@ -107,13 +101,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -128,13 +120,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -148,13 +138,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
|
@@ -43,7 +43,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private void OnChange()
|
||||
{
|
||||
string key = ContentID.ToString();
|
||||
if( _CacheByPrimaryKey.ContainsKey(key))
|
||||
if (_CacheByPrimaryKey.ContainsKey(key))
|
||||
foreach (ContentInfo cont in _CacheByPrimaryKey[key])
|
||||
cont.OnChange(cont);
|
||||
else
|
||||
@@ -88,6 +88,19 @@ namespace VEPROMS.CSLA.Library
|
||||
if (_CacheByPrimaryKey.ContainsKey(key)) return _CacheByPrimaryKey[key][0];
|
||||
return null;
|
||||
}
|
||||
public static void ClearContentInfoCache()
|
||||
{
|
||||
_CacheByPrimaryKey.Clear();
|
||||
while (_CacheList.Count > 0)
|
||||
{
|
||||
while (_CacheList[0]?._ContentItems?.Count > 0)
|
||||
{
|
||||
_CacheList[0]?._ContentItems[0]?.Dispose();
|
||||
}
|
||||
_CacheList[0]?._ContentItems?.Dispose();
|
||||
_CacheList[0].Dispose();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Business Methods
|
||||
private string _ErrorMessage = string.Empty;
|
||||
@@ -113,7 +126,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
}
|
||||
@@ -123,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LastChanged", true);
|
||||
return _LastChanged;
|
||||
}
|
||||
set { _LastChanged = value; }
|
||||
@@ -138,7 +149,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Number", true);
|
||||
return _Number;
|
||||
}
|
||||
}
|
||||
@@ -149,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
||||
get
|
||||
{
|
||||
if (_Disposed) throw new Exception("Cannot access disposed object");
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
}
|
||||
@@ -162,7 +171,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Type", true);
|
||||
return _Type;
|
||||
}
|
||||
}
|
||||
@@ -172,7 +180,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||
return _FormatID;
|
||||
}
|
||||
@@ -183,7 +190,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFormat", true);
|
||||
if (_MyFormat == null && _FormatID != null) _MyFormat = FormatInfo.Get((int)_FormatID);
|
||||
return _MyFormat;
|
||||
}
|
||||
@@ -194,7 +200,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -204,7 +209,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -214,7 +218,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -227,7 +230,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentDetailCount", true);
|
||||
if (_ContentDetailCount < 0)
|
||||
_ContentDetailCount = ContentDetails.Count;
|
||||
return _ContentDetailCount;
|
||||
@@ -240,7 +242,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentDetails", true);
|
||||
if (_ContentDetailCount < 0 || (_ContentDetailCount > 0 && _ContentDetails == null))
|
||||
_ContentDetails = DetailInfoList.GetByContentID(_ContentID);
|
||||
if (_ContentDetailCount < 0)
|
||||
@@ -265,7 +266,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentEntryCount", true);
|
||||
if (_ContentEntryCount < 0)
|
||||
{
|
||||
_MyEntry = EntryInfo.Get(_ContentID);
|
||||
@@ -281,7 +281,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyEntry", true);
|
||||
if (_ContentEntryCount != 0 && _MyEntry == null)
|
||||
{
|
||||
_MyEntry = EntryInfo.Get(_ContentID);
|
||||
@@ -299,7 +298,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentGridCount", true);
|
||||
return _ContentGridCount;
|
||||
}
|
||||
}
|
||||
@@ -310,7 +308,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyGrid", true);
|
||||
if (_ContentGridCount == -1 && _MyGrid != null)
|
||||
{
|
||||
_MyGrid = null;
|
||||
@@ -332,7 +329,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentImageCount", true);
|
||||
return _ContentImageCount;
|
||||
}
|
||||
}
|
||||
@@ -343,7 +339,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyImage", true);
|
||||
if (_ContentImageCount != 0 && _MyImage == null)
|
||||
{
|
||||
_MyImage = ImageInfo.Get(_ContentID);
|
||||
@@ -361,7 +356,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentItemCount", true);
|
||||
if (_ContentItemCount < 0)
|
||||
_ContentItemCount = ContentItems.Count;
|
||||
return _ContentItemCount;
|
||||
@@ -374,7 +368,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentItems", true);
|
||||
if (_ContentItemCount < 0 || (_ContentItemCount > 0 && _ContentItems == null))
|
||||
_ContentItems = ItemInfoList.GetByContentID(_ContentID);
|
||||
if (_ContentItemCount < 0)
|
||||
@@ -399,7 +392,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentPartCount", true);
|
||||
if (_ContentPartCount < 0)
|
||||
_ContentPartCount = ContentParts.Count;
|
||||
return _ContentPartCount;
|
||||
@@ -412,7 +404,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentParts", true);
|
||||
if (_ContentPartCount < 0 || (_ContentPartCount > 0 && _ContentParts == null))
|
||||
_ContentParts = PartInfoList.GetByContentID(_ContentID);
|
||||
if (_ContentPartCount < 0)
|
||||
@@ -437,7 +428,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentRoUsageCount", true);
|
||||
if (_ContentRoUsageCount < 0)
|
||||
_ContentRoUsageCount = ContentRoUsages.Count;
|
||||
return _ContentRoUsageCount;
|
||||
@@ -450,7 +440,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentRoUsages", true);
|
||||
if (_ContentRoUsageCount < 0 || (_ContentRoUsageCount > 0 && _ContentRoUsages == null))
|
||||
_ContentRoUsages = RoUsageInfoList.GetByContentID(_ContentID);
|
||||
if (_ContentRoUsageCount < 0)
|
||||
@@ -475,7 +464,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentTransitionCount", true);
|
||||
if (_ContentTransitionCount < 0)
|
||||
_ContentTransitionCount = ContentTransitions.Count;
|
||||
return _ContentTransitionCount;
|
||||
@@ -488,7 +476,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentTransitions", true);
|
||||
if (_ContentTransitionCount < 0 || (_ContentTransitionCount > 0 && _ContentTransitions == null))
|
||||
_ContentTransitions = TransitionInfoList.GetByFromID(_ContentID);
|
||||
if (_ContentTransitionCount < 0)
|
||||
@@ -513,7 +500,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentZContentCount", true);
|
||||
return _ContentZContentCount;
|
||||
}
|
||||
}
|
||||
@@ -524,7 +510,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyZContent", true);
|
||||
if (_ContentZContentCount != 0 && _MyZContent == null)
|
||||
{
|
||||
_MyZContent = ZContentInfo.Get(_ContentID);
|
||||
@@ -597,7 +582,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
|
||||
List<ContentInfo> listContentInfo = _CacheByPrimaryKey[str]; // Get the list of items
|
||||
if (listContentInfo.Count >1) Console.WriteLine("**Cache - {0}, count = {1}", str, listContentInfo.Count);
|
||||
if (listContentInfo.Count > 1) Console.WriteLine("**Cache - {0}, count = {1}", str, listContentInfo.Count);
|
||||
if (listContentInfo.Count > 1)
|
||||
{
|
||||
Console.WriteLine("**Cache - {0}, count = {1}", str, listContentInfo.Count);
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||
return _ItemID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItem", true);
|
||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||
return _MyItem;
|
||||
}
|
||||
@@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("PreviousID", true);
|
||||
if (_MyPrevious != null) _PreviousID = _MyPrevious.ItemID;
|
||||
return _PreviousID;
|
||||
}
|
||||
@@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyPrevious", true);
|
||||
if (_MyPrevious == null && _PreviousID != null) _MyPrevious = Item.Get((int)_PreviousID);
|
||||
return _MyPrevious;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyPrevious", true);
|
||||
if ((_MyPrevious == null ? _PreviousID : (int?)_MyPrevious.ItemID) != (value == null ? null : (int?)value.ItemID))
|
||||
{
|
||||
_MyPrevious = value;
|
||||
@@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -119,13 +112,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FromType", true);
|
||||
return _FromType;
|
||||
}
|
||||
}
|
||||
@@ -53,7 +52,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||
return _ItemID;
|
||||
}
|
||||
@@ -64,14 +62,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItem", true);
|
||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||
return _MyItem;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyItem", true);
|
||||
if (_MyItem != value)
|
||||
{
|
||||
_MyItem = value;
|
||||
@@ -86,13 +82,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -106,13 +100,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -128,7 +120,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_PreviousID", true);
|
||||
return _Item_PreviousID;
|
||||
}
|
||||
}
|
||||
@@ -138,7 +129,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_ContentID", true);
|
||||
return _Item_ContentID;
|
||||
}
|
||||
}
|
||||
@@ -148,7 +138,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_DTS", true);
|
||||
return _Item_DTS;
|
||||
}
|
||||
}
|
||||
@@ -158,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_UserID", true);
|
||||
return _Item_UserID;
|
||||
}
|
||||
}
|
||||
@@ -184,7 +172,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -202,7 +190,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyItem == null ? true : _MyItem.IsValidList(list));
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROUsageID", true);
|
||||
if (_MyRoUsage != null) _ROUsageID = _MyRoUsage.ROUsageID;
|
||||
return _ROUsageID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRoUsage", true);
|
||||
if (_MyRoUsage == null && _ROUsageID != 0) _MyRoUsage = RoUsage.Get(_ROUsageID);
|
||||
return _MyRoUsage;
|
||||
}
|
||||
@@ -66,13 +64,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROID", true);
|
||||
return _ROID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ROID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_ROID != value)
|
||||
{
|
||||
@@ -87,13 +83,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -108,13 +102,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -128,13 +120,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -150,7 +140,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODbID", true);
|
||||
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
||||
return _RODbID;
|
||||
}
|
||||
@@ -161,14 +150,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRODb", true);
|
||||
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
||||
return _MyRODb;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyRODb", true);
|
||||
if (_MyRODb != value)
|
||||
{
|
||||
_MyRODb = value;
|
||||
@@ -186,7 +173,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_ROName", true);
|
||||
return _RODb_ROName;
|
||||
}
|
||||
}
|
||||
@@ -199,7 +185,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_FolderPath", true);
|
||||
return _RODb_FolderPath;
|
||||
}
|
||||
}
|
||||
@@ -212,7 +197,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_DBConnectionString", true);
|
||||
return _RODb_DBConnectionString;
|
||||
}
|
||||
}
|
||||
@@ -222,7 +206,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_Config", true);
|
||||
return _RODb_Config;
|
||||
}
|
||||
}
|
||||
@@ -232,7 +215,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_DTS", true);
|
||||
return _RODb_DTS;
|
||||
}
|
||||
}
|
||||
@@ -242,7 +224,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_UserID", true);
|
||||
return _RODb_UserID;
|
||||
}
|
||||
}
|
||||
@@ -268,7 +249,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -286,7 +267,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
||||
|
@@ -44,7 +44,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TransitionID", true);
|
||||
if (_MyTransition != null) _TransitionID = _MyTransition.TransitionID;
|
||||
return _TransitionID;
|
||||
}
|
||||
@@ -56,7 +55,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyTransition", true);
|
||||
if (_MyTransition == null && _TransitionID != 0) _MyTransition = Transition.Get(_TransitionID);
|
||||
return _MyTransition;
|
||||
}
|
||||
@@ -70,7 +68,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ToID", true);
|
||||
if (_MyItemToID != null) _ToID = _MyItemToID.ItemID;
|
||||
return _ToID;
|
||||
}
|
||||
@@ -81,14 +78,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItemToID", true);
|
||||
if (_MyItemToID == null && _ToID != 0) _MyItemToID = Item.Get(_ToID);
|
||||
return _MyItemToID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyItemToID", true);
|
||||
if (_MyItemToID != value)
|
||||
{
|
||||
_MyItemToID = value;
|
||||
@@ -103,7 +98,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RangeID", true);
|
||||
if (_MyItemRangeID != null) _RangeID = _MyItemRangeID.ItemID;
|
||||
return _RangeID;
|
||||
}
|
||||
@@ -114,14 +108,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItemRangeID", true);
|
||||
if (_MyItemRangeID == null && _RangeID != 0) _MyItemRangeID = Item.Get(_RangeID);
|
||||
return _MyItemRangeID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyItemRangeID", true);
|
||||
if (_MyItemRangeID != value)
|
||||
{
|
||||
_MyItemRangeID = value;
|
||||
@@ -139,13 +131,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("IsRange", true);
|
||||
return _IsRange;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("IsRange", true);
|
||||
if (_IsRange != value)
|
||||
{
|
||||
_IsRange = value;
|
||||
@@ -159,13 +149,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TranType", true);
|
||||
return _TranType;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("TranType", true);
|
||||
if (_TranType != value)
|
||||
{
|
||||
_TranType = value;
|
||||
@@ -179,13 +167,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -200,13 +186,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -220,13 +204,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -242,7 +224,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_RangeID_PreviousID", true);
|
||||
return _Item_RangeID_PreviousID;
|
||||
}
|
||||
}
|
||||
@@ -252,7 +233,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_RangeID_ContentID", true);
|
||||
return _Item_RangeID_ContentID;
|
||||
}
|
||||
}
|
||||
@@ -262,7 +242,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_RangeID_DTS", true);
|
||||
return _Item_RangeID_DTS;
|
||||
}
|
||||
}
|
||||
@@ -272,7 +251,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_RangeID_UserID", true);
|
||||
return _Item_RangeID_UserID;
|
||||
}
|
||||
}
|
||||
@@ -282,7 +260,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_ToID_PreviousID", true);
|
||||
return _Item_ToID_PreviousID;
|
||||
}
|
||||
}
|
||||
@@ -292,7 +269,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_ToID_ContentID", true);
|
||||
return _Item_ToID_ContentID;
|
||||
}
|
||||
}
|
||||
@@ -302,7 +278,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_ToID_DTS", true);
|
||||
return _Item_ToID_DTS;
|
||||
}
|
||||
}
|
||||
@@ -312,7 +287,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Item_ToID_UserID", true);
|
||||
return _Item_ToID_UserID;
|
||||
}
|
||||
}
|
||||
@@ -338,7 +312,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -356,7 +330,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyItemToID == null ? true : _MyItemToID.IsValidList(list)) && (_MyItemRangeID == null ? true : _MyItemRangeID.IsValidList(list));
|
||||
|
@@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -111,13 +110,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationID", true);
|
||||
return _AnnotationID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("AnnotationID", true);
|
||||
if (_AnnotationID != value)
|
||||
{
|
||||
_AnnotationID = value;
|
||||
@@ -131,13 +128,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
return _ItemID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ItemID", true);
|
||||
if (_ItemID != value)
|
||||
{
|
||||
_ItemID = value;
|
||||
@@ -151,13 +146,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TypeID", true);
|
||||
return _TypeID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("TypeID", true);
|
||||
if (_TypeID != value)
|
||||
{
|
||||
_TypeID = value;
|
||||
@@ -171,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RtfText", true);
|
||||
return _RtfText;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("RtfText", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_RtfText != value)
|
||||
{
|
||||
@@ -192,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("SearchText", true);
|
||||
return _SearchText;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("SearchText", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_SearchText != value)
|
||||
{
|
||||
@@ -213,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -234,13 +221,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -254,13 +239,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -275,13 +258,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DeleteStatus", true);
|
||||
if (_DeleteStatus != value)
|
||||
{
|
||||
_DeleteStatus = value;
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AnnotationID", true);
|
||||
return _AnnotationID;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
return _ItemID;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TypeID", true);
|
||||
return _TypeID;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RtfText", true);
|
||||
return _RtfText;
|
||||
}
|
||||
}
|
||||
@@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("SearchText", true);
|
||||
return _SearchText;
|
||||
}
|
||||
}
|
||||
@@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
}
|
||||
|
@@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -111,13 +110,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ContentID", true);
|
||||
if (_ContentID != value)
|
||||
{
|
||||
_ContentID = value;
|
||||
@@ -131,13 +128,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Number", true);
|
||||
return _Number;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Number", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Number != value)
|
||||
{
|
||||
@@ -152,13 +147,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Text", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Text != value)
|
||||
{
|
||||
@@ -173,13 +166,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Type", true);
|
||||
return _Type;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Type", true);
|
||||
if (_Type != value)
|
||||
{
|
||||
_Type = value;
|
||||
@@ -193,13 +184,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
return _FormatID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("FormatID", true);
|
||||
if (_FormatID != value)
|
||||
{
|
||||
_FormatID = value;
|
||||
@@ -213,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -234,13 +221,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -254,13 +239,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -275,13 +258,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DeleteStatus", true);
|
||||
if (_DeleteStatus != value)
|
||||
{
|
||||
_DeleteStatus = value;
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Number", true);
|
||||
return _Number;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Type", true);
|
||||
return _Type;
|
||||
}
|
||||
}
|
||||
@@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
return _FormatID;
|
||||
}
|
||||
}
|
||||
@@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
}
|
||||
|
@@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -111,13 +110,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocID", true);
|
||||
if (_DocID != value)
|
||||
{
|
||||
_DocID = value;
|
||||
@@ -131,13 +128,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LibTitle", true);
|
||||
return _LibTitle;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("LibTitle", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_LibTitle != value)
|
||||
{
|
||||
@@ -152,13 +147,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocContent", true);
|
||||
return _DocContent;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocContent", true);
|
||||
if (_DocContent != value)
|
||||
{
|
||||
_DocContent = value;
|
||||
@@ -172,13 +165,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocAscii", true);
|
||||
return _DocAscii;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocAscii", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_DocAscii != value)
|
||||
{
|
||||
@@ -193,13 +184,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -214,13 +203,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -234,13 +221,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -255,13 +240,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FileExtension", true);
|
||||
return _FileExtension;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("FileExtension", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_FileExtension != value)
|
||||
{
|
||||
@@ -276,13 +259,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocPdf", true);
|
||||
return _DocPdf;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocPdf", true);
|
||||
if (_DocPdf != value)
|
||||
{
|
||||
_DocPdf = value;
|
||||
@@ -296,13 +277,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DeleteStatus", true);
|
||||
if (_DeleteStatus != value)
|
||||
{
|
||||
_DeleteStatus = value;
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LibTitle", true);
|
||||
return _LibTitle;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocContent", true);
|
||||
return _DocContent;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocAscii", true);
|
||||
return _DocAscii;
|
||||
}
|
||||
}
|
||||
@@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FileExtension", true);
|
||||
return _FileExtension;
|
||||
}
|
||||
}
|
||||
@@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocPdf", true);
|
||||
return _DocPdf;
|
||||
}
|
||||
}
|
||||
@@ -196,7 +186,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
}
|
||||
|
@@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -111,13 +110,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ContentID", true);
|
||||
if (_ContentID != value)
|
||||
{
|
||||
_ContentID = value;
|
||||
@@ -131,13 +128,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocID", true);
|
||||
if (_DocID != value)
|
||||
{
|
||||
_DocID = value;
|
||||
@@ -151,13 +146,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -171,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -192,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DeleteStatus", true);
|
||||
if (_DeleteStatus != value)
|
||||
{
|
||||
_DeleteStatus = value;
|
||||
|
@@ -108,7 +108,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DROUsageID", true);
|
||||
return _DROUsageID;
|
||||
}
|
||||
}
|
||||
@@ -118,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||
return _DocID;
|
||||
}
|
||||
@@ -129,14 +127,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyDocument", true);
|
||||
if (_MyDocument == null && _DocID != 0) _MyDocument = Document.Get(_DocID);
|
||||
return _MyDocument;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyDocument", true);
|
||||
if (_MyDocument != value)
|
||||
{
|
||||
_MyDocument = value;
|
||||
@@ -151,13 +147,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROID", true);
|
||||
return _ROID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ROID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_ROID != value)
|
||||
{
|
||||
@@ -172,13 +166,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -193,13 +185,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -213,13 +203,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -235,7 +223,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODbID", true);
|
||||
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
||||
return _RODbID;
|
||||
}
|
||||
@@ -246,14 +233,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRODb", true);
|
||||
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
||||
return _MyRODb;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyRODb", true);
|
||||
if (_MyRODb != value)
|
||||
{
|
||||
_MyRODb = value;
|
||||
@@ -266,7 +251,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -284,7 +269,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocument == null ? true : _MyDocument.IsValidList(list)) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DROUsageID", true);
|
||||
return _DROUsageID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||
return _DocID;
|
||||
}
|
||||
@@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyDocument", true);
|
||||
if (_MyDocument == null && _DocID != 0) _MyDocument = DocumentInfo.Get(_DocID);
|
||||
return _MyDocument;
|
||||
}
|
||||
@@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROID", true);
|
||||
return _ROID;
|
||||
}
|
||||
}
|
||||
@@ -138,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -148,7 +143,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -158,7 +152,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -168,7 +161,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODbID", true);
|
||||
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
||||
return _RODbID;
|
||||
}
|
||||
@@ -179,7 +171,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRODb", true);
|
||||
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODbInfo.Get(_RODbID);
|
||||
return _MyRODb;
|
||||
}
|
||||
|
@@ -107,7 +107,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DetailID", true);
|
||||
return _DetailID;
|
||||
}
|
||||
}
|
||||
@@ -117,7 +116,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||
return _ContentID;
|
||||
}
|
||||
@@ -128,14 +126,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyContent", true);
|
||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||
return _MyContent;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyContent", true);
|
||||
if (_MyContent != value)
|
||||
{
|
||||
_MyContent = value;
|
||||
@@ -150,13 +146,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemType", true);
|
||||
return _ItemType;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ItemType", true);
|
||||
if (_ItemType != value)
|
||||
{
|
||||
_ItemType = value;
|
||||
@@ -170,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Text", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Text != value)
|
||||
{
|
||||
@@ -191,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -212,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -232,13 +220,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -252,7 +238,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -270,7 +256,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DetailID", true);
|
||||
return _DetailID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||
return _ContentID;
|
||||
}
|
||||
@@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyContent", true);
|
||||
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
||||
return _MyContent;
|
||||
}
|
||||
@@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemType", true);
|
||||
return _ItemType;
|
||||
}
|
||||
}
|
||||
@@ -138,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Text", true);
|
||||
return _Text;
|
||||
}
|
||||
}
|
||||
@@ -148,7 +143,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -158,7 +152,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -168,7 +161,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
|
@@ -122,7 +122,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("VersionID", true);
|
||||
return _VersionID;
|
||||
}
|
||||
}
|
||||
@@ -132,7 +131,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderID", true);
|
||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||
return _FolderID;
|
||||
}
|
||||
@@ -143,14 +141,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFolder", true);
|
||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||
return _MyFolder;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyFolder", true);
|
||||
if (_MyFolder != value)
|
||||
{
|
||||
_MyFolder = value;
|
||||
@@ -168,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("VersionType", true);
|
||||
return _VersionType;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("VersionType", true);
|
||||
if (_VersionType != value)
|
||||
{
|
||||
_VersionType = value;
|
||||
@@ -188,13 +182,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Name", true);
|
||||
return _Name;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Name", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Name != value)
|
||||
{
|
||||
@@ -209,13 +201,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Title", true);
|
||||
return _Title;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Title", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Title != value)
|
||||
{
|
||||
@@ -230,7 +220,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||
return _ItemID;
|
||||
}
|
||||
@@ -241,14 +230,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItem", true);
|
||||
if (_MyItem == null && _ItemID != null) _MyItem = Item.Get((int)_ItemID);
|
||||
return _MyItem;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyItem", true);
|
||||
if ((_MyItem == null ? _ItemID : (int?)_MyItem.ItemID) != (value == null ? null : (int?)value.ItemID))
|
||||
{
|
||||
_MyItem = value;
|
||||
@@ -263,7 +250,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||
return _FormatID;
|
||||
}
|
||||
@@ -274,14 +260,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFormat", true);
|
||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||
return _MyFormat;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyFormat", true);
|
||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||
{
|
||||
_MyFormat = value;
|
||||
@@ -296,13 +280,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -317,13 +299,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -337,13 +317,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -362,7 +340,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocVersionAssociationCount", true);
|
||||
return _DocVersionAssociationCount;
|
||||
}
|
||||
}
|
||||
@@ -376,10 +353,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocVersionAssociations", true);
|
||||
if (_DocVersionAssociationCount < 0 || (_DocVersionAssociationCount > 0 && _DocVersionAssociations == null))
|
||||
_DocVersionAssociations = DocVersionAssociations.GetByVersionID(VersionID);
|
||||
if (_DocVersionAssociationCount < 0 )
|
||||
if (_DocVersionAssociationCount < 0)
|
||||
_DocVersionAssociationCount = _DocVersionAssociations == null ? 0 : _DocVersionAssociations.Count;
|
||||
if (_DocVersionAssociations == null)
|
||||
_DocVersionAssociations = DocVersionAssociations.New();
|
||||
@@ -394,7 +370,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -412,7 +388,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_DocVersionAssociations == null ? true : _DocVersionAssociations.IsValidList(list)) && (_MyFolder == null ? true : _MyFolder.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list)) && (_MyItem == null ? true : _MyItem.IsValidList(list));
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AssociationID", true);
|
||||
if (_MyAssociation != null) _AssociationID = _MyAssociation.AssociationID;
|
||||
return _AssociationID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyAssociation", true);
|
||||
if (_MyAssociation == null && _AssociationID != 0) _MyAssociation = Association.Get(_AssociationID);
|
||||
return _MyAssociation;
|
||||
}
|
||||
@@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFstID", true);
|
||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||
return _ROFstID;
|
||||
}
|
||||
@@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyROFst", true);
|
||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
||||
return _MyROFst;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyROFst", true);
|
||||
if (_MyROFst != value)
|
||||
{
|
||||
_MyROFst = value;
|
||||
@@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -120,13 +113,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -140,13 +131,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -162,7 +151,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFst_RODbID", true);
|
||||
return _ROFst_RODbID;
|
||||
}
|
||||
}
|
||||
@@ -172,7 +160,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFst_ROLookup", true);
|
||||
return _ROFst_ROLookup;
|
||||
}
|
||||
}
|
||||
@@ -182,7 +169,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFst_Config", true);
|
||||
return _ROFst_Config;
|
||||
}
|
||||
}
|
||||
@@ -192,7 +178,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFst_DTS", true);
|
||||
return _ROFst_DTS;
|
||||
}
|
||||
}
|
||||
@@ -202,7 +187,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFst_UserID", true);
|
||||
return _ROFst_UserID;
|
||||
}
|
||||
}
|
||||
@@ -228,7 +212,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -246,7 +230,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyROFst == null ? true : _MyROFst.IsValidList(list));
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("VersionID", true);
|
||||
return _VersionID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderID", true);
|
||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||
return _FolderID;
|
||||
}
|
||||
@@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFolder", true);
|
||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = FolderInfo.Get(_FolderID);
|
||||
return _MyFolder;
|
||||
}
|
||||
@@ -131,7 +128,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("VersionType", true);
|
||||
return _VersionType;
|
||||
}
|
||||
}
|
||||
@@ -141,7 +137,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Name", true);
|
||||
return _Name;
|
||||
}
|
||||
}
|
||||
@@ -151,7 +146,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Title", true);
|
||||
return _Title;
|
||||
}
|
||||
}
|
||||
@@ -161,7 +155,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ItemID", true);
|
||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||
return _ItemID;
|
||||
}
|
||||
@@ -172,7 +165,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyItem", true);
|
||||
if (_MyItem == null && _ItemID != null) _MyItem = ProcedureInfo.Get((int)_ItemID);
|
||||
return _MyItem;
|
||||
}
|
||||
@@ -183,7 +175,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||
return _FormatID;
|
||||
}
|
||||
@@ -194,7 +185,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFormat", true);
|
||||
if (_MyFormat == null && _FormatID != null) _MyFormat = FormatInfo.Get((int)_FormatID);
|
||||
return _MyFormat;
|
||||
}
|
||||
@@ -205,7 +195,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -215,7 +204,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -225,7 +213,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -238,7 +225,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocVersionAssociationCount", true);
|
||||
if (_DocVersionAssociationCount < 0)
|
||||
_DocVersionAssociationCount = DocVersionAssociations.Count;
|
||||
return _DocVersionAssociationCount;
|
||||
@@ -251,7 +237,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocVersionAssociations", true);
|
||||
if (_DocVersionAssociationCount < 0 || (_DocVersionAssociationCount > 0 && _DocVersionAssociations == null))
|
||||
_DocVersionAssociations = AssociationInfoList.GetByVersionID(_VersionID);
|
||||
if (_DocVersionAssociationCount < 0)
|
||||
|
@@ -145,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
}
|
||||
@@ -155,13 +154,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LibTitle", true);
|
||||
return _LibTitle;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("LibTitle", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_LibTitle != value)
|
||||
{
|
||||
@@ -179,13 +176,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocContent", true);
|
||||
return _DocContent;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocContent", true);
|
||||
if (_DocContent != value)
|
||||
{
|
||||
_DocContent = value;
|
||||
@@ -202,13 +197,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocAscii", true);
|
||||
return _DocAscii;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocAscii", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_DocAscii != value)
|
||||
{
|
||||
@@ -223,13 +216,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -244,13 +235,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -264,13 +253,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -286,13 +273,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FileExtension", true);
|
||||
return _FileExtension;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("FileExtension", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_FileExtension != value)
|
||||
{
|
||||
@@ -310,7 +295,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentDROUsageCount", true);
|
||||
return _DocumentDROUsageCount;
|
||||
}
|
||||
}
|
||||
@@ -324,10 +308,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentDROUsages", true);
|
||||
if (_DocumentDROUsageCount < 0 || (_DocumentDROUsageCount > 0 && _DocumentDROUsages == null))
|
||||
_DocumentDROUsages = DocumentDROUsages.GetByDocID(DocID);
|
||||
if (_DocumentDROUsageCount < 0 )
|
||||
if (_DocumentDROUsageCount < 0)
|
||||
_DocumentDROUsageCount = _DocumentDROUsages == null ? 0 : _DocumentDROUsages.Count;
|
||||
if (_DocumentDROUsages == null)
|
||||
_DocumentDROUsages = DocumentDROUsages.New();
|
||||
@@ -347,7 +330,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentEntryCount", true);
|
||||
if (_DocumentEntryCount < 0)
|
||||
_DocumentEntryCount = DocumentEntries.Count;
|
||||
return _DocumentEntryCount;
|
||||
@@ -363,10 +345,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentEntries", true);
|
||||
if (_DocumentEntryCount < 0 || (_DocumentEntryCount > 0 && _DocumentEntries == null))
|
||||
_DocumentEntries = DocumentEntries.GetByDocID(DocID);
|
||||
if (_DocumentEntryCount < 0 )
|
||||
if (_DocumentEntryCount < 0)
|
||||
_DocumentEntryCount = _DocumentEntries == null ? 0 : _DocumentEntries.Count;
|
||||
if (_DocumentEntries == null)
|
||||
_DocumentEntries = DocumentEntries.New();
|
||||
@@ -386,7 +367,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentPdfCount", true);
|
||||
return _DocumentPdfCount;
|
||||
}
|
||||
}
|
||||
@@ -400,10 +380,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentPdfs", true);
|
||||
if (_DocumentPdfCount < 0 || (_DocumentPdfCount > 0 && _DocumentPdfs == null))
|
||||
_DocumentPdfs = DocumentPdfs.GetByDocID(DocID);
|
||||
if (_DocumentPdfCount < 0 )
|
||||
if (_DocumentPdfCount < 0)
|
||||
_DocumentPdfCount = _DocumentPdfs == null ? 0 : _DocumentPdfs.Count;
|
||||
if (_DocumentPdfs == null)
|
||||
_DocumentPdfs = DocumentPdfs.New();
|
||||
@@ -418,7 +397,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -436,7 +415,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_DocumentDROUsages == null ? true : _DocumentDROUsages.IsValidList(list)) && (_DocumentEntries == null ? true : _DocumentEntries.IsValidList(list)) && (_DocumentPdfs == null ? true : _DocumentPdfs.IsValidList(list));
|
||||
|
@@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocID", true);
|
||||
if (_DocID != value)
|
||||
{
|
||||
_DocID = value;
|
||||
@@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LibTitle", true);
|
||||
return _LibTitle;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("LibTitle", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_LibTitle != value)
|
||||
{
|
||||
@@ -157,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocContent", true);
|
||||
return _DocContent;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocContent", true);
|
||||
if (_DocContent != value)
|
||||
{
|
||||
_DocContent = value;
|
||||
@@ -177,13 +170,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocAscii", true);
|
||||
return _DocAscii;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocAscii", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_DocAscii != value)
|
||||
{
|
||||
@@ -198,13 +189,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -219,13 +208,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -239,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -260,13 +245,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FileExtension", true);
|
||||
return _FileExtension;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("FileExtension", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_FileExtension != value)
|
||||
{
|
||||
@@ -281,13 +264,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocPdf", true);
|
||||
return _DocPdf;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocPdf", true);
|
||||
if (_DocPdf != value)
|
||||
{
|
||||
_DocPdf = value;
|
||||
@@ -301,13 +282,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DeleteStatus", true);
|
||||
if (_DeleteStatus != value)
|
||||
{
|
||||
_DeleteStatus = value;
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LibTitle", true);
|
||||
return _LibTitle;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocContent", true);
|
||||
return _DocContent;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocAscii", true);
|
||||
return _DocAscii;
|
||||
}
|
||||
}
|
||||
@@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FileExtension", true);
|
||||
return _FileExtension;
|
||||
}
|
||||
}
|
||||
@@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
}
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DROUsageID", true);
|
||||
if (_MyDROUsage != null) _DROUsageID = _MyDROUsage.DROUsageID;
|
||||
return _DROUsageID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyDROUsage", true);
|
||||
if (_MyDROUsage == null && _DROUsageID != 0) _MyDROUsage = DROUsage.Get(_DROUsageID);
|
||||
return _MyDROUsage;
|
||||
}
|
||||
@@ -66,13 +64,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROID", true);
|
||||
return _ROID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ROID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_ROID != value)
|
||||
{
|
||||
@@ -87,13 +83,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -108,13 +102,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -128,13 +120,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -150,7 +140,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODbID", true);
|
||||
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
||||
return _RODbID;
|
||||
}
|
||||
@@ -161,14 +150,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRODb", true);
|
||||
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
||||
return _MyRODb;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyRODb", true);
|
||||
if (_MyRODb != value)
|
||||
{
|
||||
_MyRODb = value;
|
||||
@@ -186,7 +173,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_ROName", true);
|
||||
return _RODb_ROName;
|
||||
}
|
||||
}
|
||||
@@ -199,7 +185,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_FolderPath", true);
|
||||
return _RODb_FolderPath;
|
||||
}
|
||||
}
|
||||
@@ -212,7 +197,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_DBConnectionString", true);
|
||||
return _RODb_DBConnectionString;
|
||||
}
|
||||
}
|
||||
@@ -222,7 +206,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_Config", true);
|
||||
return _RODb_Config;
|
||||
}
|
||||
}
|
||||
@@ -232,7 +215,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_DTS", true);
|
||||
return _RODb_DTS;
|
||||
}
|
||||
}
|
||||
@@ -242,7 +224,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RODb_UserID", true);
|
||||
return _RODb_UserID;
|
||||
}
|
||||
}
|
||||
@@ -268,7 +249,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -286,7 +267,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
if (_MyEntry != null) _ContentID = _MyEntry.ContentID;
|
||||
return _ContentID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyEntry", true);
|
||||
if (_MyEntry == null && _ContentID != 0) _MyEntry = Entry.Get(_ContentID);
|
||||
return _MyEntry;
|
||||
}
|
||||
@@ -66,13 +64,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -86,13 +82,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -111,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Content_Number", true);
|
||||
return _Content_Number;
|
||||
}
|
||||
}
|
||||
@@ -121,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Content_Text", true);
|
||||
return _Content_Text;
|
||||
}
|
||||
}
|
||||
@@ -134,7 +126,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Content_Type", true);
|
||||
return _Content_Type;
|
||||
}
|
||||
}
|
||||
@@ -144,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Content_FormatID", true);
|
||||
return _Content_FormatID;
|
||||
}
|
||||
}
|
||||
@@ -154,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Content_Config", true);
|
||||
return _Content_Config;
|
||||
}
|
||||
}
|
||||
@@ -164,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Content_DTS", true);
|
||||
return _Content_DTS;
|
||||
}
|
||||
}
|
||||
@@ -174,7 +162,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Content_UserID", true);
|
||||
return _Content_UserID;
|
||||
}
|
||||
}
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LibTitle", true);
|
||||
return _LibTitle;
|
||||
}
|
||||
}
|
||||
@@ -119,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocContent", true);
|
||||
return _DocContent;
|
||||
}
|
||||
}
|
||||
@@ -132,7 +129,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocAscii", true);
|
||||
return _DocAscii;
|
||||
}
|
||||
}
|
||||
@@ -142,7 +138,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -152,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -162,7 +156,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -172,7 +165,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FileExtension", true);
|
||||
return _FileExtension;
|
||||
}
|
||||
}
|
||||
@@ -185,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentDROUsageCount", true);
|
||||
if (_DocumentDROUsageCount < 0)
|
||||
_DocumentDROUsageCount = DocumentDROUsages.Count;
|
||||
return _DocumentDROUsageCount;
|
||||
@@ -198,7 +189,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentDROUsages", true);
|
||||
if (_DocumentDROUsageCount < 0 || (_DocumentDROUsageCount > 0 && _DocumentDROUsages == null))
|
||||
_DocumentDROUsages = DROUsageInfoList.GetByDocID(_DocID);
|
||||
if (_DocumentDROUsageCount < 0)
|
||||
@@ -223,7 +213,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentEntryCount", true);
|
||||
if (_DocumentEntryCount < 0)
|
||||
_DocumentEntryCount = DocumentEntries.Count;
|
||||
return _DocumentEntryCount;
|
||||
@@ -236,7 +225,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentEntries", true);
|
||||
if (_DocumentEntryCount < 0 || (_DocumentEntryCount > 0 && _DocumentEntries == null))
|
||||
_DocumentEntries = EntryInfoList.GetByDocID(_DocID);
|
||||
if (_DocumentEntryCount < 0)
|
||||
@@ -261,7 +249,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentPdfCount", true);
|
||||
if (_DocumentPdfCount < 0)
|
||||
_DocumentPdfCount = DocumentPdfs.Count;
|
||||
return _DocumentPdfCount;
|
||||
@@ -274,7 +261,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentPdfs", true);
|
||||
if (_DocumentPdfCount < 0 || (_DocumentPdfCount > 0 && _DocumentPdfs == null))
|
||||
_DocumentPdfs = PdfInfoList.GetByDocID(_DocID);
|
||||
if (_DocumentPdfCount < 0)
|
||||
|
@@ -46,7 +46,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DebugStatus", true);
|
||||
return _DebugStatus;
|
||||
}
|
||||
}
|
||||
@@ -57,7 +56,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("TopRow", true);
|
||||
return _TopRow;
|
||||
}
|
||||
}
|
||||
@@ -68,7 +66,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("PageLength", true);
|
||||
return _PageLength;
|
||||
}
|
||||
}
|
||||
@@ -79,7 +76,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LeftMargin", true);
|
||||
return _LeftMargin;
|
||||
}
|
||||
}
|
||||
@@ -90,7 +86,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("PageWidth", true);
|
||||
return _PageWidth;
|
||||
}
|
||||
}
|
||||
@@ -103,13 +98,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("PageCount", true);
|
||||
return _PageCount;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("PageCount", true);
|
||||
if (_PageCount != value)
|
||||
{
|
||||
_PageCount = value;
|
||||
@@ -123,13 +116,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocPdf", true);
|
||||
return _DocPdf;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocPdf", true);
|
||||
if (_DocPdf != value)
|
||||
{
|
||||
_DocPdf = value;
|
||||
@@ -143,13 +134,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -163,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
|
@@ -102,7 +102,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||
return _ContentID;
|
||||
}
|
||||
@@ -114,7 +113,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyContent", true);
|
||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||
return _MyContent;
|
||||
}
|
||||
@@ -125,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||
return _DocID;
|
||||
}
|
||||
@@ -136,14 +133,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyDocument", true);
|
||||
if (_MyDocument == null && _DocID != 0) _MyDocument = Document.Get(_DocID);
|
||||
return _MyDocument;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyDocument", true);
|
||||
if (_MyDocument != value)
|
||||
{
|
||||
_MyDocument = value;
|
||||
@@ -158,13 +153,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -178,13 +171,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -198,7 +189,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -216,7 +207,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocument == null ? true : _MyDocument.IsValidList(list));
|
||||
|
@@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ContentID", true);
|
||||
if (_ContentID != value)
|
||||
{
|
||||
_ContentID = value;
|
||||
@@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DocID", true);
|
||||
if (_DocID != value)
|
||||
{
|
||||
_DocID = value;
|
||||
@@ -156,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -176,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -197,13 +188,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DeleteStatus", true);
|
||||
if (_DeleteStatus != value)
|
||||
{
|
||||
_DeleteStatus = value;
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AuditID", true);
|
||||
return _AuditID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
return _ContentID;
|
||||
}
|
||||
}
|
||||
@@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
return _DocID;
|
||||
}
|
||||
}
|
||||
@@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DeleteStatus", true);
|
||||
return _DeleteStatus;
|
||||
}
|
||||
}
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ContentID", true);
|
||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||
return _ContentID;
|
||||
}
|
||||
@@ -108,7 +107,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyContent", true);
|
||||
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
||||
return _MyContent;
|
||||
}
|
||||
@@ -119,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocID", true);
|
||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||
return _DocID;
|
||||
}
|
||||
@@ -130,7 +127,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyDocument", true);
|
||||
if (_MyDocument == null && _DocID != 0) _MyDocument = DocumentInfo.Get(_DocID);
|
||||
return _MyDocument;
|
||||
}
|
||||
@@ -141,7 +137,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -151,7 +146,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
|
@@ -118,7 +118,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FigureID", true);
|
||||
return _FigureID;
|
||||
}
|
||||
}
|
||||
@@ -128,7 +127,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFstID", true);
|
||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||
return _ROFstID;
|
||||
}
|
||||
@@ -139,14 +137,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyROFst", true);
|
||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
||||
return _MyROFst;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyROFst", true);
|
||||
if (_MyROFst != value)
|
||||
{
|
||||
_MyROFst = value;
|
||||
@@ -161,7 +157,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ImageID", true);
|
||||
if (_MyROImage != null) _ImageID = _MyROImage.ImageID;
|
||||
return _ImageID;
|
||||
}
|
||||
@@ -172,14 +167,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyROImage", true);
|
||||
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImage.GetJustROImage(_ImageID);//Don't load figures or ROFST - Causing Memory Crash
|
||||
return _MyROImage;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyROImage", true);
|
||||
if (_MyROImage != value)
|
||||
{
|
||||
_MyROImage = value;
|
||||
@@ -194,13 +187,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -215,13 +206,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -235,13 +224,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UserID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UserID != value)
|
||||
{
|
||||
@@ -255,7 +242,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -273,7 +260,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyROFst == null ? true : _MyROFst.IsValidList(list)) && (_MyROImage == null ? true : _MyROImage.IsValidList(list));
|
||||
|
@@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FigureID", true);
|
||||
return _FigureID;
|
||||
}
|
||||
}
|
||||
@@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFstID", true);
|
||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||
return _ROFstID;
|
||||
}
|
||||
@@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyROFst", true);
|
||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.Get(_ROFstID);
|
||||
return _MyROFst;
|
||||
}
|
||||
@@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ImageID", true);
|
||||
if (_MyROImage != null) _ImageID = _MyROImage.ImageID;
|
||||
return _ImageID;
|
||||
}
|
||||
@@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyROImage", true);
|
||||
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImageInfo.Get(_ImageID);
|
||||
return _MyROImage;
|
||||
}
|
||||
@@ -150,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
}
|
||||
@@ -160,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
}
|
||||
@@ -170,7 +163,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UserID", true);
|
||||
return _UserID;
|
||||
}
|
||||
}
|
||||
@@ -369,7 +361,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROImage_FileName", true);
|
||||
return _ROImage_FileName;
|
||||
}
|
||||
}
|
||||
|
@@ -151,7 +151,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderID", true);
|
||||
return _FolderID;
|
||||
}
|
||||
}
|
||||
@@ -161,7 +160,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ParentID", true);
|
||||
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
||||
return _ParentID;
|
||||
}
|
||||
@@ -172,14 +170,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyParent", true);
|
||||
if (_MyParent == null && _ParentID != _FolderID) _MyParent = Folder.Get(_ParentID);
|
||||
return _MyParent;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyParent", true);
|
||||
if (_MyParent != value)
|
||||
{
|
||||
_MyParent = value;
|
||||
@@ -194,7 +190,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DBID", true);
|
||||
if (_MyConnection != null) _DBID = _MyConnection.DBID;
|
||||
return _DBID;
|
||||
}
|
||||
@@ -205,14 +200,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyConnection", true);
|
||||
if (_MyConnection == null && _DBID != 0) _MyConnection = Connection.Get(_DBID);
|
||||
return _MyConnection;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyConnection", true);
|
||||
if (_MyConnection != value)
|
||||
{
|
||||
_MyConnection = value;
|
||||
@@ -227,13 +220,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Name", true);
|
||||
return _Name;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Name", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Name != value)
|
||||
{
|
||||
@@ -248,13 +239,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Title", true);
|
||||
return _Title;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Title", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Title != value)
|
||||
{
|
||||
@@ -269,13 +258,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ShortName", true);
|
||||
return _ShortName;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ShortName", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_ShortName != value)
|
||||
{
|
||||
@@ -290,7 +277,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FormatID", true);
|
||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||
return _FormatID;
|
||||
}
|
||||
@@ -301,14 +287,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyFormat", true);
|
||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||
return _MyFormat;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyFormat", true);
|
||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||
{
|
||||
_MyFormat = value;
|
||||
@@ -323,13 +307,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ManualOrder", true);
|
||||
return _ManualOrder;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("ManualOrder", true);
|
||||
if (_ManualOrder != value)
|
||||
{
|
||||
_ManualOrder = value;
|
||||
@@ -343,13 +325,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Config", true);
|
||||
return _Config;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("Config", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_Config != value)
|
||||
{
|
||||
@@ -364,13 +344,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -384,13 +362,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UsrID", true);
|
||||
return _UsrID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UsrID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UsrID != value)
|
||||
{
|
||||
@@ -409,7 +385,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderAssignmentCount", true);
|
||||
return _FolderAssignmentCount;
|
||||
}
|
||||
}
|
||||
@@ -423,10 +398,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderAssignments", true);
|
||||
if (_FolderAssignmentCount < 0 || (_FolderAssignmentCount > 0 && _FolderAssignments == null))
|
||||
_FolderAssignments = FolderAssignments.GetByFolderID(FolderID);
|
||||
if (_FolderAssignmentCount < 0 )
|
||||
if (_FolderAssignmentCount < 0)
|
||||
_FolderAssignmentCount = _FolderAssignments == null ? 0 : _FolderAssignments.Count;
|
||||
if (_FolderAssignments == null)
|
||||
_FolderAssignments = FolderAssignments.New();
|
||||
@@ -446,7 +420,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderDocVersionCount", true);
|
||||
return _FolderDocVersionCount;
|
||||
}
|
||||
}
|
||||
@@ -460,10 +433,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("FolderDocVersions", true);
|
||||
if (_FolderDocVersionCount < 0 || (_FolderDocVersionCount > 0 && _FolderDocVersions == null))
|
||||
_FolderDocVersions = FolderDocVersions.GetByFolderID(FolderID);
|
||||
if (_FolderDocVersionCount < 0 )
|
||||
if (_FolderDocVersionCount < 0)
|
||||
_FolderDocVersionCount = _FolderDocVersions == null ? 0 : _FolderDocVersions.Count;
|
||||
if (_FolderDocVersions == null)
|
||||
_FolderDocVersions = FolderDocVersions.New();
|
||||
@@ -483,7 +455,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ChildFolderCount", true);
|
||||
return _ChildFolderCount;
|
||||
}
|
||||
}
|
||||
@@ -497,10 +468,9 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("ChildFolders", true);
|
||||
if (_ChildFolderCount < 0 || (_ChildFolderCount > 0 && _ChildFolders == null))
|
||||
_ChildFolders = ChildFolders.GetByParentID(FolderID);
|
||||
if (_ChildFolderCount < 0 )
|
||||
if (_ChildFolderCount < 0)
|
||||
_ChildFolderCount = _ChildFolders == null ? 0 : _ChildFolders.Count;
|
||||
if (_ChildFolders == null)
|
||||
_ChildFolders = ChildFolders.New();
|
||||
@@ -515,7 +485,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -533,7 +503,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_FolderAssignments == null ? true : _FolderAssignments.IsValidList(list)) && (_FolderDocVersions == null ? true : _FolderDocVersions.IsValidList(list)) && (_ChildFolders == null ? true : _ChildFolders.IsValidList(list)) && (_MyConnection == null ? true : _MyConnection.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list));
|
||||
@@ -1253,7 +1223,7 @@ namespace VEPROMS.CSLA.Library
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (_MyLog.IsErrorEnabled)
|
||||
if(!ex.Message.Contains("Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_UniqueChildFolders'"))
|
||||
if (!ex.Message.Contains("Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_UniqueChildFolders'"))
|
||||
_MyLog.Error("Folder.DataPortal_Update", ex);
|
||||
_ErrorMessage = ex.Message;
|
||||
if (!ex.Message.EndsWith("has been edited by another user.")) throw ex;
|
||||
@@ -1308,7 +1278,7 @@ namespace VEPROMS.CSLA.Library
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (_MyLog.IsErrorEnabled)
|
||||
if(!ex.Message.Contains("Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_UniqueChildFolders'"))
|
||||
if (!ex.Message.Contains("Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_UniqueChildFolders'"))
|
||||
_MyLog.Error("Folder.SQLUpdate", ex);
|
||||
_ErrorMessage = ex.Message;
|
||||
if (!ex.Message.EndsWith("has been edited by another user.")) throw ex;
|
||||
|
@@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("AID", true);
|
||||
if (_MyAssignment != null) _AID = _MyAssignment.AID;
|
||||
return _AID;
|
||||
}
|
||||
@@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyAssignment", true);
|
||||
if (_MyAssignment == null && _AID != 0) _MyAssignment = Assignment.Get(_AID);
|
||||
return _MyAssignment;
|
||||
}
|
||||
@@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("GID", true);
|
||||
if (_MyGroup != null) _GID = _MyGroup.GID;
|
||||
return _GID;
|
||||
}
|
||||
@@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyGroup", true);
|
||||
if (_MyGroup == null && _GID != 0) _MyGroup = Group.Get(_GID);
|
||||
return _MyGroup;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyGroup", true);
|
||||
if (_MyGroup != value)
|
||||
{
|
||||
_MyGroup = value;
|
||||
@@ -99,7 +94,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("RID", true);
|
||||
if (_MyRole != null) _RID = _MyRole.RID;
|
||||
return _RID;
|
||||
}
|
||||
@@ -110,14 +104,12 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyRole", true);
|
||||
if (_MyRole == null && _RID != 0) _MyRole = Role.Get(_RID);
|
||||
return _MyRole;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("MyRole", true);
|
||||
if (_MyRole != value)
|
||||
{
|
||||
_MyRole = value;
|
||||
@@ -132,13 +124,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("StartDate", true);
|
||||
return _StartDate;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("StartDate", true);
|
||||
if (value == null) value = string.Empty;
|
||||
_StartDate = value;
|
||||
try
|
||||
@@ -162,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("EndDate", true);
|
||||
return _EndDate;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("EndDate", true);
|
||||
if (value == null) value = string.Empty;
|
||||
_EndDate = value;
|
||||
try
|
||||
@@ -192,13 +180,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("DTS", true);
|
||||
return _DTS;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("DTS", true);
|
||||
if (_DTS != value)
|
||||
{
|
||||
_DTS = value;
|
||||
@@ -212,13 +198,11 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("UsrID", true);
|
||||
return _UsrID;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
set
|
||||
{
|
||||
CanWriteProperty("UsrID", true);
|
||||
if (value == null) value = string.Empty;
|
||||
if (_UsrID != value)
|
||||
{
|
||||
@@ -234,7 +218,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Group_GroupName", true);
|
||||
return _Group_GroupName;
|
||||
}
|
||||
}
|
||||
@@ -244,7 +227,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Group_GroupType", true);
|
||||
return _Group_GroupType;
|
||||
}
|
||||
}
|
||||
@@ -254,7 +236,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Group_Config", true);
|
||||
return _Group_Config;
|
||||
}
|
||||
}
|
||||
@@ -264,7 +245,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Group_DTS", true);
|
||||
return _Group_DTS;
|
||||
}
|
||||
}
|
||||
@@ -274,7 +254,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Group_UsrID", true);
|
||||
return _Group_UsrID;
|
||||
}
|
||||
}
|
||||
@@ -284,7 +263,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Role_Name", true);
|
||||
return _Role_Name;
|
||||
}
|
||||
}
|
||||
@@ -294,7 +272,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Role_Title", true);
|
||||
return _Role_Title;
|
||||
}
|
||||
}
|
||||
@@ -304,7 +281,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Role_DTS", true);
|
||||
return _Role_DTS;
|
||||
}
|
||||
}
|
||||
@@ -314,7 +290,6 @@ namespace VEPROMS.CSLA.Library
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("Role_UsrID", true);
|
||||
return _Role_UsrID;
|
||||
}
|
||||
}
|
||||
@@ -340,7 +315,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if ( base.IsDirty )
|
||||
if (base.IsDirty)
|
||||
return true;
|
||||
return IsDirtyList(new List<object>());
|
||||
}
|
||||
@@ -358,7 +333,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public bool IsValidList(List<object> list)
|
||||
{
|
||||
if(list.Contains(this))
|
||||
if (list.Contains(this))
|
||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||
list.Add(this);
|
||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyGroup == null ? true : _MyGroup.IsValidList(list)) && (_MyRole == null ? true : _MyRole.IsValidList(list));
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user