Compare commits
19 Commits
C2025-015_
...
C2025-051
Author | SHA1 | Date | |
---|---|---|---|
3ea4307716 | |||
5650df1a9f | |||
8f154ebf48 | |||
ba9d56811c | |||
8eb8a328d1 | |||
e8327316dd | |||
3bd7001106 | |||
2e5ad53c6a | |||
ca0ae279e0 | |||
adf1120436 | |||
7879391de0 | |||
11ba9ea418 | |||
0fe84ca17c | |||
1009ca5111 | |||
2c973fb0be | |||
dba1f4e71c | |||
46fe124fe1 | |||
50688d7d8a | |||
a7396e3c4a |
@@ -735,23 +735,27 @@ namespace RODBInterface
|
||||
else
|
||||
parentValue = nd.InnerText;
|
||||
|
||||
//applicValues = "";
|
||||
applicValues = string.Format("<APL DefaultVal={0}", parentValue);
|
||||
int pcChildIdx = 0;
|
||||
//C2022-001 only save the child ro value in the RO.FST if it is different than the parent (default) value
|
||||
foreach (string c in pcChildern)
|
||||
if (parentName != "#whitespace")
|
||||
{
|
||||
//string csufx = CvtUserFldToFld(c);
|
||||
pcChildIdx++;
|
||||
string csufx = string.Format("_PCCHILD{0}", pcChildIdx);
|
||||
//applicValues += ",";
|
||||
XmlNode cn = elmnode.SelectSingleNode(parentName + csufx);
|
||||
if (cn == null || cn.InnerText.Length == 0) // B2024-004 use Parent value if Child text length is zero
|
||||
applicValues += string.Format(",UnitIdx={0} Value={1}", pcChildIdx, parentValue); // use parent value as default
|
||||
else
|
||||
//applicValues = "";
|
||||
applicValues = string.Format("<APL DefaultVal={0}", parentValue);
|
||||
int pcChildIdx = 0;
|
||||
//C2022-001 only save the child ro value in the RO.FST if it is different than the parent (default) value
|
||||
|
||||
foreach (string c in pcChildern)
|
||||
{
|
||||
if (parentValue != cn.InnerText)
|
||||
applicValues += string.Format(",UnitIdx={0} Value={1}", pcChildIdx, cn.InnerText);
|
||||
//string csufx = CvtUserFldToFld(c);
|
||||
pcChildIdx++;
|
||||
string csufx = string.Format("_PCCHILD{0}", pcChildIdx);
|
||||
//applicValues += ",";
|
||||
XmlNode cn = elmnode.SelectSingleNode(parentName + csufx);
|
||||
if (cn == null || cn.InnerText.Length == 0) // B2024-004 use Parent value if Child text length is zero
|
||||
applicValues += string.Format(",UnitIdx={0} Value={1}", pcChildIdx, parentValue); // use parent value as default
|
||||
else
|
||||
{
|
||||
if (parentValue != cn.InnerText)
|
||||
applicValues += string.Format(",UnitIdx={0} Value={1}", pcChildIdx, cn.InnerText);
|
||||
}
|
||||
}
|
||||
}
|
||||
applicValues += " /APL>";
|
||||
|
@@ -66,6 +66,12 @@ namespace VEPROMS
|
||||
set { _prtSectID = value; }
|
||||
}
|
||||
|
||||
private bool _OverwritePDF;
|
||||
public bool OverwritePDF
|
||||
{
|
||||
get { return cbxOverwritePDF2.Checked; }
|
||||
set { cbxOverwritePDF2.Checked = value; }
|
||||
}
|
||||
|
||||
// C2018-033 Used to turn off using the date/time PDF file prefix and suffix when doing batch file autmatic baseline print testing (frmVEPROMS.cs RunAutomatic())
|
||||
// This is needed so the the automatic baselines can compare results from different runs of PROMS
|
||||
|
@@ -13635,8 +13635,8 @@ WITH EXECUTE AS OWNER
|
||||
AS
|
||||
BEGIN TRY -- Try Block
|
||||
BEGIN TRANSACTION
|
||||
Update Contents set Text = Replace(Replace(Replace(Replace(Replace(Replace(Replace(Text,'\emdash','\u8209?'),'\endash','\u8209?'),'\u8213?','\u8209?'),'\u8212?','\u8209?'),'\u8211?','\u8209?'),'\u8210?','\u8209?'),'\u8208?','\u8209?')
|
||||
where Text Like '%\u8208?%' or Text Like '%\u8210?%' or Text Like '%\u8211?%' or Text Like '%\u8212?%' or Text Like '%\u8213?%' or Text Like '%\endash%' or Text Like '%\emdash%'
|
||||
Update Contents set Text = Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Text,'\emdash','\u8209?'),'\endash','\u8209?'),'\u8213?','\u8209?'),'\u8212?','\u8209?'),'\u8211?','\u8209?'),'\u8210?','\u8209?'),'\u8208?','\u8209?'),NCHAR(8209),'\u8209?')
|
||||
where Text Like '%\u8208?%' or Text Like '%\u8210?%' or Text Like '%\u8211?%' or Text Like '%\u8212?%' or Text Like '%\u8213?%' or Text Like '%\endash%' or Text Like '%\emdash%'or Text Like '%' + NCHAR(8209) + '%' IF( @@TRANCOUNT > 0 ) COMMIT
|
||||
IF( @@TRANCOUNT > 0 ) COMMIT
|
||||
END TRY
|
||||
BEGIN CATCH -- Catch Block
|
||||
@@ -17320,7 +17320,7 @@ GO
|
||||
[RofstID] [int] NOT NULL,
|
||||
[roid] [varchar](50) NOT NULL,
|
||||
[value] [varchar](max) NOT NULL,
|
||||
[AccPageID] [varchar](max) NULL,
|
||||
[AccPageID] [varchar](100) NULL,
|
||||
CONSTRAINT [PK_RofstDefaultValue] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[RofstID] ASC,
|
||||
@@ -18917,9 +18917,10 @@ GO
|
||||
Copyright 2020 - Volian Enterprises, Inc. All rights reserved.
|
||||
*****************************************************************************/
|
||||
/*
|
||||
==========================================================================================================
|
||||
Author: Jake Ropar
|
||||
==========================================================================================================
|
||||
Author: Jake Ropar / Matthew Schill
|
||||
Create Date: 06/23/2022
|
||||
Modify Date: 08/18/2025
|
||||
Description: Finalizes Rofst Header Record / Updates LoadedDate if Success
|
||||
==========================================================================================================
|
||||
*/
|
||||
@@ -18936,13 +18937,18 @@ GO
|
||||
Set LoadedDate = GetDate()
|
||||
Where RofstID = @RofstID;
|
||||
|
||||
|
||||
--always rebuild the rofst child and default indexes
|
||||
DBCC DBREINDEX ('RofstChild');
|
||||
DBCC DBREINDEX ('RofstDefaultValue');
|
||||
|
||||
-- Rebuild/Reorganize Indexes
|
||||
Exec [dbo].[vesp_UtilityCheckIndexes] 20.0, 5.0, 0, 1;
|
||||
|
||||
|
||||
|
||||
Return;
|
||||
End
|
||||
Go
|
||||
GO
|
||||
|
||||
IF (@@Error = 0) PRINT 'Procedure Creation: [vesp_RofstHeaderFinalizeLoad] Succeeded'
|
||||
ELSE PRINT 'Procedure Creation: [vesp_RofstHeaderFinalizeLoad] Error on Creation'
|
||||
@@ -24293,6 +24299,56 @@ Go
|
||||
--- end changes for:
|
||||
---C2025-023 - Electronic Procedures - Modifications to PROMS
|
||||
|
||||
/*
|
||||
==========================================================================================================
|
||||
Begin: C2025-045: Improve Performance loading procedures with Alarms
|
||||
==========================================================================================================
|
||||
*/
|
||||
|
||||
IF Exists(SELECT 1 from information_schema.columns where character_maximum_length=-1 and column_name = 'AccPageID' and table_name = 'RofstDefaultValue')
|
||||
Begin
|
||||
ALTER TABLE RofstDefaultValue ALTER COLUMN AccPageID varchar(100)
|
||||
END
|
||||
GO
|
||||
|
||||
IF (@@Error = 0) PRINT 'Updating size of RofstDefaultValue.AccPageID Succeeded'
|
||||
ELSE PRINT 'Updating size of RofstDefaultValue.AccPageID Failed to Execute'
|
||||
GO
|
||||
|
||||
EXEC sp_refreshview [dbo.vwRofstData_RofstDefaultValues]
|
||||
EXEC sp_refreshview [dbo.vwRofstData_RofstBaseRoids]
|
||||
GO
|
||||
|
||||
IF (@@Error = 0) PRINT 'Refreshing views: (vwRofstData_RofstDefaultValues,vwRofstData_RofstBaseRoids) Succeeded'
|
||||
ELSE PRINT 'Refreshing views: (vwRofstData_RofstDefaultValues,vwRofstData_RofstBaseRoids) Failed to Execute'
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM dbo.sysindexes WHERE name = 'IX_RofstDefaultValue_RofstID_AccPageID')
|
||||
BEGIN
|
||||
CREATE NONCLUSTERED INDEX [IX_RofstDefaultValue_RofstID_AccPageID] ON [dbo].[RofstDefaultValue]
|
||||
(
|
||||
[RofstID] ASC,
|
||||
[AccPageID] ASC
|
||||
)
|
||||
INCLUDE
|
||||
(
|
||||
[roid]
|
||||
,[value]
|
||||
)
|
||||
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
|
||||
END
|
||||
GO
|
||||
|
||||
IF (@@Error = 0) PRINT 'Adding Index IX_RofstDefaultValue_RofstID_AccPageID Succeeded'
|
||||
ELSE PRINT 'Adding Index IX_RofstDefaultValue_RofstID_AccPageID Failed to Execute'
|
||||
GO
|
||||
|
||||
/*
|
||||
==========================================================================================================
|
||||
End: C2025-045: Improve Performance loading procedures with Alarms
|
||||
==========================================================================================================
|
||||
*/
|
||||
|
||||
/*
|
||||
---------------------------------------------------------------------------
|
||||
@@ -24327,8 +24383,8 @@ BEGIN TRY -- Try Block
|
||||
DECLARE @RevDate varchar(255)
|
||||
DECLARE @RevDescription varchar(255)
|
||||
|
||||
set @RevDate = '07/31/2025 10:30 AM'
|
||||
set @RevDescription = 'SQL Optimization'
|
||||
set @RevDate = '08/18/2025 2:07 PM'
|
||||
set @RevDescription = 'Updated Index maintenance that occurs after RO FST Load to improve RO Performance'
|
||||
|
||||
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
||||
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
||||
|
@@ -250,6 +250,16 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap toolbox {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("toolbox", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
File diff suppressed because it is too large
Load Diff
BIN
PROMS/VEPROMS User Interface/Resources/toolbox.png
Normal file
BIN
PROMS/VEPROMS User Interface/Resources/toolbox.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
@@ -111,10 +111,6 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\DotNetBar\DotNetBar4.6Build\DevComponents.DotNetBar2.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\Ionic\Ionic.Zip.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Itenso.Rtf.Interpreter">
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\RtfConverter\bin\Debug\Itenso.Rtf.Interpreter.dll</HintPath>
|
||||
</Reference>
|
||||
@@ -133,6 +129,8 @@
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.IO.Compression" />
|
||||
<Reference Include="System.IO.Compression.FileSystem" />
|
||||
<Reference Include="System.Runtime.Remoting" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
@@ -268,6 +266,12 @@
|
||||
<Compile Include="frmBatchRefreshCheckedOut.designer.cs">
|
||||
<DependentUpon>frmBatchRefreshCheckedOut.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmGenTools.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmGenTools.designer.cs">
|
||||
<DependentUpon>frmGenTools.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmManageUser.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -380,6 +384,9 @@
|
||||
<EmbeddedResource Include="frmAnnotationsCleanup.resx">
|
||||
<DependentUpon>frmAnnotationsCleanup.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmGenTools.resx">
|
||||
<DependentUpon>frmGenTools.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmPDFStatusForm.resx">
|
||||
<DependentUpon>frmPDFStatusForm.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
@@ -505,6 +512,7 @@
|
||||
<Content Include="PROMSRollback %28v2.0%29.Sql">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Resources\toolbox.png" />
|
||||
<Content Include="ROBuild.Sql">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@@ -1309,7 +1309,7 @@ namespace VEPROMS
|
||||
pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
||||
if (si.IsApproved == 1)
|
||||
{
|
||||
dlgExportImport dlg = new dlgExportImport("Export", pi, MyFrmVEPROMS, (E_UCFImportOptions)0); // "true tell export to convert ROs and Transitions to text
|
||||
dlgExportImport dlg = new dlgExportImport("Export", pi, MyFrmVEPROMS, (E_UCFImportOptions)0, selectedSlave); // "true tell export to convert ROs and Transitions to text
|
||||
dlg.DocReplace = frm.DocReplace; // this tells approval to prepare an export file with resolved transitions and ROs, word sections are saved with resolved ROs during approval PDF creation and saved in DocReplace
|
||||
System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
|
||||
dlg.ExportItem(xd, pi, "procedure");
|
||||
|
@@ -7,7 +7,7 @@ using Volian.Controls.Library;
|
||||
using Volian.Base.Library;
|
||||
using System.Xml;
|
||||
using System.IO;
|
||||
using Ionic.Zip;
|
||||
using System.IO.Compression;
|
||||
using System.Text.RegularExpressions;
|
||||
using JR.Utils.GUI.Forms;
|
||||
using System.Linq;
|
||||
@@ -188,14 +188,13 @@ namespace VEPROMS
|
||||
if (MyFolder != null)
|
||||
{
|
||||
sfd.FileName = string.Format("{0}-{1}.expx", Database.ActiveDatabase, MyFolder.Name);
|
||||
if (sfd.ShowDialog(this) == DialogResult.OK && sfd.FileName != string.Empty)
|
||||
{
|
||||
txtExport.Text = sfd.FileName;
|
||||
if (File.Exists(txtExport.Text))
|
||||
File.Delete(txtExport.Text);
|
||||
MyExpxZipFile = new ZipFile(txtExport.Text, Encoding.UTF8);
|
||||
MyExpxZipFile.Save();
|
||||
}
|
||||
if (sfd.ShowDialog(this) == DialogResult.OK && sfd.FileName != string.Empty)
|
||||
{
|
||||
txtExport.Text = sfd.FileName;
|
||||
if (File.Exists(txtExport.Text))
|
||||
File.Delete(txtExport.Text);
|
||||
MyExpZipFileName = txtExport.Text;
|
||||
}
|
||||
}
|
||||
else if (MyProcedure != null)
|
||||
{
|
||||
@@ -211,8 +210,8 @@ namespace VEPROMS
|
||||
else
|
||||
lblExportStatus.Text = "Awaiting Export File Name:";
|
||||
}
|
||||
private ZipFile MyExpxZipFile = null;
|
||||
private ZipFile MyImpxZipFile = null;
|
||||
private string MyExpZipFileName = null;
|
||||
private string MyImpZipFileName = null;
|
||||
private DateTime MyStart;
|
||||
private bool successfullExport = true;
|
||||
|
||||
@@ -892,84 +891,94 @@ namespace VEPROMS
|
||||
}
|
||||
private bool LoadImportDataDocument()
|
||||
{
|
||||
floatFoldout = new Dictionary<int, int>();
|
||||
ZipEntry ze = MyExpxZipFile[0];
|
||||
string fn = PEIPath + @"\" + ze.FileName;
|
||||
ze.Extract(PEIPath, ExtractExistingFileAction.OverwriteSilently);
|
||||
XmlDocument xd = new XmlDocument();
|
||||
xd.Load(fn);
|
||||
bool didImp = LoadFormats(xd, "folder/formats/format");
|
||||
if (!didImp)
|
||||
using (FileStream zipToOpen = new FileStream(MyExpZipFileName, FileMode.OpenOrCreate))
|
||||
{
|
||||
this.Cursor = Cursors.Default;
|
||||
this.btnImport.Enabled = true; // allow user to select a different export file to import
|
||||
this.btnDoImport.Enabled = true; // allow user to change mind and perform the import
|
||||
return false; // Return False to Indicate that the Import did not succeed
|
||||
}
|
||||
string name = xd.DocumentElement.Attributes.GetNamedItem("name").InnerText;
|
||||
Folder ff = AddFolder(Folder.Get(MyFolder.FolderID), xd, name);
|
||||
if (ff == null)
|
||||
{
|
||||
// C2020-032: Import Procedure set when existing name exists, allow user to import with 'Copy (#) of'.
|
||||
// This is similar functionality to the import of a procedure without the overwrite part.
|
||||
string msg = string.Format("The procedure set you are importing, {0}, already exists.\n\nDo you want to import {0} as a COPY of the existing set?\n\nThis will prefix the name with \"Copy (#) of\"", name);
|
||||
DialogResult dr = MessageBox.Show(this, msg, "Create Copy Of Existing Procedure Set", MessageBoxButtons.OKCancel, MessageBoxIcon.Stop);
|
||||
if (dr == DialogResult.OK)
|
||||
using (ZipArchive MyExpxZipFile = new ZipArchive(zipToOpen, ZipArchiveMode.Update))
|
||||
{
|
||||
string number = "";
|
||||
int max = -1;
|
||||
// get maximum number of existing copies.
|
||||
foreach (FolderInfo fi in MyFolder.ChildFolders)
|
||||
floatFoldout = new Dictionary<int, int>();
|
||||
ZipArchiveEntry ze = MyExpxZipFile.Entries[0];
|
||||
if (!Directory.Exists(Path.Combine(PEIPath, "folder")))
|
||||
Directory.CreateDirectory(Path.Combine(PEIPath, "folder"));
|
||||
string fn = Path.Combine(PEIPath, "folder", ze.Name);
|
||||
ze.ExtractToFile(fn, true);
|
||||
XmlDocument xd = new XmlDocument();
|
||||
xd.Load(fn);
|
||||
bool didImp = LoadFormats(xd, "folder/formats/format");
|
||||
if (!didImp)
|
||||
{
|
||||
int indx = fi.Name.IndexOf("Copy (");
|
||||
if (indx > -1)
|
||||
{
|
||||
int indxend = fi.Name.IndexOf(")", indx);
|
||||
if (indxend > indx)
|
||||
{
|
||||
string tmp = fi.Name.Substring(indx + 6, indxend - (indx + 6));
|
||||
int ii = Convert.ToInt32(tmp);
|
||||
if (ii > max) max = ii;
|
||||
}
|
||||
}
|
||||
this.Cursor = Cursors.Default;
|
||||
this.btnImport.Enabled = true; // allow user to select a different export file to import
|
||||
this.btnDoImport.Enabled = true; // allow user to change mind and perform the import
|
||||
return false; // Return False to Indicate that the Import did not succeed
|
||||
}
|
||||
number = max > -1 ? (max + 1).ToString() : "1";
|
||||
name = string.Format("Copy ({0}) of {1}", number, name);
|
||||
string name = xd.DocumentElement.Attributes.GetNamedItem("name").InnerText;
|
||||
Folder ff = AddFolder(Folder.Get(MyFolder.FolderID), xd, name);
|
||||
if (ff == null)
|
||||
{
|
||||
// C2020-032: Import Procedure set when existing name exists, allow user to import with 'Copy (#) of'.
|
||||
// This is similar functionality to the import of a procedure without the overwrite part.
|
||||
string msg = string.Format("The procedure set you are importing, {0}, already exists.\n\nDo you want to import {0} as a COPY of the existing set?\n\nThis will prefix the name with \"Copy (#) of\"", name);
|
||||
DialogResult dr = MessageBox.Show(this, msg, "Create Copy Of Existing Procedure Set", MessageBoxButtons.OKCancel, MessageBoxIcon.Stop);
|
||||
if (dr == DialogResult.OK)
|
||||
{
|
||||
string number = "";
|
||||
int max = -1;
|
||||
// get maximum number of existing copies.
|
||||
foreach (FolderInfo fi in MyFolder.ChildFolders)
|
||||
{
|
||||
int indx = fi.Name.IndexOf("Copy (");
|
||||
if (indx > -1)
|
||||
{
|
||||
int indxend = fi.Name.IndexOf(")", indx);
|
||||
if (indxend > indx)
|
||||
{
|
||||
string tmp = fi.Name.Substring(indx + 6, indxend - (indx + 6));
|
||||
int ii = Convert.ToInt32(tmp);
|
||||
if (ii > max) max = ii;
|
||||
}
|
||||
}
|
||||
}
|
||||
number = max > -1 ? (max + 1).ToString() : "1";
|
||||
name = string.Format("Copy ({0}) of {1}", number, name);
|
||||
|
||||
ff = AddFolder(Folder.Get(MyFolder.FolderID), xd, name);
|
||||
ff = AddFolder(Folder.Get(MyFolder.FolderID), xd, name);
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
_MyNewFolder = FolderInfo.Get(ff.FolderID);
|
||||
AddAnnotationTypes(xd);
|
||||
DocVersionInfo dvi = AddDocVersion(ff, xd);
|
||||
MyDocVersion = dvi;
|
||||
xd = null;
|
||||
lblImportStatus.Text = "Creating Procedures...";
|
||||
Application.DoEvents();
|
||||
ProcedureInfo pi = null;
|
||||
pbImportProcedure.Value = 0;
|
||||
pbImportProcedure.Maximum = MyExpxZipFile.Entries.Count - 1;
|
||||
if (!Directory.Exists(Path.Combine(PEIPath, "procedures")))
|
||||
Directory.CreateDirectory(Path.Combine(PEIPath, "procedures"));
|
||||
for (int i = 1; i < MyExpxZipFile.Entries.Count; i++)
|
||||
{
|
||||
ze = MyExpxZipFile.Entries[i];
|
||||
fn = Path.Combine(PEIPath, "procedures", ze.Name);
|
||||
ze.ExtractToFile(fn, true);
|
||||
xd = new XmlDocument();
|
||||
xd.Load(fn);
|
||||
pi = AddProcedure(xd.DocumentElement, dvi, pi);
|
||||
GC.Collect(); // need to cleanup memory after importing each procedure due to use of Regular Expressions in processing RO and Transition links
|
||||
}
|
||||
DirectoryInfo di = new DirectoryInfo(PEIPath);
|
||||
DirectoryInfo[] dis = di.GetDirectories();
|
||||
for (int d = 0; d < dis.Length; d++)
|
||||
dis[d].Delete(true);
|
||||
lblImportStatus.Text = "Updating Transitions";
|
||||
AddTransitions();
|
||||
FixFloatingFoldouts();
|
||||
SaveTransitionAndItemContentIDs();
|
||||
return true;
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
_MyNewFolder = FolderInfo.Get(ff.FolderID);
|
||||
AddAnnotationTypes(xd);
|
||||
DocVersionInfo dvi = AddDocVersion(ff, xd);
|
||||
MyDocVersion = dvi;
|
||||
xd = null;
|
||||
lblImportStatus.Text = "Creating Procedures...";
|
||||
Application.DoEvents();
|
||||
ProcedureInfo pi = null;
|
||||
pbImportProcedure.Value = 0;
|
||||
pbImportProcedure.Maximum = MyExpxZipFile.Entries.Count - 1;
|
||||
for (int i = 1; i < MyExpxZipFile.Entries.Count; i++)
|
||||
{
|
||||
ze = MyExpxZipFile[i];
|
||||
fn = PEIPath + @"\" + ze.FileName;
|
||||
ze.Extract(PEIPath, ExtractExistingFileAction.OverwriteSilently);
|
||||
xd = new XmlDocument();
|
||||
xd.Load(fn);
|
||||
pi = AddProcedure(xd.DocumentElement, dvi, pi);
|
||||
GC.Collect(); // need to cleanup memory after importing each procedure due to use of Regular Expressions in processing RO and Transition links
|
||||
}
|
||||
DirectoryInfo di = new DirectoryInfo(PEIPath);
|
||||
DirectoryInfo[] dis = di.GetDirectories();
|
||||
for (int d = 0; d < dis.Length; d++)
|
||||
dis[d].Delete(true);
|
||||
lblImportStatus.Text = "Updating Transitions";
|
||||
AddTransitions();
|
||||
FixFloatingFoldouts();
|
||||
SaveTransitionAndItemContentIDs();
|
||||
return true;
|
||||
}
|
||||
private void FixSectionStart(ProcedureInfo pi)
|
||||
{
|
||||
@@ -1254,85 +1263,85 @@ namespace VEPROMS
|
||||
// the xml files are then added (or replaced) in the .impx file.
|
||||
private void SaveTransitionAndItemContentIDs()
|
||||
{
|
||||
XmlDocument xd = new XmlDocument();
|
||||
XmlElement xe = xd.CreateElement("items");
|
||||
xd.AppendChild(xe);
|
||||
string fn = PEIPath + @"\items.xml";
|
||||
foreach (int key in Old2NewItem.Keys)
|
||||
using (FileStream zipToOpen = new FileStream(MyImpZipFileName, FileMode.OpenOrCreate))
|
||||
{
|
||||
xe = xd.CreateElement("item");
|
||||
xe.Attributes.SetNamedItem(AddAttribute(xd, "old", key.ToString()));
|
||||
xe.Attributes.SetNamedItem(AddAttribute(xd, "new", Old2NewItem[key].ToString()));
|
||||
xd.DocumentElement.AppendChild(xe);
|
||||
}
|
||||
xd.Save(fn);
|
||||
ZipEntry ze = MyImpxZipFile["items.xml"];
|
||||
MyImpxZipFile.RemoveEntry(ze);
|
||||
MyImpxZipFile.Save();
|
||||
MyImpxZipFile.AddFile(fn, "");
|
||||
MyImpxZipFile.Save();
|
||||
File.Delete(fn);
|
||||
xd = new XmlDocument();
|
||||
xe = xd.CreateElement("contents");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\contents.xml";
|
||||
foreach (int key in Old2NewContent.Keys)
|
||||
{
|
||||
xe = xd.CreateElement("content");
|
||||
xe.Attributes.SetNamedItem(AddAttribute(xd, "old", key.ToString()));
|
||||
xe.Attributes.SetNamedItem(AddAttribute(xd, "new", Old2NewContent[key].ToString()));
|
||||
xd.DocumentElement.AppendChild(xe);
|
||||
}
|
||||
xd.Save(fn);
|
||||
ze = MyImpxZipFile["contents.xml"];
|
||||
MyImpxZipFile.RemoveEntry(ze);
|
||||
MyImpxZipFile.Save();
|
||||
MyImpxZipFile.AddFile(fn, "");
|
||||
MyImpxZipFile.Save();
|
||||
File.Delete(fn);
|
||||
xd = new XmlDocument();
|
||||
xe = xd.CreateElement("transitions");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\transitions.xml";
|
||||
if (PendingTransitions != null && PendingTransitions.DocumentElement.HasChildNodes)
|
||||
{
|
||||
foreach (XmlNode nd in PendingTransitions.DocumentElement.ChildNodes)
|
||||
using (ZipArchive MyImpxZipFile = new ZipArchive(zipToOpen, ZipArchiveMode.Update))
|
||||
{
|
||||
if (nd.InnerText == "")
|
||||
xd.DocumentElement.AppendChild(xd.ImportNode(nd, true));
|
||||
XmlDocument xd = new XmlDocument();
|
||||
XmlElement xe = xd.CreateElement("items");
|
||||
xd.AppendChild(xe);
|
||||
string fn = PEIPath + @"\items.xml";
|
||||
foreach (int key in Old2NewItem.Keys)
|
||||
{
|
||||
xe = xd.CreateElement("item");
|
||||
xe.Attributes.SetNamedItem(AddAttribute(xd, "old", key.ToString()));
|
||||
xe.Attributes.SetNamedItem(AddAttribute(xd, "new", Old2NewItem[key].ToString()));
|
||||
xd.DocumentElement.AppendChild(xe);
|
||||
}
|
||||
xd.Save(fn);
|
||||
ZipArchiveEntry ze = MyImpxZipFile.GetEntry("items.xml");
|
||||
ze.Delete();
|
||||
_ = MyImpxZipFile.CreateEntryFromFile(fn, Path.GetFileName(fn));
|
||||
File.Delete(fn);
|
||||
xd = new XmlDocument();
|
||||
xe = xd.CreateElement("contents");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\contents.xml";
|
||||
foreach (int key in Old2NewContent.Keys)
|
||||
{
|
||||
xe = xd.CreateElement("content");
|
||||
xe.Attributes.SetNamedItem(AddAttribute(xd, "old", key.ToString()));
|
||||
xe.Attributes.SetNamedItem(AddAttribute(xd, "new", Old2NewContent[key].ToString()));
|
||||
xd.DocumentElement.AppendChild(xe);
|
||||
}
|
||||
xd.Save(fn);
|
||||
ze = MyImpxZipFile.GetEntry("contents.xml");
|
||||
ze.Delete();
|
||||
_ = MyImpxZipFile.CreateEntryFromFile(fn, Path.GetFileName(fn));
|
||||
File.Delete(fn);
|
||||
xd = new XmlDocument();
|
||||
xe = xd.CreateElement("transitions");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\transitions.xml";
|
||||
if (PendingTransitions != null && PendingTransitions.DocumentElement.HasChildNodes)
|
||||
{
|
||||
foreach (XmlNode nd in PendingTransitions.DocumentElement.ChildNodes)
|
||||
{
|
||||
if (nd.InnerText == "")
|
||||
xd.DocumentElement.AppendChild(xd.ImportNode(nd, true));
|
||||
}
|
||||
}
|
||||
xd.Save(fn);
|
||||
ze = MyImpxZipFile.GetEntry("transitions.xml");
|
||||
ze.Delete();
|
||||
_ = MyImpxZipFile.CreateEntryFromFile(fn, Path.GetFileName(fn));
|
||||
File.Delete(fn);
|
||||
}
|
||||
}
|
||||
xd.Save(fn);
|
||||
ze = MyImpxZipFile["transitions.xml"];
|
||||
MyImpxZipFile.RemoveEntry(ze);
|
||||
MyImpxZipFile.Save();
|
||||
MyImpxZipFile.AddFile(fn, "");
|
||||
MyImpxZipFile.Save();
|
||||
File.Delete(fn);
|
||||
}
|
||||
|
||||
// This is called only when we are importing an entire folder and there is a .impx file (a zip file)
|
||||
// the name of the .impx file is based on the folder name containing the export file being imported
|
||||
// This will read in the saved ItemIDs (old and new), ContentIDs (old andnew), library document IDs (old and new), and pending transitions
|
||||
private void ReadTransitionAndItemContentIDs()
|
||||
private void ReadTransitionAndItemContentIDs(ZipArchive MyImpxZipFile)
|
||||
{
|
||||
ZipEntry ze = MyImpxZipFile["items.xml"];
|
||||
ze.Extract(PEIPath, ExtractExistingFileAction.OverwriteSilently);
|
||||
ZipArchiveEntry ze = MyImpxZipFile.GetEntry("items.xml");
|
||||
string fn = PEIPath + @"\items.xml";
|
||||
ze.ExtractToFile(fn, true);
|
||||
XmlDocument xd = new XmlDocument();
|
||||
xd.Load(fn);
|
||||
// B2016-176, B2016-197 Transitions were no always properly resolved - don't load in the old item ids
|
||||
File.Delete(fn);
|
||||
ze = MyImpxZipFile["contents.xml"];
|
||||
ze.Extract(PEIPath, ExtractExistingFileAction.OverwriteSilently);
|
||||
ze = MyImpxZipFile.GetEntry("contents.xml");
|
||||
fn = PEIPath + @"\contents.xml";
|
||||
ze.ExtractToFile(fn, true);
|
||||
xd = new XmlDocument();
|
||||
xd.Load(fn);
|
||||
// B2016-176, B2016-197 Transitions were no always properly resolved - don't load in the old content ids
|
||||
File.Delete(fn);
|
||||
ze = MyImpxZipFile["libdocs.xml"];
|
||||
ze.Extract(PEIPath, ExtractExistingFileAction.OverwriteSilently);
|
||||
ze = MyImpxZipFile.GetEntry("libdocs.xml");
|
||||
fn = PEIPath + @"\libdocs.xml";
|
||||
ze.ExtractToFile(fn, true);
|
||||
xd = new XmlDocument();
|
||||
xd.Load(fn);
|
||||
XmlNodeList nl = xd.SelectNodes("//libdoc");
|
||||
@@ -1344,9 +1353,9 @@ namespace VEPROMS
|
||||
Old2NewLibDoc.Add(oldid, newid);
|
||||
}
|
||||
File.Delete(fn);
|
||||
ze = MyImpxZipFile["transitions.xml"];
|
||||
ze.Extract(PEIPath, ExtractExistingFileAction.OverwriteSilently);
|
||||
ze = MyImpxZipFile.GetEntry("transitions.xml");
|
||||
fn = PEIPath + @"\transitions.xml";
|
||||
ze.ExtractToFile(fn, true);
|
||||
PendingTransitions.Load(fn);
|
||||
File.Delete(fn);
|
||||
}
|
||||
@@ -1374,53 +1383,53 @@ namespace VEPROMS
|
||||
else
|
||||
dn = fi.Name.Substring(0, fi.Name.IndexOf("."));
|
||||
txtImport.Text = ofd.FileName;
|
||||
ReadOptions ro = new ReadOptions();
|
||||
ro.Encoding = Encoding.UTF8;
|
||||
MyExpxZipFile = ZipFile.Read(txtImport.Text, ro);
|
||||
string fn = string.Format(@"{0}\{1}.impx", PEIPath, dn);
|
||||
if (File.Exists(fn))
|
||||
MyExpZipFileName = txtImport.Text;
|
||||
string fn = string.Format(@"{0}\{1}.impx", PEIPath, dn);
|
||||
MyImpZipFileName = fn;
|
||||
if (File.Exists(fn))
|
||||
{
|
||||
MyImpxZipFile = ZipFile.Read(fn, ro);
|
||||
ReadTransitionAndItemContentIDs();
|
||||
using (ZipArchive MyImpxZipFile = ZipFile.OpenRead(fn))
|
||||
ReadTransitionAndItemContentIDs(MyImpxZipFile);
|
||||
}
|
||||
else
|
||||
{
|
||||
MyImpxZipFile = new ZipFile(fn, Encoding.UTF8);
|
||||
//transitions
|
||||
XmlElement xe = PendingTransitions.CreateElement("transitions");
|
||||
PendingTransitions.AppendChild(xe);
|
||||
fn = PEIPath + @"\transitions.xml";
|
||||
PendingTransitions.Save(fn);
|
||||
MyImpxZipFile.AddFile(fn, "");
|
||||
MyImpxZipFile.Save();
|
||||
File.Delete(fn);
|
||||
//itemids
|
||||
XmlDocument xd = new XmlDocument();
|
||||
xe = xd.CreateElement("items");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\items.xml";
|
||||
xd.Save(fn);
|
||||
MyImpxZipFile.AddFile(fn, "");
|
||||
MyImpxZipFile.Save();
|
||||
File.Delete(fn);
|
||||
//contentids
|
||||
xd = new XmlDocument();
|
||||
xe = xd.CreateElement("contents");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\contents.xml";
|
||||
xd.Save(fn);
|
||||
MyImpxZipFile.AddFile(fn, "");
|
||||
MyImpxZipFile.Save();
|
||||
File.Delete(fn);
|
||||
//libdocids
|
||||
xd = new XmlDocument();
|
||||
xe = xd.CreateElement("libdocs");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\libdocs.xml";
|
||||
xd.Save(fn);
|
||||
MyImpxZipFile.AddFile(fn, "");
|
||||
MyImpxZipFile.Save();
|
||||
File.Delete(fn);
|
||||
using (FileStream zipToOpen = new FileStream(fn, FileMode.OpenOrCreate))
|
||||
{
|
||||
using (ZipArchive MyImpxZipFile = new ZipArchive(zipToOpen, ZipArchiveMode.Update))
|
||||
{
|
||||
//transitions
|
||||
XmlElement xe = PendingTransitions.CreateElement("transitions");
|
||||
PendingTransitions.AppendChild(xe);
|
||||
fn = PEIPath + @"\transitions.xml";
|
||||
PendingTransitions.Save(fn);
|
||||
_ = MyImpxZipFile.CreateEntryFromFile(fn, Path.GetFileName(fn));
|
||||
File.Delete(fn);
|
||||
//itemids
|
||||
XmlDocument xd = new XmlDocument();
|
||||
xe = xd.CreateElement("items");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\items.xml";
|
||||
xd.Save(fn);
|
||||
_ = MyImpxZipFile.CreateEntryFromFile(fn, Path.GetFileName(fn));
|
||||
File.Delete(fn);
|
||||
//contentids
|
||||
xd = new XmlDocument();
|
||||
xe = xd.CreateElement("contents");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\contents.xml";
|
||||
xd.Save(fn);
|
||||
_ = MyImpxZipFile.CreateEntryFromFile(fn, Path.GetFileName(fn));
|
||||
File.Delete(fn);
|
||||
//libdocids
|
||||
xd = new XmlDocument();
|
||||
xe = xd.CreateElement("libdocs");
|
||||
xd.AppendChild(xe);
|
||||
fn = PEIPath + @"\libdocs.xml";
|
||||
xd.Save(fn);
|
||||
_ = MyImpxZipFile.CreateEntryFromFile(fn, Path.GetFileName(fn));
|
||||
File.Delete(fn);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (MyDocVersion != null)
|
||||
@@ -1595,27 +1604,31 @@ namespace VEPROMS
|
||||
ExportAssociation(xe, ai, "association");
|
||||
string fn = PEIPath + @"\folder.xml";
|
||||
xn.OwnerDocument.Save(fn);
|
||||
MyExpxZipFile.AddFile(fn, "folder");
|
||||
MyExpxZipFile.Save();
|
||||
File.Delete(fn);
|
||||
//here
|
||||
lblExportStatus.Text = "Exporting Procedures...";
|
||||
Application.DoEvents();
|
||||
if (dvi.Procedures.Count > 0)
|
||||
using (FileStream zipToOpen = new FileStream(MyExpZipFileName, FileMode.OpenOrCreate))
|
||||
{
|
||||
pbExportProcedure.Value = 0;
|
||||
pbExportProcedure.Maximum = dvi.Procedures.Count;
|
||||
lblExportProcedure.Text = pbExportProcedure.Maximum.ToString() + " Procedures";
|
||||
foreach (ItemInfo ii in dvi.Procedures)
|
||||
{
|
||||
XmlDocument xd = new XmlDocument();
|
||||
ExportItem(xd, ii, "procedure");
|
||||
fn = string.Format(@"{0}\proc{1}.xml", PEIPath, pbExportProcedure.Value.ToString().PadLeft(4, '0'));
|
||||
xd.Save(fn);
|
||||
MyExpxZipFile.AddFile(fn, "procedures");
|
||||
MyExpxZipFile.Save();
|
||||
using (ZipArchive MyExpxZipFile = new ZipArchive(zipToOpen, ZipArchiveMode.Update))
|
||||
{
|
||||
_ = MyExpxZipFile.CreateEntryFromFile(fn, $"folder/{Path.GetFileName(fn)}");
|
||||
File.Delete(fn);
|
||||
xd = null;
|
||||
//here
|
||||
lblExportStatus.Text = "Exporting Procedures...";
|
||||
Application.DoEvents();
|
||||
if (dvi.Procedures.Count > 0)
|
||||
{
|
||||
pbExportProcedure.Value = 0;
|
||||
pbExportProcedure.Maximum = dvi.Procedures.Count;
|
||||
lblExportProcedure.Text = pbExportProcedure.Maximum.ToString() + " Procedures";
|
||||
foreach (ItemInfo ii in dvi.Procedures)
|
||||
{
|
||||
XmlDocument xd = new XmlDocument();
|
||||
ExportItem(xd, ii, "procedure");
|
||||
fn = string.Format(@"{0}\proc{1}.xml", PEIPath, pbExportProcedure.Value.ToString().PadLeft(4, '0'));
|
||||
xd.Save(fn);
|
||||
_ = MyExpxZipFile.CreateEntryFromFile(fn, $"procedures/{Path.GetFileName(fn)}");
|
||||
File.Delete(fn);
|
||||
xd = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1839,12 +1852,14 @@ namespace VEPROMS
|
||||
//and handled/overridden in dlgExportEP.cs
|
||||
}
|
||||
|
||||
protected virtual void SetROLocation(ref XmlElement xindivid, ROFSTLookup.rochild roc, RODbInfo rodb, bool isMulti)
|
||||
protected virtual void SetEPEnhancedDocLinks(ref XmlElement xe, ItemInfo ii)
|
||||
{
|
||||
//do nothing - this will be for Electronic procedures only
|
||||
//and handled/overridden in dlgExportEP.cs
|
||||
}
|
||||
protected virtual void SetEPEnhancedDocLinks(ref XmlElement xe, ItemInfo ii)
|
||||
|
||||
|
||||
protected virtual void SetROLocation(ref XmlElement xindivid, ROFSTLookup.rochild roc, RODbInfo rodb, bool isMulti)
|
||||
{
|
||||
//do nothing - this will be for Electronic procedures only
|
||||
//and handled/overridden in dlgExportEP.cs
|
||||
|
256
PROMS/VEPROMS User Interface/frmBatchRefresh.Designer.cs
generated
256
PROMS/VEPROMS User Interface/frmBatchRefresh.Designer.cs
generated
@@ -70,17 +70,6 @@
|
||||
this.labelX6 = new DevComponents.DotNetBar.LabelX();
|
||||
this.warningBox1 = new DevComponents.DotNetBar.Controls.WarningBox();
|
||||
this.btnFixLinks = new DevComponents.DotNetBar.ButtonX();
|
||||
this.sideNavPanel1 = new DevComponents.DotNetBar.Controls.SideNavPanel();
|
||||
this.warningBox3 = new DevComponents.DotNetBar.Controls.WarningBox();
|
||||
this.labelX7 = new DevComponents.DotNetBar.LabelX();
|
||||
this.line1 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.swCkObsoleteROData = new DevComponents.DotNetBar.Controls.SwitchButton();
|
||||
this.swHiddenDataLocs = new DevComponents.DotNetBar.Controls.SwitchButton();
|
||||
this.labelX3 = new DevComponents.DotNetBar.LabelX();
|
||||
this.labelX2 = new DevComponents.DotNetBar.LabelX();
|
||||
this.swCkOrphanDataRecs = new DevComponents.DotNetBar.Controls.SwitchButton();
|
||||
this.labelX1 = new DevComponents.DotNetBar.LabelX();
|
||||
this.btnRunCheck = new DevComponents.DotNetBar.ButtonX();
|
||||
this.sideNavPanel2 = new DevComponents.DotNetBar.Controls.SideNavPanel();
|
||||
this.swRefreshTblsForSrch = new DevComponents.DotNetBar.Controls.SwitchButton();
|
||||
this.lblRefreshTblForSrch = new DevComponents.DotNetBar.LabelX();
|
||||
@@ -97,14 +86,10 @@
|
||||
this.labelX8 = new DevComponents.DotNetBar.LabelX();
|
||||
this.line2 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.btnRunRepair = new DevComponents.DotNetBar.ButtonX();
|
||||
this.sideNavPanel5 = new DevComponents.DotNetBar.Controls.SideNavPanel();
|
||||
this.btn_ShowUsers = new DevComponents.DotNetBar.ButtonX();
|
||||
this.sideNavItem1 = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.separator1 = new DevComponents.DotNetBar.Separator();
|
||||
this.sideNavItmCheck = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.sideNavItmRepair = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.sideNavItmLinks = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.sideNavItmUsers = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.sideNavItmDelete = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.sideNavItmExit = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -129,9 +114,7 @@
|
||||
this.sideNav1.SuspendLayout();
|
||||
this.sideNavPanel4.SuspendLayout();
|
||||
this.sideNavPanel3.SuspendLayout();
|
||||
this.sideNavPanel1.SuspendLayout();
|
||||
this.sideNavPanel2.SuspendLayout();
|
||||
this.sideNavPanel5.SuspendLayout();
|
||||
this.panelEx4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -467,21 +450,17 @@
|
||||
// sideNav1
|
||||
//
|
||||
this.sideNav1.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.sideNav1.Controls.Add(this.sideNavPanel2);
|
||||
this.sideNav1.Controls.Add(this.sideNavPanel4);
|
||||
this.sideNav1.Controls.Add(this.sideNavPanel3);
|
||||
this.sideNav1.Controls.Add(this.sideNavPanel1);
|
||||
this.sideNav1.Controls.Add(this.sideNavPanel2);
|
||||
this.sideNav1.Controls.Add(this.sideNavPanel5);
|
||||
this.sideNav1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNav1.EnableClose = false;
|
||||
this.sideNav1.EnableMaximize = false;
|
||||
this.sideNav1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.sideNavItem1,
|
||||
this.separator1,
|
||||
this.sideNavItmCheck,
|
||||
this.sideNavItmRepair,
|
||||
this.sideNavItmLinks,
|
||||
this.sideNavItmUsers,
|
||||
this.sideNavItmDelete,
|
||||
this.sideNavItmExit});
|
||||
this.sideNav1.Location = new System.Drawing.Point(0, 0);
|
||||
@@ -505,6 +484,7 @@
|
||||
this.sideNavPanel4.Name = "sideNavPanel4";
|
||||
this.sideNavPanel4.Size = new System.Drawing.Size(299, 493);
|
||||
this.sideNavPanel4.TabIndex = 27;
|
||||
this.sideNavPanel4.Visible = false;
|
||||
//
|
||||
// swDeleteFolder
|
||||
//
|
||||
@@ -759,173 +739,6 @@
|
||||
this.btnFixLinks.Text = "Process Links";
|
||||
this.btnFixLinks.Click += new System.EventHandler(this.btnFixLinks_Click);
|
||||
//
|
||||
// sideNavPanel1
|
||||
//
|
||||
this.sideNavPanel1.Controls.Add(this.warningBox3);
|
||||
this.sideNavPanel1.Controls.Add(this.labelX7);
|
||||
this.sideNavPanel1.Controls.Add(this.line1);
|
||||
this.sideNavPanel1.Controls.Add(this.swCkObsoleteROData);
|
||||
this.sideNavPanel1.Controls.Add(this.swHiddenDataLocs);
|
||||
this.sideNavPanel1.Controls.Add(this.labelX3);
|
||||
this.sideNavPanel1.Controls.Add(this.labelX2);
|
||||
this.sideNavPanel1.Controls.Add(this.swCkOrphanDataRecs);
|
||||
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(89, 31);
|
||||
this.sideNavPanel1.Name = "sideNavPanel1";
|
||||
this.sideNavPanel1.Size = new System.Drawing.Size(291, 494);
|
||||
this.sideNavPanel1.TabIndex = 2;
|
||||
this.sideNavPanel1.Visible = false;
|
||||
//
|
||||
// warningBox3
|
||||
//
|
||||
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(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(264, 32);
|
||||
this.warningBox3.TabIndex = 29;
|
||||
this.warningBox3.Text = "<b>NOTE</b> These tools can take a long time to run";
|
||||
//
|
||||
// labelX7
|
||||
//
|
||||
this.labelX7.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(5, 3);
|
||||
this.labelX7.Name = "labelX7";
|
||||
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(8, 179);
|
||||
this.line1.Name = "line1";
|
||||
this.line1.Size = new System.Drawing.Size(285, 12);
|
||||
this.line1.TabIndex = 18;
|
||||
this.line1.Text = "line1";
|
||||
//
|
||||
// swCkObsoleteROData
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.swCkObsoleteROData.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swCkObsoleteROData.Location = new System.Drawing.Point(10, 99);
|
||||
this.swCkObsoleteROData.Name = "swCkObsoleteROData";
|
||||
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;
|
||||
this.swCkObsoleteROData.TabIndex = 14;
|
||||
this.swCkObsoleteROData.Value = true;
|
||||
this.swCkObsoleteROData.ValueObject = "Y";
|
||||
this.swCkObsoleteROData.ValueChanged += new System.EventHandler(this.swCk_ValueChanged);
|
||||
//
|
||||
// swHiddenDataLocs
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.swHiddenDataLocs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swHiddenDataLocs.Location = new System.Drawing.Point(10, 71);
|
||||
this.swHiddenDataLocs.Name = "swHiddenDataLocs";
|
||||
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;
|
||||
this.swHiddenDataLocs.TabIndex = 15;
|
||||
this.swHiddenDataLocs.Value = true;
|
||||
this.swHiddenDataLocs.ValueObject = "Y";
|
||||
this.swHiddenDataLocs.ValueChanged += new System.EventHandler(this.swCk_ValueChanged);
|
||||
//
|
||||
// labelX3
|
||||
//
|
||||
this.labelX3.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(107, 99);
|
||||
this.labelX3.Name = "labelX3";
|
||||
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";
|
||||
//
|
||||
// labelX2
|
||||
//
|
||||
this.labelX2.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(107, 71);
|
||||
this.labelX2.Name = "labelX2";
|
||||
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";
|
||||
//
|
||||
// swCkOrphanDataRecs
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.swCkOrphanDataRecs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swCkOrphanDataRecs.Location = new System.Drawing.Point(10, 43);
|
||||
this.swCkOrphanDataRecs.Name = "swCkOrphanDataRecs";
|
||||
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;
|
||||
this.swCkOrphanDataRecs.TabIndex = 9;
|
||||
this.swCkOrphanDataRecs.Value = true;
|
||||
this.swCkOrphanDataRecs.ValueObject = "Y";
|
||||
this.swCkOrphanDataRecs.ValueChanged += new System.EventHandler(this.swCk_ValueChanged);
|
||||
//
|
||||
// labelX1
|
||||
//
|
||||
this.labelX1.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(107, 43);
|
||||
this.labelX1.Name = "labelX1";
|
||||
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";
|
||||
//
|
||||
// btnRunCheck
|
||||
//
|
||||
this.btnRunCheck.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
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(5, 150);
|
||||
this.btnRunCheck.Name = "btnRunCheck";
|
||||
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)));
|
||||
this.btnRunCheck.TabIndex = 7;
|
||||
this.btnRunCheck.Text = "Run Check";
|
||||
this.btnRunCheck.Click += new System.EventHandler(this.btnRunCheck_Click);
|
||||
//
|
||||
// sideNavPanel2
|
||||
//
|
||||
this.sideNavPanel2.Controls.Add(this.swRefreshTblsForSrch);
|
||||
@@ -944,11 +757,10 @@
|
||||
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(89, 31);
|
||||
this.sideNavPanel2.Location = new System.Drawing.Point(81, 31);
|
||||
this.sideNavPanel2.Name = "sideNavPanel2";
|
||||
this.sideNavPanel2.Size = new System.Drawing.Size(291, 494);
|
||||
this.sideNavPanel2.Size = new System.Drawing.Size(299, 493);
|
||||
this.sideNavPanel2.TabIndex = 6;
|
||||
this.sideNavPanel2.Visible = false;
|
||||
//
|
||||
// swRefreshTblsForSrch
|
||||
//
|
||||
@@ -1176,31 +988,6 @@
|
||||
this.btnRunRepair.Text = "Run Repair";
|
||||
this.btnRunRepair.Click += new System.EventHandler(this.btnRunRepair_Click);
|
||||
//
|
||||
// sideNavPanel5
|
||||
//
|
||||
this.sideNavPanel5.Controls.Add(this.btn_ShowUsers);
|
||||
this.sideNavPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNavPanel5.Location = new System.Drawing.Point(81, 31);
|
||||
this.sideNavPanel5.Name = "sideNavPanel5";
|
||||
this.sideNavPanel5.Size = new System.Drawing.Size(299, 494);
|
||||
this.sideNavPanel5.TabIndex = 14;
|
||||
this.sideNavPanel5.Visible = false;
|
||||
//
|
||||
// btn_ShowUsers
|
||||
//
|
||||
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(57, 37);
|
||||
this.btn_ShowUsers.Name = "btn_ShowUsers";
|
||||
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)));
|
||||
this.btn_ShowUsers.TabIndex = 0;
|
||||
this.btn_ShowUsers.Text = "Show Users";
|
||||
this.btn_ShowUsers.Click += new System.EventHandler(this.btn_ShowUsers_Click);
|
||||
//
|
||||
// sideNavItem1
|
||||
//
|
||||
this.sideNavItem1.IsSystemMenu = true;
|
||||
@@ -1218,16 +1005,9 @@
|
||||
this.separator1.Padding.Top = 2;
|
||||
this.separator1.SeparatorOrientation = DevComponents.DotNetBar.eDesignMarkerOrientation.Vertical;
|
||||
//
|
||||
// sideNavItmCheck
|
||||
//
|
||||
this.sideNavItmCheck.Name = "sideNavItmCheck";
|
||||
this.sideNavItmCheck.Panel = this.sideNavPanel1;
|
||||
this.sideNavItmCheck.Symbol = "";
|
||||
this.sideNavItmCheck.Text = "Check";
|
||||
this.sideNavItmCheck.Click += new System.EventHandler(this.sideNavItmCheck_Click);
|
||||
//
|
||||
// sideNavItmRepair
|
||||
//
|
||||
this.sideNavItmRepair.Checked = true;
|
||||
this.sideNavItmRepair.Name = "sideNavItmRepair";
|
||||
this.sideNavItmRepair.Panel = this.sideNavPanel2;
|
||||
this.sideNavItmRepair.Symbol = "";
|
||||
@@ -1242,17 +1022,8 @@
|
||||
this.sideNavItmLinks.Text = "Links";
|
||||
this.sideNavItmLinks.Click += new System.EventHandler(this.sideNavItmLinks_Click);
|
||||
//
|
||||
// sideNavItmUsers
|
||||
//
|
||||
this.sideNavItmUsers.Name = "sideNavItmUsers";
|
||||
this.sideNavItmUsers.Panel = this.sideNavPanel5;
|
||||
this.sideNavItmUsers.Symbol = "";
|
||||
this.sideNavItmUsers.Text = "Users";
|
||||
this.sideNavItmUsers.Click += new System.EventHandler(this.sideNavItmUsers_Click);
|
||||
//
|
||||
// sideNavItmDelete
|
||||
//
|
||||
this.sideNavItmDelete.Checked = true;
|
||||
this.sideNavItmDelete.Name = "sideNavItmDelete";
|
||||
this.sideNavItmDelete.Panel = this.sideNavPanel4;
|
||||
this.sideNavItmDelete.Symbol = "";
|
||||
@@ -1392,9 +1163,7 @@
|
||||
this.sideNav1.PerformLayout();
|
||||
this.sideNavPanel4.ResumeLayout(false);
|
||||
this.sideNavPanel3.ResumeLayout(false);
|
||||
this.sideNavPanel1.ResumeLayout(false);
|
||||
this.sideNavPanel2.ResumeLayout(false);
|
||||
this.sideNavPanel5.ResumeLayout(false);
|
||||
this.panelEx4.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -1422,16 +1191,6 @@
|
||||
private System.Windows.Forms.CheckBox chkLater;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private DevComponents.DotNetBar.Controls.SideNav sideNav1;
|
||||
private DevComponents.DotNetBar.Controls.SideNavPanel sideNavPanel1;
|
||||
private DevComponents.DotNetBar.LabelX labelX7;
|
||||
private DevComponents.DotNetBar.Controls.Line line1;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swCkObsoleteROData;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swHiddenDataLocs;
|
||||
private DevComponents.DotNetBar.LabelX labelX3;
|
||||
private DevComponents.DotNetBar.LabelX labelX2;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swCkOrphanDataRecs;
|
||||
private DevComponents.DotNetBar.LabelX labelX1;
|
||||
private DevComponents.DotNetBar.ButtonX btnRunCheck;
|
||||
private DevComponents.DotNetBar.Controls.SideNavPanel sideNavPanel2;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swRmObsoleteROData;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swRefreshWordAttmts;
|
||||
@@ -1444,16 +1203,12 @@
|
||||
private DevComponents.DotNetBar.LabelX labelX8;
|
||||
private DevComponents.DotNetBar.Controls.Line line2;
|
||||
private DevComponents.DotNetBar.ButtonX btnRunRepair;
|
||||
private DevComponents.DotNetBar.Controls.SideNavPanel sideNavPanel5;
|
||||
private DevComponents.DotNetBar.ButtonX btn_ShowUsers;
|
||||
private DevComponents.DotNetBar.Controls.SideNavPanel sideNavPanel3;
|
||||
private DevComponents.DotNetBar.ButtonX btnFixLinks;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItem1;
|
||||
private DevComponents.DotNetBar.Separator separator1;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItmCheck;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItmRepair;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItmLinks;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItmUsers;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItmExit;
|
||||
private DevComponents.DotNetBar.LabelX lblAdmToolProgressType;
|
||||
private DevComponents.DotNetBar.ProgressSteps progressSteps1;
|
||||
@@ -1473,7 +1228,6 @@
|
||||
private DevComponents.DotNetBar.LabelX labelX6;
|
||||
private DevComponents.DotNetBar.Controls.WarningBox warningBox5;
|
||||
private DevComponents.DotNetBar.Controls.Line line3;
|
||||
private DevComponents.DotNetBar.Controls.WarningBox warningBox3;
|
||||
private DevComponents.DotNetBar.Controls.WarningBox warningBox4;
|
||||
private DevComponents.DotNetBar.Controls.WarningBox warningBox2;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swRefreshTblsForSrch;
|
||||
|
@@ -34,8 +34,8 @@ namespace VEPROMS
|
||||
_veProms = veProms;
|
||||
|
||||
|
||||
// When opening Admin tools Check tab will be default.
|
||||
this.sideNavItmCheck.Checked = true;
|
||||
// When opening Admin tools Repair tab will be default.
|
||||
this.sideNavItmRepair.Checked = true;
|
||||
|
||||
if (sideNavItmDelete.Checked)
|
||||
{
|
||||
@@ -95,7 +95,6 @@ namespace VEPROMS
|
||||
int affectedRows = ESP_FixHyphens.Execute("vesp_FixHyphens") / 2;// Two results for each change
|
||||
txtProcess.AppendText(string.Format("Fixed {0} Hyphens", affectedRows));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
//txtProcess.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(string.Format("{0} Hyphens were Fixed.", affectedRows));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
@@ -143,16 +142,10 @@ namespace VEPROMS
|
||||
return false;
|
||||
}
|
||||
|
||||
private List<string> myTreeNodePath;
|
||||
private void ResetTV()
|
||||
{
|
||||
ResetTV(false);
|
||||
}
|
||||
private void ResetTV(bool noProcs)
|
||||
private void ResetTV(bool noProcs)
|
||||
{
|
||||
btnFixLinks.Enabled = false;
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
//myTreeNodePath = new List<string>();
|
||||
myTV.Nodes.Clear();
|
||||
myDocVersions.Clear();
|
||||
myFolders.Clear();
|
||||
@@ -165,10 +158,6 @@ namespace VEPROMS
|
||||
myTV.SelectedNode.Expand();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
private void ResetDelTV()
|
||||
{
|
||||
ResetDelTV(false);
|
||||
}
|
||||
private void ResetDelTV(bool noProcs)
|
||||
{
|
||||
btnFixLinks.Enabled = false;
|
||||
@@ -208,13 +197,10 @@ namespace VEPROMS
|
||||
TreeNode tnc = tn.Nodes.Add(fic.Name);
|
||||
tnc.Tag = fic;
|
||||
|
||||
if (fic.ChildFolderCount > 0)
|
||||
{
|
||||
if (LoadChildFolders(fic, tnc, noProcs))
|
||||
loadedChildWorkingDraft = true;
|
||||
}
|
||||
if (fic.ChildFolderCount > 0 && LoadChildFolders(fic, tnc, noProcs))
|
||||
loadedChildWorkingDraft = true;
|
||||
|
||||
if (fic.FolderDocVersionCount > 0)
|
||||
if (fic.FolderDocVersionCount > 0)
|
||||
{
|
||||
if (!LoadDocVersions(fic, tnc, noProcs))
|
||||
tnc.Remove();
|
||||
@@ -252,12 +238,9 @@ namespace VEPROMS
|
||||
{
|
||||
tnc.Tag = dvi;
|
||||
myDocVersions.Add(tnc, dvi);
|
||||
if (!noProcs)
|
||||
{
|
||||
if (dvi.Procedures.Count > 0)
|
||||
LoadProcedures(dvi, tnc);
|
||||
}
|
||||
rtnval = true;
|
||||
if (!noProcs && dvi.Procedures.Count > 0)
|
||||
LoadProcedures(dvi, tnc);
|
||||
rtnval = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -273,7 +256,7 @@ namespace VEPROMS
|
||||
}
|
||||
private void LoadProcedures(DocVersionInfo dvi, TreeNode tnc)
|
||||
{
|
||||
foreach (ProcedureInfo pi in dvi.Procedures)
|
||||
foreach (ProcedureInfo pi in dvi.Procedures.OfType<ProcedureInfo>())
|
||||
{
|
||||
TreeNode tn = tnc.Nodes.Add(string.Format("{0} {1}", pi.DisplayNumber, pi.DisplayText));
|
||||
myProcedures.Add(tn, pi);
|
||||
@@ -327,7 +310,7 @@ namespace VEPROMS
|
||||
// C2023-002: Loop through the docversion's procedures to determine which cannot be open and add to
|
||||
// list. The frmBatchRefreshCheckedOut dialog operates on procedures, not docversions.
|
||||
string msgp = string.Empty;
|
||||
foreach (ProcedureInfo pi in dq.Procedures)
|
||||
foreach (ProcedureInfo pi in dq.Procedures.OfType<ProcedureInfo>())
|
||||
{
|
||||
if (!MySessionInfo.CanCheckOutItem(pi.ItemID, CheckOutType.Procedure, ref msgp)) pil.Add(pi);
|
||||
}
|
||||
@@ -520,7 +503,6 @@ namespace VEPROMS
|
||||
foreach (TreeNode tn in myProcedures.Keys)
|
||||
if (tn.Checked)
|
||||
pil.Add(myProcedures[tn]);
|
||||
//PopulateTransitionInfoLists(pil);
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Refresh Transitions");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
@@ -710,7 +692,7 @@ namespace VEPROMS
|
||||
cc.Save();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
this.Cursor = Cursors.Default;
|
||||
return -cntfix;
|
||||
@@ -722,42 +704,6 @@ namespace VEPROMS
|
||||
}
|
||||
return cntfix;
|
||||
}
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
// tool renamed to Identify Orphan Items
|
||||
private void IdentifyDisconnectedItems()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Orphan Items");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCount = ESP_IdentifyDisconnectedItems.Execute("vesp_GetDisconnectedItemsCount");
|
||||
txtProcess.AppendText(string.Format("Orphan Items Count: {0}", rowCount));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (rowCount > 0)
|
||||
{
|
||||
txtResults.AppendText(string.Format("The database contains {0} Orphan items.", rowCount));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText("These can be removed via the Remove Orphan Data Records in the Repair tools");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
else
|
||||
{
|
||||
txtResults.AppendText("No Orphan Records Found");// B2017-108 Always output results even if there isn't any
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
//MessageBox.Show(string.Format("{0} Completed", "Orphan Items Check"), "Orphan Items");
|
||||
}
|
||||
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
// tool renamed to Remove Orphan Items
|
||||
@@ -777,8 +723,6 @@ namespace VEPROMS
|
||||
int rowCount2 = ESP_IdentifyDisconnectedItems.Execute("vesp_GetDisconnectedItemsCount");
|
||||
txtProcess.AppendText(string.Format("Orphan Items Purged: {0}", rowCount));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
//txtProcess.AppendText(Environment.NewLine);
|
||||
//txtResults.Clear();
|
||||
txtResults.AppendText(string.Format("The database contained {0} Orphan items.", rowCount));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
@@ -795,11 +739,10 @@ namespace VEPROMS
|
||||
}
|
||||
else
|
||||
{
|
||||
//txtResults.Clear();
|
||||
txtResults.AppendText(string.Format("The database contained {0} Orphan items.", rowCount));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(string.Format("No Orpan Items to Purge!"));
|
||||
txtResults.AppendText("No Orpan Items to Purge!");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
@@ -811,45 +754,6 @@ namespace VEPROMS
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
// is one of two tools run from Check Obsolete RO Data
|
||||
private void IdentifyUnusedRoFstsAndFigures()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Unused RoFsts and Figures");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCountRoFst = ESP_GetUnusedRoFsts.Execute("vesp_GetUnusedRoFstsCount");
|
||||
int rowCountFigures = ESP_GetUnusedFigures.Execute("vesp_GetUnusedFiguresCount");
|
||||
txtProcess.AppendText(string.Format("Unused RoFsts Count: {0}, Unused Figures Count: {1}", rowCountRoFst, rowCountFigures));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (rowCountRoFst > 0 || rowCountFigures > 0)
|
||||
{
|
||||
txtResults.AppendText(string.Format("The database contains {0} unused RoFsts.", rowCountRoFst));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(string.Format("The database contains {0} unused Figures items.", rowCountFigures));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
else
|
||||
{
|
||||
txtResults.AppendText("No Unused RoFsts or Figures Found"); // B2017-108 Always output results even if there isn't any
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Admin Tools user interface is one of two tools run from Remove Obsolete RO Data
|
||||
private void RemoveUnusedRoFstsAndFigures()
|
||||
{
|
||||
@@ -893,41 +797,7 @@ namespace VEPROMS
|
||||
{
|
||||
txtProcess.AppendText(string.Format("The database contained {0} unused RoFSTs or Figures.", rowCountRoFst + rowCountFigures));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(string.Format("No Unused ROFSTs To Remove."));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
// is one of two tools run from Check Obsolete RO Data
|
||||
private void IdentifyROAssociations()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Unused RO Associations");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCount = ESP_GetROAssoc.Execute("vesp_GetUnusedROAssociationsCount");
|
||||
txtProcess.AppendText(string.Format("Unused RO Associations Count: {0}", rowCount));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (rowCount > 0)
|
||||
{
|
||||
txtResults.AppendText(string.Format("The database contains {0} unused RO Associations.", rowCount));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
else
|
||||
{
|
||||
txtResults.AppendText("No unused RO Associations Found");// B2017-108 Always output results even if there isn't any
|
||||
txtResults.AppendText("No Unused ROFSTs To Remove.");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
@@ -976,7 +846,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(string.Format("The database contained {0} Unused RO Associations.", rowCount));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(string.Format("No Unused RO Associations to Purge."));
|
||||
txtResults.AppendText("No Unused RO Associations to Purge.");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
@@ -988,49 +858,6 @@ namespace VEPROMS
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
// tool was renamed to Hidden Data Locations (on Check list)
|
||||
private void IdentifyNonEditableItems()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Hidden Item Locations");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
List<ItemInfo> myItems = ESP_IdentifyNonEditableItems.Execute("vesp_GetNonEditableItems");
|
||||
txtProcess.AppendText(string.Format("Hidden Items Count: {0}", myItems.Count));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (myItems.Count > 0)
|
||||
{
|
||||
txtResults.AppendText("The following items are hidden (non-editable)...");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
foreach (ItemInfo ii in myItems)
|
||||
{
|
||||
txtResults.AppendText(ii.Path);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
else
|
||||
{
|
||||
txtResults.AppendText("No Hidden Data Found");// B2017-108 Always output results even if there isn't any
|
||||
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);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
// tool was renamed to Show Users
|
||||
private void GetDatabaseSessions()
|
||||
@@ -1095,7 +922,6 @@ namespace VEPROMS
|
||||
return;
|
||||
}
|
||||
|
||||
//FileInfo fiRofst = new FileInfo(rofstPath);
|
||||
Cursor = Cursors.WaitCursor;
|
||||
|
||||
using (DocVersion dv = DocVersion.Get(dq.VersionID))
|
||||
@@ -1109,7 +935,6 @@ 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);
|
||||
}
|
||||
|
||||
@@ -1122,14 +947,13 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
private void RefreshProcedureTransitions(ProcedureInfo pq)
|
||||
{
|
||||
DateTime start = DateTime.Now;
|
||||
ProcedureInfo.ResetTranCounters();
|
||||
ProcedureInfo.RefreshTransitions(pq);//, transitionsToDisconnected, transitionsToNonEditable);
|
||||
ProcedureInfo.RefreshTransitions(pq);
|
||||
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}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));
|
||||
@@ -1145,42 +969,7 @@ namespace VEPROMS
|
||||
return VlnFlexGrid.ROTableUpdate(sender, args);
|
||||
}
|
||||
|
||||
private void PopulateTransitionInfoLists(List<ProcedureInfo> pil)
|
||||
{
|
||||
Dictionary<int, int> dic = new Dictionary<int, int>();
|
||||
StringBuilder sb = new StringBuilder();
|
||||
foreach (ProcedureInfo pi in pil)
|
||||
if (!dic.ContainsKey(pi.MyDocVersion.VersionID))
|
||||
{
|
||||
dic.Add(pi.MyDocVersion.VersionID, pi.MyDocVersion.VersionID);
|
||||
sb.Append(sb.Length == 0 ? pi.MyDocVersion.VersionID.ToString() : "," + pi.MyDocVersion.VersionID.ToString());
|
||||
}
|
||||
txtProcess.AppendText("Preparing to process...");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
//transitionsToDisconnected = TransitionInfoList.GetTransitionsToDisconnected(sb.ToString());
|
||||
//transitionsToNonEditable = TransitionInfoList.GetTransitionsToNonEditable(sb.ToString());
|
||||
}
|
||||
|
||||
private void ProgressBarShowText()
|
||||
{
|
||||
pbProcess.Refresh();
|
||||
int percent = (int)(((double)(pbProcess.Value - pbProcess.Minimum) /
|
||||
(double)(pbProcess.Maximum - pbProcess.Minimum)) * 100);
|
||||
using (Graphics gr = pbProcess.CreateGraphics())
|
||||
{
|
||||
gr.DrawString(percent.ToString() + "%",
|
||||
SystemFonts.DefaultFont,
|
||||
Brushes.Black,
|
||||
new PointF(pbProcess.Width / 2 - (gr.MeasureString(percent.ToString() + "%",
|
||||
SystemFonts.DefaultFont).Width / 2.0F),
|
||||
pbProcess.Height / 2 - (gr.MeasureString(percent.ToString() + "%",
|
||||
SystemFonts.DefaultFont).Height / 2.0F)));
|
||||
}
|
||||
Application.DoEvents();
|
||||
}
|
||||
|
||||
StringBuilder myFixes;
|
||||
StringBuilder myFixes;
|
||||
int myFixesCount = 0;
|
||||
int myConvertCount = 0;
|
||||
// show the changes made in the Results pannel, include the ItemId of the step element
|
||||
@@ -1199,7 +988,6 @@ namespace VEPROMS
|
||||
{
|
||||
txtResults.AppendText(string.Format("Fixed Referenced Object for {1}({4}){0}Old Text: {2}{0}New Text: {3}{0}{0}", Environment.NewLine, (sender as ItemInfo).ShortPath, args.OldValue, args.NewValue, (sender as ItemInfo).ItemID));
|
||||
Application.DoEvents();
|
||||
//myFixes.AppendLine(string.Format("Fixed Referenced Object for {1}{0}Old Text: {2}{0}New Text: {3}{0}", Environment.NewLine, (sender as ItemInfo).ShortPath, args.OldValue, args.NewValue));
|
||||
}
|
||||
else // B2018-002 - Invalid Transitions - Display Transition Cconversion Statistics
|
||||
{
|
||||
@@ -1354,14 +1142,6 @@ namespace VEPROMS
|
||||
pnlLater.Enabled = chkLater.Checked;
|
||||
}
|
||||
|
||||
// C2017-030 new Admin Tools user interface
|
||||
private void sideNavItmCheck_Click(object sender, EventArgs e)
|
||||
{
|
||||
AdminToolType = E_AdminToolType.Check;
|
||||
lblAdmToolProgressType.Text = "Checking:";
|
||||
setupProgessSteps1();
|
||||
}
|
||||
|
||||
// C2017-030 new Admin Tools user interface
|
||||
private void sideNavItmRepair_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -1387,13 +1167,6 @@ namespace VEPROMS
|
||||
ResetTV(false);
|
||||
}
|
||||
|
||||
// C2017-030 new Admin Tools user interface
|
||||
private void sideNavItmUsers_Click(object sender, EventArgs e)
|
||||
{
|
||||
AdminToolType = E_AdminToolType.Users;
|
||||
setupProgessSteps1();
|
||||
}
|
||||
|
||||
// C2017-030 new Admin Tools user interface
|
||||
private void sideNavItmExit_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -1413,27 +1186,18 @@ namespace VEPROMS
|
||||
ResetDelTV(false);
|
||||
}
|
||||
|
||||
// new Admin Tools user interface for deletes
|
||||
//private void sideNavItmDelete_Click_1(object sender, EventArgs e)
|
||||
//{
|
||||
|
||||
//}
|
||||
|
||||
#region On/Off Swiches
|
||||
|
||||
// C2017-030 new Admin Tools user interface
|
||||
private enum E_AdminToolType : int
|
||||
{
|
||||
Check = 0,
|
||||
Repair = 1,
|
||||
Links = 2,
|
||||
Users = 3,
|
||||
Delete = 4
|
||||
};
|
||||
private E_AdminToolType AdminToolType = 0;
|
||||
|
||||
DevComponents.DotNetBar.StepItem siOrphDatRecs = new DevComponents.DotNetBar.StepItem("siOrphDatRecs", "Orphan Data Records");
|
||||
DevComponents.DotNetBar.StepItem siHiddenDataLocs = new DevComponents.DotNetBar.StepItem("siHiddenDataLocs", "Hidden Data");
|
||||
DevComponents.DotNetBar.StepItem siObsoleteROData = new DevComponents.DotNetBar.StepItem("siObsoleteROData", "Obsolete RO Data");
|
||||
DevComponents.DotNetBar.StepItem siStandardHyphens = new DevComponents.DotNetBar.StepItem("siStandardHyphens", "Standardize Hyphens");
|
||||
DevComponents.DotNetBar.StepItem siRefreshAttmts = new DevComponents.DotNetBar.StepItem("siRefreshAttmts", "Refresh Word Attachments");
|
||||
@@ -1446,18 +1210,6 @@ namespace VEPROMS
|
||||
|
||||
switch (AdminToolType)
|
||||
{
|
||||
case E_AdminToolType.Check:
|
||||
if (swCkOrphanDataRecs.Value)
|
||||
progressSteps1.Items.Add(siOrphDatRecs);
|
||||
if (swHiddenDataLocs.Value)
|
||||
progressSteps1.Items.Add(siHiddenDataLocs);
|
||||
if (swCkObsoleteROData.Value)
|
||||
progressSteps1.Items.Add(siObsoleteROData);
|
||||
splitContainer3.Panel2Collapsed = false;
|
||||
progressSteps1.Visible = true;
|
||||
progressSteps1.Refresh();
|
||||
break;
|
||||
|
||||
case E_AdminToolType.Repair:
|
||||
if (swRmOrphanDataRecs.Value)
|
||||
progressSteps1.Items.Add(siOrphDatRecs);
|
||||
@@ -1475,7 +1227,6 @@ namespace VEPROMS
|
||||
break;
|
||||
|
||||
case E_AdminToolType.Links:
|
||||
case E_AdminToolType.Users:
|
||||
splitContainer3.Panel2Collapsed = true;
|
||||
progressSteps1.Visible = false;
|
||||
break;
|
||||
@@ -1532,7 +1283,6 @@ namespace VEPROMS
|
||||
private void StepProgress(int prgStpIdx, int val)
|
||||
{
|
||||
((DevComponents.DotNetBar.StepItem)progressSteps1.Items[prgStpIdx]).Value = val;
|
||||
return;
|
||||
}
|
||||
|
||||
private void ClearStepProgress()
|
||||
@@ -1595,42 +1345,6 @@ namespace VEPROMS
|
||||
CheckROLinks(); // C2022-028 check for Bad RO Links
|
||||
}
|
||||
|
||||
private void btnRunCheck_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!CheckProcessLater()) return; // delay processing if set//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
|
||||
int prgStpIdx = -1;
|
||||
txtResults.Clear();
|
||||
txtProcess.Clear();
|
||||
|
||||
if (swCkOrphanDataRecs.Value)
|
||||
{
|
||||
StepProgress(++prgStpIdx, 50);
|
||||
IdentifyDisconnectedItems(); // orphan items
|
||||
StepProgress(prgStpIdx, 100);
|
||||
}
|
||||
|
||||
if (swHiddenDataLocs.Value)
|
||||
{
|
||||
StepProgress(++prgStpIdx, 50);
|
||||
IdentifyNonEditableItems(); // hidden items
|
||||
StepProgress(prgStpIdx, 100);
|
||||
}
|
||||
|
||||
if (swCkObsoleteROData.Value)
|
||||
{
|
||||
StepProgress(++prgStpIdx, 25);
|
||||
IdentifyROAssociations();
|
||||
StepProgress(prgStpIdx, 50);
|
||||
IdentifyUnusedRoFstsAndFigures();
|
||||
StepProgress(prgStpIdx, 100);
|
||||
}
|
||||
|
||||
MessageBox.Show("Check Functions Completed", "Check");
|
||||
|
||||
ClearStepProgress();
|
||||
}
|
||||
|
||||
private void btnRunRepair_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!CheckProcessLater()) return; // delay processing if set//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
@@ -1755,12 +1469,12 @@ namespace VEPROMS
|
||||
if (!MySessionInfo.CanCheckOutItem(dq.VersionID, CheckOutType.DocVersion, ref msg))
|
||||
{
|
||||
string msgp = string.Empty;
|
||||
foreach (ProcedureInfo pi in dq.Procedures)
|
||||
foreach (ProcedureInfo pi in dq.Procedures.OfType<ProcedureInfo>())
|
||||
{
|
||||
if (!MySessionInfo.CanCheckOutItem(pi.ItemID, CheckOutType.Procedure, ref msgp))
|
||||
{
|
||||
FolderInfo fi = (FolderInfo)dq.ActiveParent;
|
||||
int itemID = (int)fi.FolderID;
|
||||
int itemID = fi.FolderID;
|
||||
string folderName = fi.Name;
|
||||
|
||||
if (swDeleteFolder.Value)
|
||||
@@ -1853,7 +1567,7 @@ namespace VEPROMS
|
||||
{
|
||||
//Gather folder information
|
||||
FolderInfo fi = (FolderInfo)kvp.ActiveParent;
|
||||
int itemID = (int)fi.FolderID;
|
||||
int itemID = fi.FolderID;
|
||||
string folderName = fi.Name;
|
||||
|
||||
// Perform the deletion operation
|
||||
@@ -1877,8 +1591,8 @@ namespace VEPROMS
|
||||
foreach (var kvp in emptyFoldersToDelete)
|
||||
{
|
||||
//Gather folder information
|
||||
FolderInfo fi = (FolderInfo)kvp;
|
||||
int itemID = (int)fi.FolderID;
|
||||
FolderInfo fi = kvp;
|
||||
int itemID = fi.FolderID;
|
||||
string folderName = fi.Name;
|
||||
|
||||
// Perform the deletion operation
|
||||
@@ -1929,9 +1643,8 @@ namespace VEPROMS
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
string err = ex.ToString();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@@ -120,196 +120,6 @@
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="swDeleteFolder.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to remove folders and sub folders as well as their contents.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX13.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to remove folders and sub folders as well as their contents.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
|
||||
</value>
|
||||
</data>
|
||||
<data name="swDeleteAnnotations.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will allow the user to remove annotations from the selected working drafts.
|
||||
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one working draft is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="labelX14.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will allow the user to remove annotations from the selected working drafts.
|
||||
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one working draft is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="btnDeleteItems.SuperTooltip" xml:space="preserve">
|
||||
<value>This will allow for the deletion of groups of annotations and allow for deleting entire folders within PROMS. Use the tree nodes to select which items to delete.
|
||||
|
||||
Click on the on/off switches to turn on/off each tool.
|
||||
|
||||
Note that only one of these tools can be run at a time.</value>
|
||||
</data>
|
||||
<data name="swCheckROLinks.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to check referenced objects links in procedure step data for multiple working drafts in a batch mode.
|
||||
|
||||
Bad referenced bject links will be identified with an Bad RO Link annotation. Use the PROMS Search tool to list all of the steps that have this annotation.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX12.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to check referenced objects links in procedure step data for multiple working drafts in a batch mode.
|
||||
|
||||
Bad referenced bject links will be identified with an Bad RO Link annotation. Use the PROMS Search tool to list all of the steps that have this annotation.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
</value>
|
||||
</data>
|
||||
<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/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">
|
||||
<value>This allows the user to update referenced objects values for multiple working drafts in a batch mode.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swRefreshTrans.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will refresh transitions in all procedures selected below, whether they were selected individually or as a group via a procedure set.
|
||||
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one procedure is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="labelX11.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to update referenced objects values for multiple working drafts in a batch mode.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX6.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will refresh transitions in all procedures selected below, whether they were selected individually or as a group via a procedure set.
|
||||
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one procedure is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="warningBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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/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">
|
||||
<value>Referenced Objects databases are associated with a procedure set (such as Working Draft).
|
||||
|
||||
RO paths, ROFST versions, and the contents of RO figures are stored in the database when referenced. This tool will identify stored RO Paths, ROFST versions, and Figures that are no longer used.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swHiddenDataLocs.SuperTooltip" xml:space="preserve">
|
||||
<value>Typically, a section in PROMS only has sub-sections or steps. When and existing section is divided into sub-sections, the resulting main section might have both.
|
||||
|
||||
When this occurs, the step data in the main section can be marked as non-editable. The user can no longer get to these steps and they can become forgotten as PROMS will ignore these non-editable steps when the procedure is printed.
|
||||
|
||||
This tool will identify if the database has non-editable steps and provide a listing of these steps. The use can then go to these main sections, make them editable via the property page, and delete or move these steps.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX3.SuperTooltip" xml:space="preserve">
|
||||
<value>Referenced Objects databases are associated with a procedure set (such as Working Draft).
|
||||
|
||||
RO paths, ROFST versions, and the contents of RO figures are stored in the database when referenced. This tool will identify stored RO Paths, ROFST versions, and Figures that are no longer used.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX2.SuperTooltip" xml:space="preserve">
|
||||
<value>Typically, a section in PROMS only has sub-sections or steps. When and existing section is divided into sub-sections, the resulting main section might have both.
|
||||
|
||||
When this occurs, the step data in the main section can be marked as non-editable. The user can no longer get to these steps and they can become forgotten as PROMS will ignore these non-editable steps when the procedure is printed.
|
||||
|
||||
This tool will identify if the database has non-editable steps and provide a listing of these steps. The use can then go to these main sections, make them editable via the property page, and delete or move these steps.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swCkOrphanDataRecs.SuperTooltip" xml:space="preserve">
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool detects any orphaned items in the database.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX1.SuperTooltip" xml:space="preserve">
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool detects any orphaned items in the database.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swRefreshTblsForSrch.SuperTooltip" xml:space="preserve">
|
||||
<value>When Word attachments are modified and saved, PROMS will create a PDF of the attachment contents and save it in the database. When this is done, all the of the RO references are resolved as well as pagination of the attachment. This speeds up the overall printing of the procedure in that PROMS simply inserts the attachment contents.
|
||||
|
||||
@@ -322,6 +132,7 @@ This function will remove all of the saved attachment PDFS stored in the databas
|
||||
This function will remove all of the saved attachment PDFS stored in the database (not the PDFs of the entire procedure that you had previous printed). This will force PROMS to regenerate (and save) the word attachment PDFs the next time the procedure is printed.
|
||||
</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="warningBox4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAp5JREFUOE+F
|
||||
@@ -404,6 +215,130 @@ Should an item become orphaned (disconnected) from the rest of the data, it will
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool removes any orphaned items from the database.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swDeleteFolder.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to remove folders and sub folders as well as their contents.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX13.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to remove folders and sub folders as well as their contents.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
|
||||
</value>
|
||||
</data>
|
||||
<data name="swDeleteAnnotations.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will allow the user to remove annotations from the selected working drafts.
|
||||
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one working draft is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="labelX14.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will allow the user to remove annotations from the selected working drafts.
|
||||
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one working draft is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="btnDeleteItems.SuperTooltip" xml:space="preserve">
|
||||
<value>This will allow for the deletion of groups of annotations and allow for deleting entire folders within PROMS. Use the tree nodes to select which items to delete.
|
||||
|
||||
Click on the on/off switches to turn on/off each tool.
|
||||
|
||||
Note that only one of these tools can be run at a time.</value>
|
||||
</data>
|
||||
<data name="swCheckROLinks.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to check referenced objects links in procedure step data for multiple working drafts in a batch mode.
|
||||
|
||||
Bad referenced bject links will be identified with an Bad RO Link annotation. Use the PROMS Search tool to list all of the steps that have this annotation.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX12.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to check referenced objects links in procedure step data for multiple working drafts in a batch mode.
|
||||
|
||||
Bad referenced bject links will be identified with an Bad RO Link annotation. Use the PROMS Search tool to list all of the steps that have this annotation.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
</value>
|
||||
</data>
|
||||
<data name="warningBox5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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">
|
||||
<value>This allows the user to update referenced objects values for multiple working drafts in a batch mode.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swRefreshTrans.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will refresh transitions in all procedures selected below, whether they were selected individually or as a group via a procedure set.
|
||||
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one procedure is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="labelX11.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to update referenced objects values for multiple working drafts in a batch mode.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX6.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will refresh transitions in all procedures selected below, whether they were selected individually or as a group via a procedure set.
|
||||
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one procedure is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="warningBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
|
436
PROMS/VEPROMS User Interface/frmGenTools.cs
Normal file
436
PROMS/VEPROMS User Interface/frmGenTools.cs
Normal file
@@ -0,0 +1,436 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using System.IO;
|
||||
using Volian.Controls.Library;
|
||||
using DevComponents.DotNetBar;
|
||||
using JR.Utils.GUI.Forms;
|
||||
using System.Linq;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmGenTools : Form
|
||||
{
|
||||
private SessionInfo _MySessionInfo;
|
||||
public SessionInfo MySessionInfo
|
||||
{
|
||||
get { return _MySessionInfo; }
|
||||
set { _MySessionInfo = value; }
|
||||
}
|
||||
|
||||
public frmGenTools(SessionInfo sessionInfo, frmVEPROMS veProms)
|
||||
{
|
||||
InitializeComponent();
|
||||
_MySessionInfo = sessionInfo;
|
||||
|
||||
// When opening General tools Check tab will be default.
|
||||
this.sideNavItmCheck.Checked = true;
|
||||
|
||||
setupProgessSteps1(); // C2017-030 - new Tools user interface
|
||||
|
||||
}
|
||||
|
||||
private void frmGenTools_Load(object sender, EventArgs e)
|
||||
{
|
||||
IsClosing = false;//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
}
|
||||
private bool IsClosing = false;//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
private void frmGenTools_FormClosing(object sender, EventArgs e)
|
||||
{
|
||||
IsClosing = true;//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
}
|
||||
|
||||
// C2017-030 - new Tools user interface
|
||||
// tool renamed to Identify Orphan Items
|
||||
private void IdentifyDisconnectedItems()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Orphan Items");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCount = ESP_IdentifyDisconnectedItems.Execute("vesp_GetDisconnectedItemsCount");
|
||||
txtProcess.AppendText(string.Format("Orphan Items Count: {0}", rowCount));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (rowCount > 0)
|
||||
{
|
||||
txtResults.AppendText(string.Format("The database contains {0} Orphan items.", rowCount));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText("These can be removed via the Remove Orphan Data Records in the Repair tools");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
else
|
||||
{
|
||||
txtResults.AppendText("No Orphan Records Found");// B2017-108 Always output results even if there isn't any
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Tools user interface
|
||||
// is one of two tools run from Check Obsolete RO Data
|
||||
private void IdentifyUnusedRoFstsAndFigures()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Unused RoFsts and Figures");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCountRoFst = ESP_GetUnusedRoFsts.Execute("vesp_GetUnusedRoFstsCount");
|
||||
int rowCountFigures = ESP_GetUnusedFigures.Execute("vesp_GetUnusedFiguresCount");
|
||||
txtProcess.AppendText(string.Format("Unused RoFsts Count: {0}, Unused Figures Count: {1}", rowCountRoFst, rowCountFigures));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (rowCountRoFst > 0 || rowCountFigures > 0)
|
||||
{
|
||||
txtResults.AppendText(string.Format("The database contains {0} unused RoFsts.", rowCountRoFst));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(string.Format("The database contains {0} unused Figures items.", rowCountFigures));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
else
|
||||
{
|
||||
txtResults.AppendText("No Unused RoFsts or Figures Found"); // B2017-108 Always output results even if there isn't any
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Tools user interface
|
||||
// is one of two tools run from Check Obsolete RO Data
|
||||
private void IdentifyROAssociations()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Unused RO Associations");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCount = ESP_GetROAssoc.Execute("vesp_GetUnusedROAssociationsCount");
|
||||
txtProcess.AppendText(string.Format("Unused RO Associations Count: {0}", rowCount));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (rowCount > 0)
|
||||
{
|
||||
txtResults.AppendText(string.Format("The database contains {0} unused RO Associations.", rowCount));
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
else
|
||||
{
|
||||
txtResults.AppendText("No unused RO Associations Found");// B2017-108 Always output results even if there isn't any
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Tools user interface
|
||||
// tool was renamed to Hidden Data Locations (on Check list)
|
||||
private void IdentifyNonEditableItems()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Hidden Item Locations");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
List<ItemInfo> myItems = ESP_IdentifyNonEditableItems.Execute("vesp_GetNonEditableItems");
|
||||
txtProcess.AppendText(string.Format("Hidden Items Count: {0}", myItems.Count));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (myItems.Count > 0)
|
||||
{
|
||||
txtResults.AppendText("The following items are hidden (non-editable)...");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
foreach (ItemInfo ii in myItems)
|
||||
{
|
||||
txtResults.AppendText(ii.Path);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
else
|
||||
{
|
||||
txtResults.AppendText("No Hidden Data Found");// B2017-108 Always output results even if there isn't any
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
//C2025-011 RO Update 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);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// C2017-030 - new Tools user interface
|
||||
// tool was renamed to Show Users
|
||||
private void GetDatabaseSessions()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Show Users in PROMS");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
txtResults.Clear();
|
||||
txtResults.AppendText(ESP_GetDatabaseSessions.Execute("vesp_GetDatabaseSessions"));
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
MessageBox.Show("Show Users Completed", "Show Users");
|
||||
}
|
||||
|
||||
public List<string> roFstInfo_ROTableUpdate(object sender, ROFstInfoROTableUpdateEventArgs args)
|
||||
{
|
||||
return VlnFlexGrid.ROTableUpdate(sender, args);
|
||||
}
|
||||
|
||||
private void btnClear_Click(object sender, EventArgs e)
|
||||
{
|
||||
txtResults.Clear();
|
||||
}
|
||||
|
||||
private void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sfd = new SaveFileDialog();
|
||||
sfd.DefaultExt = "txt";
|
||||
sfd.AddExtension = true;
|
||||
sfd.Filter = "Text Files (*.txt)|*.txt";
|
||||
sfd.FileName = string.Format("BatchRefreshResults_{0}", DateTime.Now.ToString("yyyyMMdd_HHmm"));
|
||||
sfd.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\VEPROMS";
|
||||
DialogResult dr = sfd.ShowDialog();
|
||||
|
||||
if (dr == DialogResult.OK)
|
||||
{
|
||||
System.IO.StreamWriter sw = new System.IO.StreamWriter(sfd.FileName);
|
||||
sw.Write(txtResults.Text);
|
||||
sw.Close();
|
||||
}
|
||||
}
|
||||
|
||||
private ProgressBarItem _ProgressBar = null;
|
||||
|
||||
public ProgressBarItem ProgressBar
|
||||
{
|
||||
get { return _ProgressBar; }
|
||||
set
|
||||
{
|
||||
_ProgressBar = value;
|
||||
_ProgressBar.TextVisible = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void chkLater_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
pnlLater.Enabled = chkLater.Checked;
|
||||
}
|
||||
|
||||
// C2017-030 new Tools user interface
|
||||
private void sideNavItmCheck_Click(object sender, EventArgs e)
|
||||
{
|
||||
GenToolType = E_GenToolType.Check;
|
||||
lblAdmToolProgressType.Text = "Checking:";
|
||||
setupProgessSteps1();
|
||||
}
|
||||
|
||||
// C2017-030 new Tools user interface
|
||||
private void sideNavItmUsers_Click(object sender, EventArgs e)
|
||||
{
|
||||
GenToolType = E_GenToolType.Users;
|
||||
setupProgessSteps1();
|
||||
}
|
||||
|
||||
// C2017-030 new Tools user interface
|
||||
private void sideNavItmExit_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
#region On/Off Swiches
|
||||
|
||||
// C2017-030 new Tools user interface
|
||||
private enum E_GenToolType : int
|
||||
{
|
||||
Check = 0,
|
||||
Users = 3
|
||||
};
|
||||
private E_GenToolType GenToolType = 0;
|
||||
|
||||
DevComponents.DotNetBar.StepItem siOrphDatRecs = new DevComponents.DotNetBar.StepItem("siOrphDatRecs", "Orphan Data Records");
|
||||
DevComponents.DotNetBar.StepItem siHiddenDataLocs = new DevComponents.DotNetBar.StepItem("siHiddenDataLocs", "Hidden Data");
|
||||
DevComponents.DotNetBar.StepItem siObsoleteROData = new DevComponents.DotNetBar.StepItem("siObsoleteROData", "Obsolete RO Data");
|
||||
|
||||
// this will update/rebuild the progress bar in the bottom panel of Tools
|
||||
private void setupProgessSteps1()
|
||||
{
|
||||
progressSteps1.Visible = false;
|
||||
progressSteps1.Items.Clear();
|
||||
|
||||
switch (GenToolType)
|
||||
{
|
||||
case E_GenToolType.Check:
|
||||
if (swCkOrphanDataRecs.Value)
|
||||
progressSteps1.Items.Add(siOrphDatRecs);
|
||||
if (swHiddenDataLocs.Value)
|
||||
progressSteps1.Items.Add(siHiddenDataLocs);
|
||||
if (swCkObsoleteROData.Value)
|
||||
progressSteps1.Items.Add(siObsoleteROData);
|
||||
splitContainer3.Panel2Collapsed = false;
|
||||
progressSteps1.Visible = true;
|
||||
progressSteps1.Refresh();
|
||||
break;
|
||||
|
||||
case E_GenToolType.Users:
|
||||
splitContainer3.Panel2Collapsed = true;
|
||||
progressSteps1.Visible = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// used for all of the Switch buttons (ON/OFF buttons)
|
||||
private void swCk_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
setupProgessSteps1();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
// C2017-030 New Tools user interface
|
||||
// functions to handle the progress bar in the bottom panel of Tools
|
||||
private void StepProgress(int prgStpIdx, int val)
|
||||
{
|
||||
((DevComponents.DotNetBar.StepItem)progressSteps1.Items[prgStpIdx]).Value = val;
|
||||
}
|
||||
|
||||
private void ClearStepProgress()
|
||||
{
|
||||
for (int i = 0; i < progressSteps1.Items.Count; i++)
|
||||
{
|
||||
((DevComponents.DotNetBar.StepItem)progressSteps1.Items[i]).Value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// C2017-030 New Tools user interface
|
||||
// button clicks for processing selected tools
|
||||
//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
private bool CheckProcessLater() // see if we should delay processing until later
|
||||
{
|
||||
if (chkLater.Checked)
|
||||
{
|
||||
long later = long.Parse(dtpDate.Value.ToString("yyyyMMdd") + dtpTime.Value.ToString("HHmm"));
|
||||
long now = long.Parse(DateTime.Now.ToString("yyyyMMddHHmm"));
|
||||
|
||||
while (now < later)
|
||||
{
|
||||
txtProcess.Clear();
|
||||
txtProcess.AppendText("Waiting...");
|
||||
System.Threading.Thread.Sleep(1000);//Check each second
|
||||
if (IsClosing) return false;//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
Application.DoEvents();// Allow user interface to react
|
||||
now = long.Parse(DateTime.Now.ToString("yyyyMMddHHmm"));
|
||||
}
|
||||
}
|
||||
|
||||
return true;// Close after complete
|
||||
}
|
||||
|
||||
// C2017-030 new Tools user interface
|
||||
private void btn_ShowUsers_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!CheckProcessLater()) return; // delay processing if set//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
|
||||
txtProcess.Clear();
|
||||
txtResults.Clear();
|
||||
|
||||
GetDatabaseSessions();
|
||||
}
|
||||
|
||||
private void btnRunCheck_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!CheckProcessLater()) return; // delay processing if set//B2017-221 Allow the batch dialog to close when waiting to process.
|
||||
|
||||
int prgStpIdx = -1;
|
||||
txtResults.Clear();
|
||||
txtProcess.Clear();
|
||||
|
||||
if (swCkOrphanDataRecs.Value)
|
||||
{
|
||||
StepProgress(++prgStpIdx, 50);
|
||||
IdentifyDisconnectedItems(); // orphan items
|
||||
StepProgress(prgStpIdx, 100);
|
||||
}
|
||||
|
||||
if (swHiddenDataLocs.Value)
|
||||
{
|
||||
StepProgress(++prgStpIdx, 50);
|
||||
IdentifyNonEditableItems(); // hidden items
|
||||
StepProgress(prgStpIdx, 100);
|
||||
}
|
||||
|
||||
if (swCkObsoleteROData.Value)
|
||||
{
|
||||
StepProgress(++prgStpIdx, 25);
|
||||
IdentifyROAssociations();
|
||||
StepProgress(prgStpIdx, 50);
|
||||
IdentifyUnusedRoFstsAndFigures();
|
||||
StepProgress(prgStpIdx, 100);
|
||||
}
|
||||
|
||||
MessageBox.Show("Check Functions Completed", "Check");
|
||||
|
||||
ClearStepProgress();
|
||||
}
|
||||
|
||||
//C2025-011 RO Update 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
853
PROMS/VEPROMS User Interface/frmGenTools.designer.cs
generated
Normal file
853
PROMS/VEPROMS User Interface/frmGenTools.designer.cs
generated
Normal file
@@ -0,0 +1,853 @@
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class frmGenTools
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmGenTools));
|
||||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||||
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtResults = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btnSave = new System.Windows.Forms.Button();
|
||||
this.btnClear = new System.Windows.Forms.Button();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter();
|
||||
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtProcess = new System.Windows.Forms.TextBox();
|
||||
this.pbProcess = new System.Windows.Forms.ProgressBar();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.pnlLater = new System.Windows.Forms.Panel();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.dtpTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.dtpDate = new System.Windows.Forms.DateTimePicker();
|
||||
this.chkLater = new System.Windows.Forms.CheckBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.sideNav1 = new DevComponents.DotNetBar.Controls.SideNav();
|
||||
this.sideNavPanel1 = new DevComponents.DotNetBar.Controls.SideNavPanel();
|
||||
this.warningBox3 = new DevComponents.DotNetBar.Controls.WarningBox();
|
||||
this.labelX7 = new DevComponents.DotNetBar.LabelX();
|
||||
this.line1 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.swCkObsoleteROData = new DevComponents.DotNetBar.Controls.SwitchButton();
|
||||
this.swHiddenDataLocs = new DevComponents.DotNetBar.Controls.SwitchButton();
|
||||
this.labelX3 = new DevComponents.DotNetBar.LabelX();
|
||||
this.labelX2 = new DevComponents.DotNetBar.LabelX();
|
||||
this.swCkOrphanDataRecs = new DevComponents.DotNetBar.Controls.SwitchButton();
|
||||
this.labelX1 = new DevComponents.DotNetBar.LabelX();
|
||||
this.btnRunCheck = new DevComponents.DotNetBar.ButtonX();
|
||||
this.sideNavPanel5 = new DevComponents.DotNetBar.Controls.SideNavPanel();
|
||||
this.btn_ShowUsers = new DevComponents.DotNetBar.ButtonX();
|
||||
this.sideNavItem1 = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.separator1 = new DevComponents.DotNetBar.Separator();
|
||||
this.sideNavItmCheck = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.sideNavItmUsers = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.sideNavItmExit = new DevComponents.DotNetBar.Controls.SideNavItem();
|
||||
this.panelEx4 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.progressSteps1 = new DevComponents.DotNetBar.ProgressSteps();
|
||||
this.stepItem1 = new DevComponents.DotNetBar.StepItem();
|
||||
this.stepItem2 = new DevComponents.DotNetBar.StepItem();
|
||||
this.stepItem3 = new DevComponents.DotNetBar.StepItem();
|
||||
this.stepItem4 = new DevComponents.DotNetBar.StepItem();
|
||||
this.lblAdmToolProgressType = new DevComponents.DotNetBar.LabelX();
|
||||
this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
|
||||
this.splitContainer3.Panel1.SuspendLayout();
|
||||
this.splitContainer3.Panel2.SuspendLayout();
|
||||
this.splitContainer3.SuspendLayout();
|
||||
this.panelEx3.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panelEx2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.pnlLater.SuspendLayout();
|
||||
this.panelEx1.SuspendLayout();
|
||||
this.sideNav1.SuspendLayout();
|
||||
this.sideNavPanel1.SuspendLayout();
|
||||
this.sideNavPanel5.SuspendLayout();
|
||||
this.panelEx4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer3
|
||||
//
|
||||
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer3.Name = "splitContainer3";
|
||||
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer3.Panel1
|
||||
//
|
||||
this.splitContainer3.Panel1.Controls.Add(this.panelEx3);
|
||||
this.splitContainer3.Panel1.Controls.Add(this.expandableSplitter2);
|
||||
this.splitContainer3.Panel1.Controls.Add(this.panelEx2);
|
||||
this.splitContainer3.Panel1.Controls.Add(this.expandableSplitter1);
|
||||
this.splitContainer3.Panel1.Controls.Add(this.panelEx1);
|
||||
//
|
||||
// splitContainer3.Panel2
|
||||
//
|
||||
this.splitContainer3.Panel2.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.splitContainer3.Panel2.Controls.Add(this.panelEx4);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1177, 586);
|
||||
this.splitContainer3.SplitterDistance = 525;
|
||||
this.splitContainer3.TabIndex = 2;
|
||||
//
|
||||
// panelEx3
|
||||
//
|
||||
this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx3.Controls.Add(this.txtResults);
|
||||
this.panelEx3.Controls.Add(this.panel1);
|
||||
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(688, 0);
|
||||
this.panelEx3.Name = "panelEx3";
|
||||
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;
|
||||
this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelEx3.Style.GradientAngle = 90;
|
||||
this.panelEx3.TabIndex = 31;
|
||||
this.panelEx3.Text = "panelEx3";
|
||||
//
|
||||
// txtResults
|
||||
//
|
||||
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, 52);
|
||||
this.txtResults.Multiline = true;
|
||||
this.txtResults.Name = "txtResults";
|
||||
this.txtResults.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
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, 23);
|
||||
this.panel1.Name = "panel1";
|
||||
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(95, 0);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(95, 29);
|
||||
this.btnSave.TabIndex = 3;
|
||||
this.btnSave.Text = "Save Results";
|
||||
this.btnSave.UseVisualStyleBackColor = true;
|
||||
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.btnClear.Location = new System.Drawing.Point(0, 0);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(95, 29);
|
||||
this.btnClear.TabIndex = 2;
|
||||
this.btnClear.Text = "Clear Results";
|
||||
this.btnClear.UseVisualStyleBackColor = true;
|
||||
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
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.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(489, 23);
|
||||
this.label3.TabIndex = 2;
|
||||
this.label3.Text = "Results";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// expandableSplitter2
|
||||
//
|
||||
this.expandableSplitter2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
|
||||
this.expandableSplitter2.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter2.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.expandableSplitter2.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
|
||||
this.expandableSplitter2.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter2.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter2.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter2.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter2.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter2.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
|
||||
this.expandableSplitter2.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
|
||||
this.expandableSplitter2.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
|
||||
this.expandableSplitter2.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
|
||||
this.expandableSplitter2.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
|
||||
this.expandableSplitter2.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
|
||||
this.expandableSplitter2.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
|
||||
this.expandableSplitter2.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter2.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter2.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter2.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
|
||||
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(682, 0);
|
||||
this.expandableSplitter2.Name = "expandableSplitter2";
|
||||
this.expandableSplitter2.Size = new System.Drawing.Size(6, 525);
|
||||
this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
|
||||
this.expandableSplitter2.TabIndex = 38;
|
||||
this.expandableSplitter2.TabStop = false;
|
||||
//
|
||||
// panelEx2
|
||||
//
|
||||
this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx2.Controls.Add(this.txtProcess);
|
||||
this.panelEx2.Controls.Add(this.pbProcess);
|
||||
this.panelEx2.Controls.Add(this.label6);
|
||||
this.panelEx2.Controls.Add(this.panel3);
|
||||
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(391, 0);
|
||||
this.panelEx2.Name = "panelEx2";
|
||||
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;
|
||||
this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelEx2.Style.GradientAngle = 90;
|
||||
this.panelEx2.TabIndex = 22;
|
||||
this.panelEx2.Text = "panelEx2";
|
||||
//
|
||||
// txtProcess
|
||||
//
|
||||
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, 150);
|
||||
this.txtProcess.Multiline = true;
|
||||
this.txtProcess.Name = "txtProcess";
|
||||
this.txtProcess.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
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, 125);
|
||||
this.pbProcess.Name = "pbProcess";
|
||||
this.pbProcess.Size = new System.Drawing.Size(291, 25);
|
||||
this.pbProcess.TabIndex = 6;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
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, 102);
|
||||
this.label6.Name = "label6";
|
||||
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;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
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, 23);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Padding = new System.Windows.Forms.Padding(6);
|
||||
this.panel3.Size = new System.Drawing.Size(291, 79);
|
||||
this.panel3.TabIndex = 2;
|
||||
//
|
||||
// pnlLater
|
||||
//
|
||||
this.pnlLater.Controls.Add(this.label5);
|
||||
this.pnlLater.Controls.Add(this.dtpTime);
|
||||
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(6, 23);
|
||||
this.pnlLater.Name = "pnlLater";
|
||||
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(105, 15);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(18, 13);
|
||||
this.label5.TabIndex = 5;
|
||||
this.label5.Text = "@";
|
||||
//
|
||||
// dtpTime
|
||||
//
|
||||
this.dtpTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| 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(129, 9);
|
||||
this.dtpTime.Name = "dtpTime";
|
||||
this.dtpTime.ShowUpDown = true;
|
||||
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(9, 9);
|
||||
this.dtpDate.Name = "dtpDate";
|
||||
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(6, 6);
|
||||
this.chkLater.Name = "chkLater";
|
||||
this.chkLater.Size = new System.Drawing.Size(279, 17);
|
||||
this.chkLater.TabIndex = 4;
|
||||
this.chkLater.Text = "Process Later";
|
||||
this.chkLater.UseVisualStyleBackColor = true;
|
||||
this.chkLater.CheckedChanged += new System.EventHandler(this.chkLater_CheckedChanged);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
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.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(291, 23);
|
||||
this.label4.TabIndex = 3;
|
||||
this.label4.Text = "Process";
|
||||
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// expandableSplitter1
|
||||
//
|
||||
this.expandableSplitter1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
|
||||
this.expandableSplitter1.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter1.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.expandableSplitter1.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
|
||||
this.expandableSplitter1.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter1.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter1.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter1.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter1.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
|
||||
this.expandableSplitter1.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
|
||||
this.expandableSplitter1.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
|
||||
this.expandableSplitter1.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
|
||||
this.expandableSplitter1.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
|
||||
this.expandableSplitter1.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
|
||||
this.expandableSplitter1.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
|
||||
this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter1.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter1.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
|
||||
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(385, 0);
|
||||
this.expandableSplitter1.Name = "expandableSplitter1";
|
||||
this.expandableSplitter1.Size = new System.Drawing.Size(6, 525);
|
||||
this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
|
||||
this.expandableSplitter1.TabIndex = 4;
|
||||
this.expandableSplitter1.TabStop = false;
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx1.Controls.Add(this.sideNav1);
|
||||
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.Name = "panelEx1";
|
||||
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;
|
||||
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelEx1.Style.GradientAngle = 90;
|
||||
this.panelEx1.TabIndex = 0;
|
||||
this.panelEx1.Text = "panelEx1";
|
||||
//
|
||||
// sideNav1
|
||||
//
|
||||
this.sideNav1.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.sideNav1.Controls.Add(this.sideNavPanel1);
|
||||
this.sideNav1.Controls.Add(this.sideNavPanel5);
|
||||
this.sideNav1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNav1.EnableClose = false;
|
||||
this.sideNav1.EnableMaximize = false;
|
||||
this.sideNav1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.sideNavItem1,
|
||||
this.separator1,
|
||||
this.sideNavItmCheck,
|
||||
this.sideNavItmUsers,
|
||||
this.sideNavItmExit});
|
||||
this.sideNav1.Location = new System.Drawing.Point(0, 0);
|
||||
this.sideNav1.Name = "sideNav1";
|
||||
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";
|
||||
//
|
||||
// sideNavPanel1
|
||||
//
|
||||
this.sideNavPanel1.Controls.Add(this.warningBox3);
|
||||
this.sideNavPanel1.Controls.Add(this.labelX7);
|
||||
this.sideNavPanel1.Controls.Add(this.line1);
|
||||
this.sideNavPanel1.Controls.Add(this.swCkObsoleteROData);
|
||||
this.sideNavPanel1.Controls.Add(this.swHiddenDataLocs);
|
||||
this.sideNavPanel1.Controls.Add(this.labelX3);
|
||||
this.sideNavPanel1.Controls.Add(this.labelX2);
|
||||
this.sideNavPanel1.Controls.Add(this.swCkOrphanDataRecs);
|
||||
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(88, 31);
|
||||
this.sideNavPanel1.Name = "sideNavPanel1";
|
||||
this.sideNavPanel1.Size = new System.Drawing.Size(292, 493);
|
||||
this.sideNavPanel1.TabIndex = 2;
|
||||
//
|
||||
// warningBox3
|
||||
//
|
||||
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(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(264, 32);
|
||||
this.warningBox3.TabIndex = 29;
|
||||
this.warningBox3.Text = "<b>NOTE</b> These tools can take a long time to run";
|
||||
//
|
||||
// labelX7
|
||||
//
|
||||
this.labelX7.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(5, 3);
|
||||
this.labelX7.Name = "labelX7";
|
||||
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(8, 179);
|
||||
this.line1.Name = "line1";
|
||||
this.line1.Size = new System.Drawing.Size(285, 12);
|
||||
this.line1.TabIndex = 18;
|
||||
this.line1.Text = "line1";
|
||||
//
|
||||
// swCkObsoleteROData
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.swCkObsoleteROData.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swCkObsoleteROData.Location = new System.Drawing.Point(10, 99);
|
||||
this.swCkObsoleteROData.Name = "swCkObsoleteROData";
|
||||
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;
|
||||
this.swCkObsoleteROData.TabIndex = 14;
|
||||
this.swCkObsoleteROData.Value = true;
|
||||
this.swCkObsoleteROData.ValueObject = "Y";
|
||||
this.swCkObsoleteROData.ValueChanged += new System.EventHandler(this.swCk_ValueChanged);
|
||||
//
|
||||
// swHiddenDataLocs
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.swHiddenDataLocs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swHiddenDataLocs.Location = new System.Drawing.Point(10, 71);
|
||||
this.swHiddenDataLocs.Name = "swHiddenDataLocs";
|
||||
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;
|
||||
this.swHiddenDataLocs.TabIndex = 15;
|
||||
this.swHiddenDataLocs.Value = true;
|
||||
this.swHiddenDataLocs.ValueObject = "Y";
|
||||
this.swHiddenDataLocs.ValueChanged += new System.EventHandler(this.swCk_ValueChanged);
|
||||
//
|
||||
// labelX3
|
||||
//
|
||||
this.labelX3.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(107, 99);
|
||||
this.labelX3.Name = "labelX3";
|
||||
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";
|
||||
//
|
||||
// labelX2
|
||||
//
|
||||
this.labelX2.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(107, 71);
|
||||
this.labelX2.Name = "labelX2";
|
||||
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";
|
||||
//
|
||||
// swCkOrphanDataRecs
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.swCkOrphanDataRecs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.swCkOrphanDataRecs.Location = new System.Drawing.Point(10, 43);
|
||||
this.swCkOrphanDataRecs.Name = "swCkOrphanDataRecs";
|
||||
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;
|
||||
this.swCkOrphanDataRecs.TabIndex = 9;
|
||||
this.swCkOrphanDataRecs.Value = true;
|
||||
this.swCkOrphanDataRecs.ValueObject = "Y";
|
||||
this.swCkOrphanDataRecs.ValueChanged += new System.EventHandler(this.swCk_ValueChanged);
|
||||
//
|
||||
// labelX1
|
||||
//
|
||||
this.labelX1.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(107, 43);
|
||||
this.labelX1.Name = "labelX1";
|
||||
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";
|
||||
//
|
||||
// btnRunCheck
|
||||
//
|
||||
this.btnRunCheck.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
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(5, 150);
|
||||
this.btnRunCheck.Name = "btnRunCheck";
|
||||
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)));
|
||||
this.btnRunCheck.TabIndex = 7;
|
||||
this.btnRunCheck.Text = "Run Check";
|
||||
this.btnRunCheck.Click += new System.EventHandler(this.btnRunCheck_Click);
|
||||
//
|
||||
// sideNavPanel5
|
||||
//
|
||||
this.sideNavPanel5.Controls.Add(this.btn_ShowUsers);
|
||||
this.sideNavPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sideNavPanel5.Location = new System.Drawing.Point(88, 31);
|
||||
this.sideNavPanel5.Name = "sideNavPanel5";
|
||||
this.sideNavPanel5.Size = new System.Drawing.Size(292, 493);
|
||||
this.sideNavPanel5.TabIndex = 14;
|
||||
this.sideNavPanel5.Visible = false;
|
||||
//
|
||||
// btn_ShowUsers
|
||||
//
|
||||
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(57, 37);
|
||||
this.btn_ShowUsers.Name = "btn_ShowUsers";
|
||||
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)));
|
||||
this.btn_ShowUsers.TabIndex = 0;
|
||||
this.btn_ShowUsers.Text = "Show Users";
|
||||
this.btn_ShowUsers.Click += new System.EventHandler(this.btn_ShowUsers_Click);
|
||||
//
|
||||
// sideNavItem1
|
||||
//
|
||||
this.sideNavItem1.IsSystemMenu = true;
|
||||
this.sideNavItem1.Name = "sideNavItem1";
|
||||
this.sideNavItem1.Symbol = "";
|
||||
this.sideNavItem1.Text = "General\r\nTools";
|
||||
//
|
||||
// separator1
|
||||
//
|
||||
this.separator1.FixedSize = new System.Drawing.Size(3, 1);
|
||||
this.separator1.Name = "separator1";
|
||||
this.separator1.Padding.Bottom = 2;
|
||||
this.separator1.Padding.Left = 6;
|
||||
this.separator1.Padding.Right = 6;
|
||||
this.separator1.Padding.Top = 2;
|
||||
this.separator1.SeparatorOrientation = DevComponents.DotNetBar.eDesignMarkerOrientation.Vertical;
|
||||
//
|
||||
// sideNavItmCheck
|
||||
//
|
||||
this.sideNavItmCheck.Checked = true;
|
||||
this.sideNavItmCheck.Name = "sideNavItmCheck";
|
||||
this.sideNavItmCheck.Panel = this.sideNavPanel1;
|
||||
this.sideNavItmCheck.Symbol = "";
|
||||
this.sideNavItmCheck.Text = "Check";
|
||||
this.sideNavItmCheck.Click += new System.EventHandler(this.sideNavItmCheck_Click);
|
||||
//
|
||||
// sideNavItmUsers
|
||||
//
|
||||
this.sideNavItmUsers.Name = "sideNavItmUsers";
|
||||
this.sideNavItmUsers.Panel = this.sideNavPanel5;
|
||||
this.sideNavItmUsers.Symbol = "";
|
||||
this.sideNavItmUsers.Text = "Users";
|
||||
this.sideNavItmUsers.Click += new System.EventHandler(this.sideNavItmUsers_Click);
|
||||
//
|
||||
// sideNavItmExit
|
||||
//
|
||||
this.sideNavItmExit.Name = "sideNavItmExit";
|
||||
this.sideNavItmExit.Symbol = "";
|
||||
this.sideNavItmExit.Text = "Exit";
|
||||
this.sideNavItmExit.Click += new System.EventHandler(this.sideNavItmExit_Click);
|
||||
//
|
||||
// panelEx4
|
||||
//
|
||||
this.panelEx4.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx4.Controls.Add(this.progressSteps1);
|
||||
this.panelEx4.Controls.Add(this.lblAdmToolProgressType);
|
||||
this.panelEx4.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
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.Name = "panelEx4";
|
||||
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;
|
||||
this.panelEx4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelEx4.Style.GradientAngle = 90;
|
||||
this.panelEx4.TabIndex = 20;
|
||||
//
|
||||
// progressSteps1
|
||||
//
|
||||
this.progressSteps1.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.progressSteps1.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
this.progressSteps1.BackgroundStyle.Class = "ProgressSteps";
|
||||
this.progressSteps1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.progressSteps1.ContainerControlProcessDialogKey = true;
|
||||
this.progressSteps1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.progressSteps1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.stepItem1,
|
||||
this.stepItem2,
|
||||
this.stepItem3,
|
||||
this.stepItem4});
|
||||
this.progressSteps1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||
this.progressSteps1.Location = new System.Drawing.Point(123, 18);
|
||||
this.progressSteps1.Name = "progressSteps1";
|
||||
this.progressSteps1.Size = new System.Drawing.Size(1032, 26);
|
||||
this.progressSteps1.TabIndex = 18;
|
||||
//
|
||||
// stepItem1
|
||||
//
|
||||
this.stepItem1.Maximum = 10;
|
||||
this.stepItem1.Name = "stepItem1";
|
||||
this.stepItem1.SymbolSize = 13F;
|
||||
this.stepItem1.Text = "Discon";
|
||||
//
|
||||
// stepItem2
|
||||
//
|
||||
this.stepItem2.Maximum = 10;
|
||||
this.stepItem2.Name = "stepItem2";
|
||||
this.stepItem2.SymbolSize = 13F;
|
||||
this.stepItem2.Text = "Non-Edit";
|
||||
//
|
||||
// stepItem3
|
||||
//
|
||||
this.stepItem3.Maximum = 10;
|
||||
this.stepItem3.Name = "stepItem3";
|
||||
this.stepItem3.SymbolSize = 13F;
|
||||
this.stepItem3.Text = "RO Assoc";
|
||||
//
|
||||
// stepItem4
|
||||
//
|
||||
this.stepItem4.Maximum = 10;
|
||||
this.stepItem4.Name = "stepItem4";
|
||||
this.stepItem4.SymbolSize = 13F;
|
||||
this.stepItem4.Text = "FST+Figs";
|
||||
//
|
||||
// lblAdmToolProgressType
|
||||
//
|
||||
this.lblAdmToolProgressType.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
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(19, 10);
|
||||
this.lblAdmToolProgressType.Name = "lblAdmToolProgressType";
|
||||
this.lblAdmToolProgressType.Size = new System.Drawing.Size(98, 34);
|
||||
this.lblAdmToolProgressType.TabIndex = 19;
|
||||
this.lblAdmToolProgressType.Text = "Checking:";
|
||||
//
|
||||
// buttonItem1
|
||||
//
|
||||
this.buttonItem1.Name = "buttonItem1";
|
||||
this.buttonItem1.Text = "buttonItem1";
|
||||
//
|
||||
// superTooltip1
|
||||
//
|
||||
this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray);
|
||||
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||
//
|
||||
// frmGenTools
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1177, 586);
|
||||
this.Controls.Add(this.splitContainer3);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "frmGenTools";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "General Tools";
|
||||
this.Load += new System.EventHandler(this.frmGenTools_Load);
|
||||
this.splitContainer3.Panel1.ResumeLayout(false);
|
||||
this.splitContainer3.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
|
||||
this.splitContainer3.ResumeLayout(false);
|
||||
this.panelEx3.ResumeLayout(false);
|
||||
this.panelEx3.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panelEx2.ResumeLayout(false);
|
||||
this.panelEx2.PerformLayout();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.pnlLater.ResumeLayout(false);
|
||||
this.pnlLater.PerformLayout();
|
||||
this.panelEx1.ResumeLayout(false);
|
||||
this.sideNav1.ResumeLayout(false);
|
||||
this.sideNav1.PerformLayout();
|
||||
this.sideNavPanel1.ResumeLayout(false);
|
||||
this.sideNavPanel5.ResumeLayout(false);
|
||||
this.panelEx4.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.SplitContainer splitContainer3;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx3;
|
||||
private System.Windows.Forms.TextBox txtResults;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button btnSave;
|
||||
private System.Windows.Forms.Button btnClear;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx2;
|
||||
private System.Windows.Forms.TextBox txtProcess;
|
||||
private System.Windows.Forms.ProgressBar pbProcess;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Panel pnlLater;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.DateTimePicker dtpTime;
|
||||
private System.Windows.Forms.DateTimePicker dtpDate;
|
||||
private System.Windows.Forms.CheckBox chkLater;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private DevComponents.DotNetBar.Controls.SideNav sideNav1;
|
||||
private DevComponents.DotNetBar.Controls.SideNavPanel sideNavPanel1;
|
||||
private DevComponents.DotNetBar.LabelX labelX7;
|
||||
private DevComponents.DotNetBar.Controls.Line line1;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swCkObsoleteROData;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swHiddenDataLocs;
|
||||
private DevComponents.DotNetBar.LabelX labelX3;
|
||||
private DevComponents.DotNetBar.LabelX labelX2;
|
||||
private DevComponents.DotNetBar.Controls.SwitchButton swCkOrphanDataRecs;
|
||||
private DevComponents.DotNetBar.LabelX labelX1;
|
||||
private DevComponents.DotNetBar.ButtonX btnRunCheck;
|
||||
private DevComponents.DotNetBar.Controls.SideNavPanel sideNavPanel5;
|
||||
private DevComponents.DotNetBar.ButtonX btn_ShowUsers;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItem1;
|
||||
private DevComponents.DotNetBar.Separator separator1;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItmCheck;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItmUsers;
|
||||
private DevComponents.DotNetBar.Controls.SideNavItem sideNavItmExit;
|
||||
private DevComponents.DotNetBar.LabelX lblAdmToolProgressType;
|
||||
private DevComponents.DotNetBar.ProgressSteps progressSteps1;
|
||||
private DevComponents.DotNetBar.StepItem stepItem1;
|
||||
private DevComponents.DotNetBar.StepItem stepItem2;
|
||||
private DevComponents.DotNetBar.StepItem stepItem3;
|
||||
private DevComponents.DotNetBar.StepItem stepItem4;
|
||||
private DevComponents.DotNetBar.SuperTooltip superTooltip1;
|
||||
private DevComponents.DotNetBar.ExpandableSplitter expandableSplitter2;
|
||||
private DevComponents.DotNetBar.ExpandableSplitter expandableSplitter1;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx4;
|
||||
private DevComponents.DotNetBar.Controls.WarningBox warningBox3;
|
||||
private DevComponents.DotNetBar.ButtonItem buttonItem1;
|
||||
}
|
||||
}
|
||||
|
||||
|
192
PROMS/VEPROMS User Interface/frmGenTools.resx
Normal file
192
PROMS/VEPROMS User Interface/frmGenTools.resx
Normal file
@@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="warningBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="swCkObsoleteROData.SuperTooltip" xml:space="preserve">
|
||||
<value>Referenced Objects databases are associated with a procedure set (such as Working Draft).
|
||||
|
||||
RO paths, ROFST versions, and the contents of RO figures are stored in the database when referenced. This tool will identify stored RO Paths, ROFST versions, and Figures that are no longer used.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swHiddenDataLocs.SuperTooltip" xml:space="preserve">
|
||||
<value>Typically, a section in PROMS only has sub-sections or steps. When and existing section is divided into sub-sections, the resulting main section might have both.
|
||||
|
||||
When this occurs, the step data in the main section can be marked as non-editable. The user can no longer get to these steps and they can become forgotten as PROMS will ignore these non-editable steps when the procedure is printed.
|
||||
|
||||
This tool will identify if the database has non-editable steps and provide a listing of these steps. The use can then go to these main sections, make them editable via the property page, and delete or move these steps.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX3.SuperTooltip" xml:space="preserve">
|
||||
<value>Referenced Objects databases are associated with a procedure set (such as Working Draft).
|
||||
|
||||
RO paths, ROFST versions, and the contents of RO figures are stored in the database when referenced. This tool will identify stored RO Paths, ROFST versions, and Figures that are no longer used.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX2.SuperTooltip" xml:space="preserve">
|
||||
<value>Typically, a section in PROMS only has sub-sections or steps. When and existing section is divided into sub-sections, the resulting main section might have both.
|
||||
|
||||
When this occurs, the step data in the main section can be marked as non-editable. The user can no longer get to these steps and they can become forgotten as PROMS will ignore these non-editable steps when the procedure is printed.
|
||||
|
||||
This tool will identify if the database has non-editable steps and provide a listing of these steps. The use can then go to these main sections, make them editable via the property page, and delete or move these steps.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swCkOrphanDataRecs.SuperTooltip" xml:space="preserve">
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool detects any orphaned items in the database.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX1.SuperTooltip" xml:space="preserve">
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool detects any orphaned items in the database.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>46</value>
|
||||
</metadata>
|
||||
</root>
|
@@ -1245,6 +1245,7 @@ namespace VEPROMS
|
||||
|
||||
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi))
|
||||
{
|
||||
prnDlg.OverwritePDF = false; // turn off overwriting of PDFs B2025-041
|
||||
prnDlg.SelectedSlave = args.UnitIndex;
|
||||
prnDlg.MySessionInfo = MySessionInfo;
|
||||
prnDlg.SetupForProcedure(); // Setup filename
|
||||
@@ -1602,6 +1603,7 @@ namespace VEPROMS
|
||||
{
|
||||
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi))
|
||||
{
|
||||
prnDlg.OverwritePDF = false; // turn off overwriting of PDFs C2025-048.
|
||||
prnDlg.SelectedSlave = pi.ProcedureConfig.SelectedSlave == 0 ? -1 : pi.ProcedureConfig.SelectedSlave; //added by jcb 20130718 to support create pdf button when multi-unit and user selects a unit
|
||||
prnDlg.MySessionInfo = MySessionInfo;
|
||||
prnDlg.SetupForProcedure(); // Setup filename
|
||||
@@ -2011,6 +2013,7 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.ButtonItem btnUserControlOfFormats;
|
||||
private DevComponents.DotNetBar.ButtonItem btnUserControlOfFormatsExport;
|
||||
private DevComponents.DotNetBar.ButtonItem btnUserControlOfFormatsImport;
|
||||
private DevComponents.DotNetBar.ButtonItem btnGeneralTools;
|
||||
private TabItemsToClose _MyCloseTabList = new TabItemsToClose();
|
||||
|
||||
public TabItemsToClose MyCloseTabList
|
||||
@@ -2249,6 +2252,16 @@ namespace VEPROMS
|
||||
btnAdministrativeTools.Click += new EventHandler(btnAdministrativeTools_Click);
|
||||
btnAdmin.SubItems.Add(btnAdministrativeTools);
|
||||
|
||||
//general Tools
|
||||
btnGeneralTools = new ButtonItem("btnGeneralTools", "General Tools");
|
||||
btnGeneralTools.Visible = btnGeneralTools.Enabled = true;
|
||||
btnGeneralTools.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
btnGeneralTools.CanCustomize = false;
|
||||
btnGeneralTools.Image = global::VEPROMS.Properties.Resources.toolbox;
|
||||
btnGeneralTools.Click += new EventHandler(btnGeneralTools_Click);
|
||||
itemContainer3.SubItems.Add(btnGeneralTools);
|
||||
|
||||
|
||||
// C2025-031 added tool tip messages
|
||||
this.superTooltip1.SetSuperTooltip(btnManageSecurity, new SuperTooltipInfo("Manage Security", "", "Add, Modify, and Delete PROMS User Access", null, null, eTooltipColor.Gray));
|
||||
// remove commented out line below when User Control of Formats code is deleted
|
||||
@@ -2256,6 +2269,7 @@ namespace VEPROMS
|
||||
this.superTooltip1.SetSuperTooltip(btnResetSecurity, new SuperTooltipInfo("Reset Security", "", "WARNING this will \nREMOVE ALL PROMS USERS and Reset to the\nOriginal Volian Defaults", null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnAdministrativeTools, new SuperTooltipInfo("Administrative Tools", "", "Open the PROMS Adminstration Tools Window", null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnUpdateFormats, new SuperTooltipInfo("Update Formats", "", "Install New Formats \n or Re-Install Formats", null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnGeneralTools, new SuperTooltipInfo("General Tools", "", "Open the PROMS General Tools Window", null, null, eTooltipColor.Gray));
|
||||
|
||||
try
|
||||
{
|
||||
@@ -2952,6 +2966,13 @@ namespace VEPROMS
|
||||
frm.ShowDialog(this);
|
||||
}
|
||||
|
||||
void btnGeneralTools_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmGenTools frm = new frmGenTools(MySessionInfo, this);
|
||||
frm.ProgressBar = bottomProgBar;
|
||||
frm.ShowDialog(this);
|
||||
}
|
||||
|
||||
private static VolianTimer _TimeActivity1 = new VolianTimer("frmVEPROMS.cs tmrCloseTabItems_Tick", 2108);
|
||||
|
||||
void tmrCloseTabItems_Tick(object sender, EventArgs e)
|
||||
|
@@ -839,7 +839,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
using (SqlCommand cmd = cn.CreateCommand())
|
||||
{
|
||||
cmd.CommandTimeout = Database.DefaultTimeout;
|
||||
cmd.CommandTimeout = 0;
|
||||
cmd.CommandType = CommandType.StoredProcedure;
|
||||
cmd.CommandText = "vesp_RofstHeaderFinalizeLoad";
|
||||
|
||||
|
Reference in New Issue
Block a user